openapi: 3.0.3
info: { title: TIIX Perms API — Perms.Scanner, version: v1.0.0 }
servers: [ { url: /adm/api } ]
paths:
  /Perms.Scanner/enqueue:
    post:
      summary: Enfileira slug detectado
      responses:
        "200":
          description: OK
          content: { application/json: { schema: { $ref: '#/components/schemas/DefaultResponse' } } }
  /Perms.Scanner/list:
    post:
      summary: Lista fila do scanner
      responses:
        "200":
          description: OK
          content: { application/json: { schema: { $ref: '#/components/schemas/DefaultResponse' } } }
  /Perms.Scanner/mark:
    post:
      summary: Marca item do scanner
      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} }
