openapi: 3.0.3
info: { title: TIIX Perms API — Perms.Contracts, version: v1.0.0 }
servers: [ { url: /adm/api } ]
paths:
  /Perms.ContractsKits/list:
    post:
      summary: Lista kits do contrato
      responses:
        "200":
          description: OK
          content: { application/json: { schema: { $ref: '#/components/schemas/DefaultResponse' } } }
  /Perms.ContractsKits/attach:
    post:
      summary: Anexa kit ao contrato
      responses:
        "200":
          description: OK
          content: { application/json: { schema: { $ref: '#/components/schemas/DefaultResponse' } } }
  /Perms.ContractsKits/detach:
    post:
      summary: Remove kit do contrato
      responses:
        "200":
          description: OK
          content: { application/json: { schema: { $ref: '#/components/schemas/DefaultResponse' } } }
  /Perms.ContractOverrides/list:
    post:
      summary: Lista overrides do contrato
      responses:
        "200":
          description: OK
          content: { application/json: { schema: { $ref: '#/components/schemas/DefaultResponse' } } }
  /Perms.ContractOverrides/add:
    post:
      summary: Adiciona override do contrato
      responses:
        "200":
          description: OK
          content: { application/json: { schema: { $ref: '#/components/schemas/DefaultResponse' } } }
  /Perms.ContractOverrides/remove:
    post:
      summary: Remove override do contrato
      responses:
        "200":
          description: OK
          content: { application/json: { schema: { $ref: '#/components/schemas/DefaultResponse' } } }
components:
  schemas:
    DefaultResponse:
      type: object
      properties: { erro: {type: integer}, msg: {type: string}, data: {type: object}, id: {type: integer} }
