[qbasic] estrela12
Viewer
- var strVar="";
- strVar += "openapi: 3.0.0";
- strVar += "info:";
- strVar += " title: 'Api oAuth 2.0'";
- strVar += " description: 'Esta é a documentação base da sua API. Ela contém todas as informações necessárias para que você, sua equipe ou um desenvolvedor possam integrar o seu sistema com outros sistemas, sites, portais ou aplicativos móveis (iOS\/Android)'";
- strVar += " version: 2.0.1";
- strVar += "paths:";
- strVar += " \/api\/acolhidos:";
- strVar += " get:";
- strVar += " tags:";
- strVar += " - Acolhidos";
- strVar += " summary: Listar";
- strVar += " operationId: ff194c57e1b655119dc724f84712ccf2";
- strVar += " parameters:";
- strVar += " -";
- strVar += " name: Authorization";
- strVar += " in: header";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " description: 'Bearer token para autorização'";
- strVar += " type: string";
- strVar += " default: 'Bearer <token>'";
- strVar += " responses:";
- strVar += " '200':";
- strVar += " description: ''";
- strVar += " post:";
- strVar += " tags:";
- strVar += " - Acolhidos";
- strVar += " summary: Cadastrar";
- strVar += " operationId: 53f95b99918167c9fe5fd05412881db5";
- strVar += " parameters:";
- strVar += " -";
- strVar += " name: Authorization";
- strVar += " in: header";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " description: 'Bearer token para autorização'";
- strVar += " type: string";
- strVar += " default: 'Bearer <token>'";
- strVar += " requestBody:";
- strVar += " description: 'Input data format'";
- strVar += " content:";
- strVar += " multipart\/form-data:";
- strVar += " schema:";
- strVar += " properties:";
- strVar += " nome:";
- strVar += " description: Nome";
- strVar += " type: string";
- strVar += " contrato:";
- strVar += " description: Contrato";
- strVar += " type: string";
- strVar += " inico_do_contrato:";
- strVar += " description: 'Inico do Contrato'";
- strVar += " type: string";
- strVar += " vencimento_do_contrato:";
- strVar += " description: 'Vencimento do Contrato'";
- strVar += " type: string";
- strVar += " familiar:";
- strVar += " description: Familiar";
- strVar += " type: string";
- strVar += " numero_do_familiar:";
- strVar += " description: 'Numero do Familiar'";
- strVar += " type: string";
- strVar += " type: object";
- strVar += " responses:";
- strVar += " '201':";
- strVar += " description: ''";
- strVar += " '\/api\/acolhidos\/{id}':";
- strVar += " get:";
- strVar += " tags:";
- strVar += " - Acolhidos";
- strVar += " summary: Retornar";
- strVar += " operationId: 15199750a6c4feb431d2c5b5cc2bd215";
- strVar += " parameters:";
- strVar += " -";
- strVar += " name: Authorization";
- strVar += " in: header";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " description: 'Bearer token para autorização'";
- strVar += " type: string";
- strVar += " default: 'Bearer <token>'";
- strVar += " -";
- strVar += " name: id";
- strVar += " in: path";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " type: string";
- strVar += " responses:";
- strVar += " '200':";
- strVar += " description: ''";
- strVar += " put:";
- strVar += " tags:";
- strVar += " - Acolhidos";
- strVar += " summary: Atualizar";
- strVar += " operationId: 1d69b142266f387db99ca39bc495b933";
- strVar += " parameters:";
- strVar += " -";
- strVar += " name: Authorization";
- strVar += " in: header";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " description: 'Bearer token para autorização'";
- strVar += " type: string";
- strVar += " default: 'Bearer <token>'";
- strVar += " -";
- strVar += " name: id";
- strVar += " in: path";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " type: string";
- strVar += " requestBody:";
- strVar += " description: 'Input data format'";
- strVar += " content:";
- strVar += " multipart\/form-data:";
- strVar += " schema:";
- strVar += " properties:";
- strVar += " nome:";
- strVar += " description: Nome";
- strVar += " type: string";
- strVar += " contrato:";
- strVar += " description: Contrato";
- strVar += " type: string";
- strVar += " inico_do_contrato:";
- strVar += " description: 'Inico do Contrato'";
- strVar += " type: string";
- strVar += " vencimento_do_contrato:";
- strVar += " description: 'Vencimento do Contrato'";
- strVar += " type: string";
- strVar += " familiar:";
- strVar += " description: Familiar";
- strVar += " type: string";
- strVar += " numero_do_familiar:";
- strVar += " description: 'Numero do Familiar'";
- strVar += " type: string";
- strVar += " type: object";
- strVar += " responses:";
- strVar += " '201':";
- strVar += " description: ''";
- strVar += " delete:";
- strVar += " tags:";
- strVar += " - Acolhidos";
- strVar += " summary: Deletar";
- strVar += " operationId: 76c416cd6a562c999de79ed93e35bbd4";
- strVar += " parameters:";
- strVar += " -";
- strVar += " name: Authorization";
- strVar += " in: header";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " description: 'Bearer token para autorização'";
- strVar += " type: string";
- strVar += " default: 'Bearer <token>'";
- strVar += " -";
- strVar += " name: id";
- strVar += " in: path";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " type: string";
- strVar += " responses:";
- strVar += " '200':";
- strVar += " description: ''";
- strVar += " \/api\/auth\/login:";
- strVar += " post:";
- strVar += " tags:";
- strVar += " - Autenticação";
- strVar += " summary: 'Efetuar login'";
- strVar += " operationId: dd51a484b7fa0f97c7680fdbde14cf5f";
- strVar += " requestBody:";
- strVar += " description: 'Input data format'";
- strVar += " content:";
- strVar += " application\/json:";
- strVar += " schema:";
- strVar += " required:";
- strVar += " - username";
- strVar += " - password";
- strVar += " properties:";
- strVar += " username:";
- strVar += " description: 'Nome de usuário'";
- strVar += " type: string";
- strVar += " password:";
- strVar += " description: 'Senha do usuário'";
- strVar += " type: string";
- strVar += " type: object";
- strVar += " responses:";
- strVar += " '200':";
- strVar += " description: 'Login efetuado com sucesso'";
- strVar += " content:";
- strVar += " application\/json:";
- strVar += " schema:";
- strVar += " properties:";
- strVar += " access_token: { description: 'Access Token de autenticação', type: string }";
- strVar += " refresh_token: { description: 'Refresh Token de autenticação', type: string }";
- strVar += " expires_at: { description: 'Expiração do access_token', type: integer }";
- strVar += " id: { description: 'ID do usuário', type: integer }";
- strVar += " name: { description: 'Nome do usuário', type: string }";
- strVar += " username: { description: 'Login de acesso do usuário', type: string }";
- strVar += " email: { description: 'E-mail do usuário', type: string }";
- strVar += " image: { description: 'Imagem de perfil do usuário', type: string }";
- strVar += " created_at: { description: 'Data de criação do usuário', type: string }";
- strVar += " type: object";
- strVar += " \/api\/auth\/refresh\/token:";
- strVar += " post:";
- strVar += " tags:";
- strVar += " - Autenticação";
- strVar += " summary: 'Efetuar troca autenticação login'";
- strVar += " operationId: cafdbd0001a328d9de6de5e064d58bf4";
- strVar += " requestBody:";
- strVar += " description: 'Input data format'";
- strVar += " content:";
- strVar += " application\/json:";
- strVar += " schema:";
- strVar += " required:";
- strVar += " - refresh_token";
- strVar += " properties:";
- strVar += " refresh_token:";
- strVar += " description: 'Refresh Token recebido na Autenticação'";
- strVar += " type: string";
- strVar += " type: object";
- strVar += " responses:";
- strVar += " '200':";
- strVar += " description: 'Renovar token autenticação\/login'";
- strVar += " content:";
- strVar += " application\/json:";
- strVar += " schema:";
- strVar += " properties:";
- strVar += " access_token: { description: 'Access Token de autenticação', type: string }";
- strVar += " refresh_token: { description: 'Refresh Token de autenticação', type: string }";
- strVar += " expires_at: { description: 'Expiração do access_token', type: integer }";
- strVar += " id: { description: 'ID do usuário', type: integer }";
- strVar += " name: { description: 'Nome do usuário', type: string }";
- strVar += " username: { description: 'Login de acesso do usuário', type: string }";
- strVar += " email: { description: 'E-mail do usuário', type: string }";
- strVar += " image: { description: 'Imagem de perfil do usuário', type: string }";
- strVar += " created_at: { description: 'Data de criação do usuário', type: string }";
- strVar += " type: object";
- strVar += " \/api\/enfermaria:";
- strVar += " get:";
- strVar += " tags:";
- strVar += " - Enfermaria";
- strVar += " summary: Listar";
- strVar += " operationId: 681a55620886a4b79a275ba2aff6914c";
- strVar += " parameters:";
- strVar += " -";
- strVar += " name: Authorization";
- strVar += " in: header";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " description: 'Bearer token para autorização'";
- strVar += " type: string";
- strVar += " default: 'Bearer <token>'";
- strVar += " responses:";
- strVar += " '200':";
- strVar += " description: ''";
- strVar += " post:";
- strVar += " tags:";
- strVar += " - Enfermaria";
- strVar += " summary: Cadastrar";
- strVar += " operationId: a03408f2f46606020de903ce57109405";
- strVar += " parameters:";
- strVar += " -";
- strVar += " name: Authorization";
- strVar += " in: header";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " description: 'Bearer token para autorização'";
- strVar += " type: string";
- strVar += " default: 'Bearer <token>'";
- strVar += " requestBody:";
- strVar += " description: 'Input data format'";
- strVar += " content:";
- strVar += " multipart\/form-data:";
- strVar += " schema:";
- strVar += " properties:";
- strVar += " acolhido_nome:";
- strVar += " description: 'Acolhido Nome'";
- strVar += " type: string";
- strVar += " data_consulta:";
- strVar += " description: 'Data Consulta'";
- strVar += " type: string";
- strVar += " medicacao:";
- strVar += " description: Medicacao";
- strVar += " type: string";
- strVar += " laudo_e_ou_relatorio_medico:";
- strVar += " description: 'Laudo e\/ou Relatorio Medico'";
- strVar += " type: string";
- strVar += " type: object";
- strVar += " responses:";
- strVar += " '201':";
- strVar += " description: ''";
- strVar += " '\/api\/enfermaria\/{id}':";
- strVar += " get:";
- strVar += " tags:";
- strVar += " - Enfermaria";
- strVar += " summary: Retornar";
- strVar += " operationId: bcfc201e498ede9039d8d21b890773c8";
- strVar += " parameters:";
- strVar += " -";
- strVar += " name: Authorization";
- strVar += " in: header";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " description: 'Bearer token para autorização'";
- strVar += " type: string";
- strVar += " default: 'Bearer <token>'";
- strVar += " -";
- strVar += " name: id";
- strVar += " in: path";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " type: string";
- strVar += " responses:";
- strVar += " '200':";
- strVar += " description: ''";
- strVar += " put:";
- strVar += " tags:";
- strVar += " - Enfermaria";
- strVar += " summary: Atualizar";
- strVar += " operationId: 81867474ed267c6f08ba94dccb5ce111";
- strVar += " parameters:";
- strVar += " -";
- strVar += " name: Authorization";
- strVar += " in: header";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " description: 'Bearer token para autorização'";
- strVar += " type: string";
- strVar += " default: 'Bearer <token>'";
- strVar += " -";
- strVar += " name: id";
- strVar += " in: path";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " type: string";
- strVar += " requestBody:";
- strVar += " description: 'Input data format'";
- strVar += " content:";
- strVar += " multipart\/form-data:";
- strVar += " schema:";
- strVar += " properties:";
- strVar += " acolhido_nome:";
- strVar += " description: 'Acolhido Nome'";
- strVar += " type: string";
- strVar += " data_consulta:";
- strVar += " description: 'Data Consulta'";
- strVar += " type: string";
- strVar += " medicacao:";
- strVar += " description: Medicacao";
- strVar += " type: string";
- strVar += " laudo_e_ou_relatorio_medico:";
- strVar += " description: 'Laudo e\/ou Relatorio Medico'";
- strVar += " type: string";
- strVar += " type: object";
- strVar += " responses:";
- strVar += " '201':";
- strVar += " description: ''";
- strVar += " delete:";
- strVar += " tags:";
- strVar += " - Enfermaria";
- strVar += " summary: Deletar";
- strVar += " operationId: 83349087787870f77a11345b25a184d8";
- strVar += " parameters:";
- strVar += " -";
- strVar += " name: Authorization";
- strVar += " in: header";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " description: 'Bearer token para autorização'";
- strVar += " type: string";
- strVar += " default: 'Bearer <token>'";
- strVar += " -";
- strVar += " name: id";
- strVar += " in: path";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " type: string";
- strVar += " responses:";
- strVar += " '200':";
- strVar += " description: ''";
- strVar += " \/api\/mensalidades_a_receber:";
- strVar += " get:";
- strVar += " tags:";
- strVar += " - MensalidadesAReceber";
- strVar += " summary: Listar";
- strVar += " operationId: 87c78164acdf9408afb374959ca7fd8d";
- strVar += " parameters:";
- strVar += " -";
- strVar += " name: Authorization";
- strVar += " in: header";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " description: 'Bearer token para autorização'";
- strVar += " type: string";
- strVar += " default: 'Bearer <token>'";
- strVar += " responses:";
- strVar += " '200':";
- strVar += " description: ''";
- strVar += " post:";
- strVar += " tags:";
- strVar += " - MensalidadesAReceber";
- strVar += " summary: Cadastrar";
- strVar += " operationId: 42ab8410d8f9cc1cf0bd768473fadca9";
- strVar += " parameters:";
- strVar += " -";
- strVar += " name: Authorization";
- strVar += " in: header";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " description: 'Bearer token para autorização'";
- strVar += " type: string";
- strVar += " default: 'Bearer <token>'";
- strVar += " requestBody:";
- strVar += " description: 'Input data format'";
- strVar += " content:";
- strVar += " multipart\/form-data:";
- strVar += " schema:";
- strVar += " properties:";
- strVar += " acolhido_nome:";
- strVar += " description: 'Acolhido Nome'";
- strVar += " type: string";
- strVar += " valor_a_receber:";
- strVar += " description: 'Valor A Receber'";
- strVar += " type: string";
- strVar += " data_vencimento:";
- strVar += " description: 'Data Vencimento'";
- strVar += " type: string";
- strVar += " pagamento:";
- strVar += " description: Pagamento";
- strVar += " type: string";
- strVar += " type: object";
- strVar += " responses:";
- strVar += " '201':";
- strVar += " description: ''";
- strVar += " '\/api\/mensalidades_a_receber\/{id}':";
- strVar += " get:";
- strVar += " tags:";
- strVar += " - MensalidadesAReceber";
- strVar += " summary: Retornar";
- strVar += " operationId: 32eb1554daa9b2ac7a75837b8fe97f27";
- strVar += " parameters:";
- strVar += " -";
- strVar += " name: Authorization";
- strVar += " in: header";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " description: 'Bearer token para autorização'";
- strVar += " type: string";
- strVar += " default: 'Bearer <token>'";
- strVar += " -";
- strVar += " name: id";
- strVar += " in: path";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " type: string";
- strVar += " responses:";
- strVar += " '200':";
- strVar += " description: ''";
- strVar += " put:";
- strVar += " tags:";
- strVar += " - MensalidadesAReceber";
- strVar += " summary: Atualizar";
- strVar += " operationId: 022465a951d3555983702b694701d99e";
- strVar += " parameters:";
- strVar += " -";
- strVar += " name: Authorization";
- strVar += " in: header";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " description: 'Bearer token para autorização'";
- strVar += " type: string";
- strVar += " default: 'Bearer <token>'";
- strVar += " -";
- strVar += " name: id";
- strVar += " in: path";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " type: string";
- strVar += " requestBody:";
- strVar += " description: 'Input data format'";
- strVar += " content:";
- strVar += " multipart\/form-data:";
- strVar += " schema:";
- strVar += " properties:";
- strVar += " acolhido_nome:";
- strVar += " description: 'Acolhido Nome'";
- strVar += " type: string";
- strVar += " valor_a_receber:";
- strVar += " description: 'Valor A Receber'";
- strVar += " type: string";
- strVar += " data_vencimento:";
- strVar += " description: 'Data Vencimento'";
- strVar += " type: string";
- strVar += " pagamento:";
- strVar += " description: Pagamento";
- strVar += " type: string";
- strVar += " type: object";
- strVar += " responses:";
- strVar += " '201':";
- strVar += " description: ''";
- strVar += " delete:";
- strVar += " tags:";
- strVar += " - MensalidadesAReceber";
- strVar += " summary: Deletar";
- strVar += " operationId: e49287ba301c47efda58e99b2f9b5cfb";
- strVar += " parameters:";
- strVar += " -";
- strVar += " name: Authorization";
- strVar += " in: header";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " description: 'Bearer token para autorização'";
- strVar += " type: string";
- strVar += " default: 'Bearer <token>'";
- strVar += " -";
- strVar += " name: id";
- strVar += " in: path";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " type: string";
- strVar += " responses:";
- strVar += " '200':";
- strVar += " description: ''";
- strVar += " \/api\/mensalidades_recebidas:";
- strVar += " get:";
- strVar += " tags:";
- strVar += " - MensalidadesRecebidas";
- strVar += " summary: Listar";
- strVar += " operationId: b95e377dcaaf1c516eb11c35ef5a0922";
- strVar += " parameters:";
- strVar += " -";
- strVar += " name: Authorization";
- strVar += " in: header";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " description: 'Bearer token para autorização'";
- strVar += " type: string";
- strVar += " default: 'Bearer <token>'";
- strVar += " responses:";
- strVar += " '200':";
- strVar += " description: ''";
- strVar += " post:";
- strVar += " tags:";
- strVar += " - MensalidadesRecebidas";
- strVar += " summary: Cadastrar";
- strVar += " operationId: b20bb0d4aef59fd2c49b9c12815b50a9";
- strVar += " parameters:";
- strVar += " -";
- strVar += " name: Authorization";
- strVar += " in: header";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " description: 'Bearer token para autorização'";
- strVar += " type: string";
- strVar += " default: 'Bearer <token>'";
- strVar += " requestBody:";
- strVar += " description: 'Input data format'";
- strVar += " content:";
- strVar += " multipart\/form-data:";
- strVar += " schema:";
- strVar += " properties:";
- strVar += " acolhido_nome:";
- strVar += " description: 'Acolhido Nome'";
- strVar += " type: string";
- strVar += " valor_recebido:";
- strVar += " description: 'Valor Recebido'";
- strVar += " type: string";
- strVar += " data_pagamento:";
- strVar += " description: 'Data Pagamento'";
- strVar += " type: string";
- strVar += " type: object";
- strVar += " responses:";
- strVar += " '201':";
- strVar += " description: ''";
- strVar += " '\/api\/mensalidades_recebidas\/{id}':";
- strVar += " get:";
- strVar += " tags:";
- strVar += " - MensalidadesRecebidas";
- strVar += " summary: Retornar";
- strVar += " operationId: c3ae71d08cec39bae048d8f20cf64894";
- strVar += " parameters:";
- strVar += " -";
- strVar += " name: Authorization";
- strVar += " in: header";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " description: 'Bearer token para autorização'";
- strVar += " type: string";
- strVar += " default: 'Bearer <token>'";
- strVar += " -";
- strVar += " name: id";
- strVar += " in: path";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " type: string";
- strVar += " responses:";
- strVar += " '200':";
- strVar += " description: ''";
- strVar += " put:";
- strVar += " tags:";
- strVar += " - MensalidadesRecebidas";
- strVar += " summary: Atualizar";
- strVar += " operationId: e65e01f62fac9f6aa7ac942fb6614947";
- strVar += " parameters:";
- strVar += " -";
- strVar += " name: Authorization";
- strVar += " in: header";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " description: 'Bearer token para autorização'";
- strVar += " type: string";
- strVar += " default: 'Bearer <token>'";
- strVar += " -";
- strVar += " name: id";
- strVar += " in: path";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " type: string";
- strVar += " requestBody:";
- strVar += " description: 'Input data format'";
- strVar += " content:";
- strVar += " multipart\/form-data:";
- strVar += " schema:";
- strVar += " properties:";
- strVar += " acolhido_nome:";
- strVar += " description: 'Acolhido Nome'";
- strVar += " type: string";
- strVar += " valor_recebido:";
- strVar += " description: 'Valor Recebido'";
- strVar += " type: string";
- strVar += " data_pagamento:";
- strVar += " description: 'Data Pagamento'";
- strVar += " type: string";
- strVar += " type: object";
- strVar += " responses:";
- strVar += " '201':";
- strVar += " description: ''";
- strVar += " delete:";
- strVar += " tags:";
- strVar += " - MensalidadesRecebidas";
- strVar += " summary: Deletar";
- strVar += " operationId: 33ab8072dcd60168ed927722cc6fe524";
- strVar += " parameters:";
- strVar += " -";
- strVar += " name: Authorization";
- strVar += " in: header";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " description: 'Bearer token para autorização'";
- strVar += " type: string";
- strVar += " default: 'Bearer <token>'";
- strVar += " -";
- strVar += " name: id";
- strVar += " in: path";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " type: string";
- strVar += " responses:";
- strVar += " '200':";
- strVar += " description: ''";
- strVar += " '\/api\/permissions\/user\/{id}':";
- strVar += " get:";
- strVar += " tags:";
- strVar += " - 'Permissão de Acesso'";
- strVar += " summary: 'Listar permissões do usuário'";
- strVar += " operationId: a7b4ac3ed70b30eac404e92e4ebd0de6";
- strVar += " parameters:";
- strVar += " -";
- strVar += " name: id";
- strVar += " in: path";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " type: int";
- strVar += " -";
- strVar += " name: Authorization";
- strVar += " in: header";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " description: 'Bearer token para autorização'";
- strVar += " type: string";
- strVar += " default: 'Bearer <token>'";
- strVar += " responses:";
- strVar += " '200':";
- strVar += " description: ''";
- strVar += " put:";
- strVar += " tags:";
- strVar += " - 'Permissão de Acesso'";
- strVar += " summary: 'Alterar permissões do usuário'";
- strVar += " operationId: 76492792cd15ef30d726f656dc0321d5";
- strVar += " parameters:";
- strVar += " -";
- strVar += " name: id";
- strVar += " in: path";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " type: string";
- strVar += " -";
- strVar += " name: Authorization";
- strVar += " in: header";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " description: 'Bearer token para autorização'";
- strVar += " type: string";
- strVar += " default: 'Bearer <token>'";
- strVar += " requestBody:";
- strVar += " description: 'Input data format'";
- strVar += " required: true";
- strVar += " content:";
- strVar += " application\/json:";
- strVar += " schema:";
- strVar += " type: array";
- strVar += " items:";
- strVar += " properties:";
- strVar += " role: { description: 'Função\/Role do Controller', type: string }";
- strVar += " authorized: { description: 'Indica se está autorizado ou não', type: boolean }";
- strVar += " type: object";
- strVar += " responses:";
- strVar += " '200':";
- strVar += " description: ''";
- strVar += " '\/api\/permissions\/profile\/{profile_id}':";
- strVar += " get:";
- strVar += " tags:";
- strVar += " - 'Permissão de Acesso'";
- strVar += " summary: 'Listar permissões do perfil de acesso'";
- strVar += " operationId: bd37e166639f813824a5d73ac2001b10";
- strVar += " parameters:";
- strVar += " -";
- strVar += " name: profile_id";
- strVar += " in: path";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " type: int";
- strVar += " -";
- strVar += " name: Authorization";
- strVar += " in: header";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " description: 'Bearer token para autorização'";
- strVar += " type: string";
- strVar += " default: 'Bearer <token>'";
- strVar += " responses:";
- strVar += " '200':";
- strVar += " description: ''";
- strVar += " put:";
- strVar += " tags:";
- strVar += " - 'Permissão de Acesso'";
- strVar += " summary: 'Alterar permissões do perfil de acesso'";
- strVar += " operationId: bf7b1b37fb76ef1a2df4a6ccb854e493";
- strVar += " parameters:";
- strVar += " -";
- strVar += " name: profile_id";
- strVar += " in: path";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " type: int";
- strVar += " -";
- strVar += " name: Authorization";
- strVar += " in: header";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " description: 'Bearer token para autorização'";
- strVar += " type: string";
- strVar += " default: 'Bearer <token>'";
- strVar += " requestBody:";
- strVar += " description: 'Input data format'";
- strVar += " required: true";
- strVar += " content:";
- strVar += " application\/json:";
- strVar += " schema:";
- strVar += " type: array";
- strVar += " items:";
- strVar += " properties:";
- strVar += " role: { description: 'Função\/Role do Controller', type: string }";
- strVar += " authorized: { description: 'Indica se está autorizado ou não', type: boolean }";
- strVar += " type: object";
- strVar += " responses:";
- strVar += " '200':";
- strVar += " description: ''";
- strVar += " \/api\/profiles:";
- strVar += " get:";
- strVar += " tags:";
- strVar += " - Profiles";
- strVar += " summary: Listar";
- strVar += " operationId: 0661956572d2ded8ffabc9504a003e62";
- strVar += " parameters:";
- strVar += " -";
- strVar += " name: Authorization";
- strVar += " in: header";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " description: 'Bearer token para autorização'";
- strVar += " type: string";
- strVar += " default: 'Bearer <token>'";
- strVar += " responses:";
- strVar += " '200':";
- strVar += " description: ''";
- strVar += " post:";
- strVar += " tags:";
- strVar += " - Profiles";
- strVar += " summary: Cadastrar";
- strVar += " operationId: 80b51e1c202e47f1094377b0d91e6662";
- strVar += " parameters:";
- strVar += " -";
- strVar += " name: Authorization";
- strVar += " in: header";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " description: 'Bearer token para autorização'";
- strVar += " type: string";
- strVar += " default: 'Bearer <token>'";
- strVar += " requestBody:";
- strVar += " description: 'Input data format'";
- strVar += " content:";
- strVar += " multipart\/form-data:";
- strVar += " schema:";
- strVar += " required:";
- strVar += " - name";
- strVar += " properties:";
- strVar += " name:";
- strVar += " description: name";
- strVar += " type: string";
- strVar += " moderator:";
- strVar += " description: moderator";
- strVar += " type: integer";
- strVar += " administrator:";
- strVar += " description: administrator";
- strVar += " type: integer";
- strVar += " default:";
- strVar += " description: default";
- strVar += " type: integer";
- strVar += " r_auth:";
- strVar += " description: r_auth";
- strVar += " type: integer";
- strVar += " type: object";
- strVar += " responses:";
- strVar += " '201':";
- strVar += " description: ''";
- strVar += " '\/api\/profiles\/{id}':";
- strVar += " get:";
- strVar += " tags:";
- strVar += " - Profiles";
- strVar += " summary: Retornar";
- strVar += " operationId: aa47e07cf22b4b543fdce5efc0b06208";
- strVar += " parameters:";
- strVar += " -";
- strVar += " name: id";
- strVar += " in: path";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " type: int";
- strVar += " -";
- strVar += " name: Authorization";
- strVar += " in: header";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " description: 'Bearer token para autorização'";
- strVar += " type: string";
- strVar += " default: 'Bearer <token>'";
- strVar += " responses:";
- strVar += " '200':";
- strVar += " description: ''";
- strVar += " put:";
- strVar += " tags:";
- strVar += " - Profiles";
- strVar += " summary: Atualizar";
- strVar += " operationId: 370d3ec6d1d1b51b947b88611901645e";
- strVar += " parameters:";
- strVar += " -";
- strVar += " name: id";
- strVar += " in: path";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " type: int";
- strVar += " -";
- strVar += " name: Authorization";
- strVar += " in: header";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " description: 'Bearer token para autorização'";
- strVar += " type: string";
- strVar += " default: 'Bearer <token>'";
- strVar += " requestBody:";
- strVar += " description: 'Input data format'";
- strVar += " content:";
- strVar += " multipart\/form-data:";
- strVar += " schema:";
- strVar += " required:";
- strVar += " - name";
- strVar += " properties:";
- strVar += " name:";
- strVar += " description: name";
- strVar += " type: string";
- strVar += " moderator:";
- strVar += " description: moderator";
- strVar += " type: integer";
- strVar += " administrator:";
- strVar += " description: administrator";
- strVar += " type: integer";
- strVar += " default:";
- strVar += " description: default";
- strVar += " type: integer";
- strVar += " r_auth:";
- strVar += " description: r_auth";
- strVar += " type: integer";
- strVar += " type: object";
- strVar += " responses:";
- strVar += " '200':";
- strVar += " description: ''";
- strVar += " delete:";
- strVar += " tags:";
- strVar += " - Profiles";
- strVar += " summary: Deletar";
- strVar += " operationId: af1bb1dcc8606f391ef77b4f335ce37c";
- strVar += " parameters:";
- strVar += " -";
- strVar += " name: id";
- strVar += " in: path";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " type: int";
- strVar += " -";
- strVar += " name: Authorization";
- strVar += " in: header";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " description: 'Bearer token para autorização'";
- strVar += " type: string";
- strVar += " default: 'Bearer <token>'";
- strVar += " responses:";
- strVar += " '200':";
- strVar += " description: ''";
- strVar += " \/api\/profiles\/default:";
- strVar += " put:";
- strVar += " tags:";
- strVar += " - Profiles";
- strVar += " summary: 'Atualizar perfil de acesso padrão'";
- strVar += " operationId: d2c8a9b83128faa6fa11b50dceb6dd84";
- strVar += " parameters:";
- strVar += " -";
- strVar += " name: Authorization";
- strVar += " in: header";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " description: 'Bearer token para autorização'";
- strVar += " type: string";
- strVar += " default: 'Bearer <token>'";
- strVar += " requestBody:";
- strVar += " description: 'Input data format'";
- strVar += " content:";
- strVar += " application\/json:";
- strVar += " schema:";
- strVar += " required:";
- strVar += " - profile_id";
- strVar += " properties:";
- strVar += " profile_id:";
- strVar += " description: profile_id";
- strVar += " type: integer";
- strVar += " type: object";
- strVar += " responses:";
- strVar += " '200':";
- strVar += " description: ''";
- strVar += " \/api\/setup:";
- strVar += " get:";
- strVar += " tags:";
- strVar += " - Setup";
- strVar += " summary: 'Setup Inicial'";
- strVar += " operationId: ed8e18892bd00fb461033820ce9333a7";
- strVar += " responses:";
- strVar += " '200':";
- strVar += " description: 'Recebe informações do setup inicial antes da autenticação'";
- strVar += " content:";
- strVar += " application\/json:";
- strVar += " schema:";
- strVar += " properties:";
- strVar += " hash_id: { description: 'Hash ID do sistema\/projeto', type: string }";
- strVar += " name: { description: 'Nome do sistema', type: string }";
- strVar += " register: { description: 'Usuário pode se registrar', type: integer }";
- strVar += " preview: { description: 'Ambiente de homologação', type: integer }";
- strVar += " s3: { description: 'Código repositório s3', type: string }";
- strVar += " s3_url: { description: 'Url repositório s3', type: string }";
- strVar += " type: object";
- strVar += " \/api\/auth\/setup:";
- strVar += " get:";
- strVar += " tags:";
- strVar += " - Autenticação";
- strVar += " summary: 'Autenticação Setup'";
- strVar += " operationId: 2cd046b8a0b0341651589e58e3064b9f";
- strVar += " parameters:";
- strVar += " -";
- strVar += " name: Authorization";
- strVar += " in: header";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " description: 'Bearer token para autorização'";
- strVar += " type: string";
- strVar += " default: 'Bearer <token>'";
- strVar += " responses:";
- strVar += " '200':";
- strVar += " description: 'Recebe informações do setup e configurações essenciais pela autenticação do usuário disponibilizado.'";
- strVar += " content:";
- strVar += " application\/json:";
- strVar += " schema:";
- strVar += " properties:";
- strVar += " hash_id: { description: 'Hash ID do sistema\/projeto', type: string }";
- strVar += " name: { description: 'Nome do sistema', type: string }";
- strVar += " register: { description: 'Usuário pode se registrar', type: integer }";
- strVar += " preview: { description: 'Ambiente de homologação', type: integer }";
- strVar += " s3: { description: 'Código repositório s3', type: string }";
- strVar += " s3_url: { description: 'Url repositório s3', type: string }";
- strVar += " type: object";
- strVar += " \/api\/users:";
- strVar += " get:";
- strVar += " tags:";
- strVar += " - User";
- strVar += " summary: Listar";
- strVar += " operationId: c5ccc940808f87add4da9d1db1317605";
- strVar += " parameters:";
- strVar += " -";
- strVar += " name: Authorization";
- strVar += " in: header";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " description: 'Bearer token para autorização'";
- strVar += " type: string";
- strVar += " default: 'Bearer <token>'";
- strVar += " responses:";
- strVar += " '200':";
- strVar += " description: ''";
- strVar += " post:";
- strVar += " tags:";
- strVar += " - User";
- strVar += " summary: Cadastrar";
- strVar += " operationId: a59166badd097fa85d48322ac7dc8a43";
- strVar += " parameters:";
- strVar += " -";
- strVar += " name: Authorization";
- strVar += " in: header";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " description: 'Bearer token para autorização'";
- strVar += " type: string";
- strVar += " default: 'Bearer <token>'";
- strVar += " requestBody:";
- strVar += " description: 'Input data format'";
- strVar += " content:";
- strVar += " multipart\/form-data:";
- strVar += " schema:";
- strVar += " required:";
- strVar += " - name";
- strVar += " - username";
- strVar += " - email";
- strVar += " - password";
- strVar += " properties:";
- strVar += " name:";
- strVar += " description: name";
- strVar += " type: string";
- strVar += " username:";
- strVar += " description: username";
- strVar += " type: string";
- strVar += " password:";
- strVar += " description: password";
- strVar += " type: string";
- strVar += " profile_id:";
- strVar += " description: profile_id";
- strVar += " type: integer";
- strVar += " profession:";
- strVar += " description: profession";
- strVar += " type: string";
- strVar += " email:";
- strVar += " description: email";
- strVar += " type: string";
- strVar += " image:";
- strVar += " description: image";
- strVar += " type: binary";
- strVar += " r_auth:";
- strVar += " description: r_auth";
- strVar += " type: integer";
- strVar += " type: object";
- strVar += " responses:";
- strVar += " '201':";
- strVar += " description: ''";
- strVar += " '\/api\/users\/{id}':";
- strVar += " get:";
- strVar += " tags:";
- strVar += " - User";
- strVar += " summary: Retornar";
- strVar += " operationId: a26abdbceb32bec895ecd216c1681df2";
- strVar += " parameters:";
- strVar += " -";
- strVar += " name: id";
- strVar += " in: path";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " type: int";
- strVar += " -";
- strVar += " name: Authorization";
- strVar += " in: header";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " description: 'Bearer token para autorização'";
- strVar += " type: string";
- strVar += " default: 'Bearer <token>'";
- strVar += " responses:";
- strVar += " '200':";
- strVar += " description: ''";
- strVar += " put:";
- strVar += " tags:";
- strVar += " - User";
- strVar += " summary: Atualizar";
- strVar += " operationId: 1298c460f3a4f4b7e53cc83056f2e006";
- strVar += " parameters:";
- strVar += " -";
- strVar += " name: id";
- strVar += " in: path";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " type: int";
- strVar += " -";
- strVar += " name: Authorization";
- strVar += " in: header";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " description: 'Bearer token para autorização'";
- strVar += " type: string";
- strVar += " default: 'Bearer <token>'";
- strVar += " requestBody:";
- strVar += " description: 'Input data format'";
- strVar += " content:";
- strVar += " multipart\/form-data:";
- strVar += " schema:";
- strVar += " required:";
- strVar += " - name";
- strVar += " - username";
- strVar += " - email";
- strVar += " - password";
- strVar += " properties:";
- strVar += " name:";
- strVar += " description: name";
- strVar += " type: string";
- strVar += " username:";
- strVar += " description: username";
- strVar += " type: string";
- strVar += " password:";
- strVar += " description: password";
- strVar += " type: string";
- strVar += " profile_id:";
- strVar += " description: profile_id";
- strVar += " type: integer";
- strVar += " profession:";
- strVar += " description: profession";
- strVar += " type: string";
- strVar += " email:";
- strVar += " description: email";
- strVar += " type: string";
- strVar += " image:";
- strVar += " description: image";
- strVar += " type: binary";
- strVar += " r_auth:";
- strVar += " description: r_auth";
- strVar += " type: integer";
- strVar += " type: object";
- strVar += " responses:";
- strVar += " '200':";
- strVar += " description: ''";
- strVar += " delete:";
- strVar += " tags:";
- strVar += " - User";
- strVar += " summary: Deletar";
- strVar += " operationId: 4b6978b0d2b12cbeb8f9bf49ba28e84a";
- strVar += " parameters:";
- strVar += " -";
- strVar += " name: id";
- strVar += " in: path";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " type: int";
- strVar += " -";
- strVar += " name: Authorization";
- strVar += " in: header";
- strVar += " required: true";
- strVar += " schema:";
- strVar += " description: 'Bearer token para autorização'";
- strVar += " type: string";
- strVar += " default: 'Bearer <token>'";
- strVar += " responses:";
- strVar += " '200':";
- strVar += " description: ''";
- strVar += " \/api\/users\/password\/recovery:";
- strVar += " post:";
- strVar += " tags:";
- strVar += " - User";
- strVar += " summary: 'Recuperar acesso com e-mail'";
- strVar += " operationId: 790f21922eee435f3313813750eea8d9";
- strVar += " requestBody:";
- strVar += " description: 'Input data format'";
- strVar += " content:";
- strVar += " application\/json:";
- strVar += " schema:";
- strVar += " required:";
- strVar += " - email";
- strVar += " properties:";
- strVar += " email:";
- strVar += " description: email";
- strVar += " type: string";
- strVar += " type: object";
- strVar += " responses:";
- strVar += " '200':";
- strVar += " description: ''";
- strVar += " \/api\/users\/password\/reset:";
- strVar += " post:";
- strVar += " tags:";
- strVar += " - User";
- strVar += " summary: 'Alterar senha de acesso'";
- strVar += " operationId: 9f3be46deff0091fde82c24fd67af1de";
- strVar += " requestBody:";
- strVar += " description: 'Input data format'";
- strVar += " content:";
- strVar += " application\/json:";
- strVar += " schema:";
- strVar += " required:";
- strVar += " - token";
- strVar += " - email";
- strVar += " - password";
- strVar += " - password_confirmation";
- strVar += " properties:";
- strVar += " token:";
- strVar += " description: token";
- strVar += " type: string";
- strVar += " email:";
- strVar += " description: email";
- strVar += " type: string";
- strVar += " password:";
- strVar += " description: password";
- strVar += " type: string";
- strVar += " password_confirmation:";
- strVar += " description: password_confirmation";
- strVar += " type: string";
- strVar += " type: object";
- strVar += " responses:";
- strVar += " '200':";
- strVar += " description: ''";
Editor
You can edit this paste and save as new: