From 13ffc16b6343b2100d57d1297763f6c85d0c5b58 Mon Sep 17 00:00:00 2001 From: TTalkIntegracoes Date: Fri, 11 Jun 2021 18:36:21 +0000 Subject: [PATCH] TRAVISCI - Renaming all references to branch 'master'. TravisBuildNumber: 9394 --- .../SpecializedMedicalReportItems_v1_000.json | 656 +++++++++--------- .../apis/SpecializedMedicalReport_v1_000.json | 656 +++++++++--------- 2 files changed, 656 insertions(+), 656 deletions(-) diff --git a/jsonschema/apis/SpecializedMedicalReportItems_v1_000.json b/jsonschema/apis/SpecializedMedicalReportItems_v1_000.json index fb3df4573..1a80c0181 100644 --- a/jsonschema/apis/SpecializedMedicalReportItems_v1_000.json +++ b/jsonschema/apis/SpecializedMedicalReportItems_v1_000.json @@ -1,329 +1,329 @@ { - "openapi": "3.0.1", - "servers": [ - { - "description": "API de Itens da LME - Laudo de Medicamentos Especializados", - "url": "{{host}}/api/hcg/v2", - "variables": { - "serverUrl": { - "default": "localhost" - }, - "serverHttpPort": { - "default": "8051" - } - } - } - ], - "info": { - "description": "API de Itens da LME - Laudo de Medicamentos Especializados", - "version": "1.000", - "title": "Itens da LME - Laudo de Medicamentos Especializados", - "contact": { - "name": "T-Talk", - "url": "api.totvs.com.br", - "email": "comiteintegracao@totvs.com.br" - }, - "x-totvs": { - "messageDocumentation": { - "name": "specialized-medical-report-items", - "description": "Itens da LME - Laudo de Medicamentos Especializados", - "segment": "Saúde" - }, - "productInformation": [ - { - "product": "RM", - "contact": "", - "description": "Itens da LME - Laudo de Medicamentos Especializados", - "adapter": "", - "helpUrl": "" - } - ] - } - }, - "paths": { - "/specialized-medical-report-items": { - "get": { - "tags": [ - "specialized-medical-report-items" - ], - "summary": "Listagem de registros", - "description": "Retorna uma lista de registros", - "operationId": "GetAll", - "x-totvs": { - "productInformation": [ - { - "product": "RM", - "available": true, - "note": "Este verbo está disponível com todos os parâmetros", - "minimalVersion": "12.1.33" - } - ] - }, - "parameters": [ - { - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/parameters/Authorization" - }, - { - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/parameters/Order" - }, - { - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/parameters/Page" - }, - { - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/parameters/PageSize" - }, - { - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/parameters/Fields" - } - ], - "responses": { - "200": { - "description": "Registros recuperados com sucesso", - "content": { - "application/json": { - "schema": { - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/SpecializedMedicalReport/v1/1_000/jsonschema/schemas/SpecializedMedicalReportItems_1_000.json#/definitions/Pagedspecialized-medical-report-items" - } - } - } - }, - "404": { - "description": "Erro no momento da recuperação dos registros.", - "content": { - "application/json": { - "schema": { - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/definitions/ErrorModel" - } - } - } - } - } - }, - "post": { - "tags": [ - "specialized-medical-report-items" - ], - "summary": "Insere um registro", - "description": "Insere um registro", - "operationId": "Post", - "x-totvs": { - "productInformation": [ - { - "product": "RM", - "available": true, - "note": "Este verbo esta disponivel com todos parametros", - "minimalVersion": "12.1.33" - } - ] - }, - "parameters": [ - { - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/parameters/Authorization" - } - ], - "requestBody": { - "description": "Objeto para inserir um registro", - "content": { - "application/json": { - "schema": { - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/SpecializedMedicalReport/v1/1_000/jsonschema/schemas/SpecializedMedicalReportItems_1_000.json#/definitions/specialized-medical-report-items" - } - } - } - }, - "responses": { - "200": { - "description": "Registro inserido com sucesso", - "content": { - "application/json": { - "schema": { - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/SpecializedMedicalReport/v1/1_000/jsonschema/schemas/SpecializedMedicalReportItems_1_000.json#/definitions/specialized-medical-report-items" - } - } - } - }, - "400": { - "description": "Erro no momento da alteração", - "content": { - "application/json": { - "schema": { - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/definitions/ErrorModel" - } - } - } - } - } - } - }, - "/specialized-medical-report-items/{code}": { - "get": { - "tags": [ - "specialized-medical-report-items" - ], - "summary": "Recupera um registro", - "description": "Recupera um registro", - "operationId": "GetOne", - "x-totvs": { - "productInformation": [ - { - "product": "RM", - "available": true, - "note": "Este verbo está disponível com todos os parâmetros.", - "minimalVersion": "12.1.33" - } - ] - }, - "parameters": [ - { - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/parameters/Authorization" - }, - { - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/parameters/Expand" - }, - { - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/parameters/Fields" - }, - { - "$ref": "#/components/parameters/code" - } - ], - "responses": { - "200": { - "description": "Registro recuperado com sucesso", - "content": { - "application/json": { - "schema": { - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/SpecializedMedicalReport/v1/1_000/jsonschema/schemas/SpecializedMedicalReportItems_1_000.json#/definitions/specialized-medical-report-items" - } - } - } - }, - "404": { - "description": "Erro no momento da recuperação do registro.", - "content": { - "application/json": { - "schema": { - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/definitions/ErrorModel" - } - } - } - } - } - }, - "put": { - "tags": [ - "specialized-medical-report-items" - ], - "summary": "Atualiza um registro", - "description": "Atualiza um registro", - "operationId": "Put", - "x-totvs": { - "productInformation": [ - { - "product": "RM", - "available": true, - "note": "Este verbo esta disponivel com todos parametros", - "minimalVersion": "12.1.33" - } - ] - }, - "parameters": [ - { - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/parameters/Authorization" - }, - { - "$ref": "#/components/parameters/code", - "required": "true" - } - ], - "requestBody": { - "description": "Objeto para atualizar registro", - "content": { - "application/json": { - "schema": { - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/SpecializedMedicalReport/v1/1_000/jsonschema/schemas/SpecializedMedicalReportItems_1_000.json#/definitions/specialized-medical-report-items" - } - } - } - }, - "responses": { - "200": { - "description": "Registro atualizado com sucesso", - "content": { - "application/json": { - "schema": { - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/SpecializedMedicalReport/v1/1_000/jsonschema/schemas/SpecializedMedicalReportItems_1_000.json#/definitions/specialized-medical-report-items" - } - } - } - }, - "400": { - "description": "Erro no momento da alteração", - "content": { - "application/json": { - "schema": { - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/definitions/ErrorModel" - } - } - } - } - } - }, - "delete": { - "tags": [ - "specialized-medical-report-items" - ], - "summary": "Exclui um registro", - "x-totvs": { - "productInformation": [ - { - "product": "RM", - "available": true, - "note": "Este verbo esta disponivel com todos parametros", - "minimalVersion": "12.1.33" - } - ] - }, - "description": "Exclui um registro", - "operationId": "Delete", - "parameters": [ - { - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/parameters/Authorization" - }, - { - "$ref": "#/components/parameters/code" - } - ], - "responses": { - "200": { - "description": "Registro excluído com sucesso" - }, - "400": { - "description": "Erro no momento da exclusão do registro.", - "content": { - "application/json": { - "schema": { - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/definitions/ErrorModel" - } - } - } - } - } - } - } - }, - "components": { - "parameters": { - "code": { - "name": "code", - "in": "path", - "description": "Código da Coligada, Id da LME", - "required": true, - "schema": { - "type": "string" - } - } - }, - "schemas": {} - } -} + "openapi": "3.0.1", + "servers": [ + { + "description": "API de Itens da LME - Laudo de Medicamentos Especializados", + "url": "{{host}}/api/hcg/v2", + "variables": { + "serverUrl": { + "default": "localhost" + }, + "serverHttpPort": { + "default": "8051" + } + } + } + ], + "info": { + "description": "API de Itens da LME - Laudo de Medicamentos Especializados", + "version": "1.000", + "title": "Itens da LME - Laudo de Medicamentos Especializados", + "contact": { + "name": "T-Talk", + "url": "api.totvs.com.br", + "email": "comiteintegracao@totvs.com.br" + }, + "x-totvs": { + "messageDocumentation": { + "name": "specialized-medical-report-items", + "description": "Itens da LME - Laudo de Medicamentos Especializados", + "segment": "Saúde" + }, + "productInformation": [ + { + "product": "RM", + "contact": "", + "description": "Itens da LME - Laudo de Medicamentos Especializados", + "adapter": "", + "helpUrl": "" + } + ] + } + }, + "paths": { + "/specialized-medical-report-items": { + "get": { + "tags": [ + "specialized-medical-report-items" + ], + "summary": "Listagem de registros", + "description": "Retorna uma lista de registros", + "operationId": "GetAll", + "x-totvs": { + "productInformation": [ + { + "product": "RM", + "available": true, + "note": "Este verbo está disponível com todos os parâmetros", + "minimalVersion": "12.1.33" + } + ] + }, + "parameters": [ + { + "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/parameters/Authorization" + }, + { + "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/parameters/Order" + }, + { + "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/parameters/Page" + }, + { + "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/parameters/PageSize" + }, + { + "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/parameters/Fields" + } + ], + "responses": { + "200": { + "description": "Registros recuperados com sucesso", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/schemas/SpecializedMedicalReportItems_1_000.json#/definitions/Pagedspecialized-medical-report-items" + } + } + } + }, + "404": { + "description": "Erro no momento da recuperação dos registros.", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/definitions/ErrorModel" + } + } + } + } + } + }, + "post": { + "tags": [ + "specialized-medical-report-items" + ], + "summary": "Insere um registro", + "description": "Insere um registro", + "operationId": "Post", + "x-totvs": { + "productInformation": [ + { + "product": "RM", + "available": true, + "note": "Este verbo esta disponivel com todos parametros", + "minimalVersion": "12.1.33" + } + ] + }, + "parameters": [ + { + "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/parameters/Authorization" + } + ], + "requestBody": { + "description": "Objeto para inserir um registro", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/schemas/SpecializedMedicalReportItems_1_000.json#/definitions/specialized-medical-report-items" + } + } + } + }, + "responses": { + "200": { + "description": "Registro inserido com sucesso", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/schemas/SpecializedMedicalReportItems_1_000.json#/definitions/specialized-medical-report-items" + } + } + } + }, + "400": { + "description": "Erro no momento da alteração", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/definitions/ErrorModel" + } + } + } + } + } + } + }, + "/specialized-medical-report-items/{code}": { + "get": { + "tags": [ + "specialized-medical-report-items" + ], + "summary": "Recupera um registro", + "description": "Recupera um registro", + "operationId": "GetOne", + "x-totvs": { + "productInformation": [ + { + "product": "RM", + "available": true, + "note": "Este verbo está disponível com todos os parâmetros.", + "minimalVersion": "12.1.33" + } + ] + }, + "parameters": [ + { + "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/parameters/Authorization" + }, + { + "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/parameters/Expand" + }, + { + "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/parameters/Fields" + }, + { + "$ref": "#/components/parameters/code" + } + ], + "responses": { + "200": { + "description": "Registro recuperado com sucesso", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/schemas/SpecializedMedicalReportItems_1_000.json#/definitions/specialized-medical-report-items" + } + } + } + }, + "404": { + "description": "Erro no momento da recuperação do registro.", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/definitions/ErrorModel" + } + } + } + } + } + }, + "put": { + "tags": [ + "specialized-medical-report-items" + ], + "summary": "Atualiza um registro", + "description": "Atualiza um registro", + "operationId": "Put", + "x-totvs": { + "productInformation": [ + { + "product": "RM", + "available": true, + "note": "Este verbo esta disponivel com todos parametros", + "minimalVersion": "12.1.33" + } + ] + }, + "parameters": [ + { + "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/parameters/Authorization" + }, + { + "$ref": "#/components/parameters/code", + "required": "true" + } + ], + "requestBody": { + "description": "Objeto para atualizar registro", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/schemas/SpecializedMedicalReportItems_1_000.json#/definitions/specialized-medical-report-items" + } + } + } + }, + "responses": { + "200": { + "description": "Registro atualizado com sucesso", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/schemas/SpecializedMedicalReportItems_1_000.json#/definitions/specialized-medical-report-items" + } + } + } + }, + "400": { + "description": "Erro no momento da alteração", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/definitions/ErrorModel" + } + } + } + } + } + }, + "delete": { + "tags": [ + "specialized-medical-report-items" + ], + "summary": "Exclui um registro", + "x-totvs": { + "productInformation": [ + { + "product": "RM", + "available": true, + "note": "Este verbo esta disponivel com todos parametros", + "minimalVersion": "12.1.33" + } + ] + }, + "description": "Exclui um registro", + "operationId": "Delete", + "parameters": [ + { + "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/parameters/Authorization" + }, + { + "$ref": "#/components/parameters/code" + } + ], + "responses": { + "200": { + "description": "Registro excluído com sucesso" + }, + "400": { + "description": "Erro no momento da exclusão do registro.", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/definitions/ErrorModel" + } + } + } + } + } + } + } + }, + "components": { + "parameters": { + "code": { + "name": "code", + "in": "path", + "description": "Código da Coligada, Id da LME", + "required": true, + "schema": { + "type": "string" + } + } + }, + "schemas": {} + } +} \ No newline at end of file diff --git a/jsonschema/apis/SpecializedMedicalReport_v1_000.json b/jsonschema/apis/SpecializedMedicalReport_v1_000.json index c6e75f645..f7813bd2e 100644 --- a/jsonschema/apis/SpecializedMedicalReport_v1_000.json +++ b/jsonschema/apis/SpecializedMedicalReport_v1_000.json @@ -1,329 +1,329 @@ { - "openapi": "3.0.1", - "servers": [ - { - "description": "API de LME - Laudo de medicamento especializado", - "url": "{{host}}/api/hcg/v1", - "variables": { - "serverUrl": { - "default": "localhost" - }, - "serverHttpPort": { - "default": "8051" - } - } - } - ], - "info": { - "description": "API de LME - Laudo de medicamento especializado", - "version": "1.000", - "title": "LME - Laudo de medicamento especializado", - "contact": { - "name": "T-Talk", - "url": "api.totvs.com.br", - "email": "comiteintegracao@totvs.com.br" - }, - "x-totvs": { - "messageDocumentation": { - "name": "specialized-medical-report", - "description": "LME - Laudo de medicamento especializado", - "segment": "Saúde" - }, - "productInformation": [ - { - "product": "RM", - "contact": "", - "description": "LME - Laudo de medicamento especializado", - "adapter": "", - "helpUrl": "" - } - ] - } - }, - "paths": { - "/specialized-medical-report": { - "get": { - "tags": [ - "specialized-medical-report" - ], - "summary": "Listagem de registros", - "description": "Retorna uma lista de registros", - "operationId": "GetAll", - "x-totvs": { - "productInformation": [ - { - "product": "RM", - "available": true, - "note": "Este verbo está disponível com todos os parâmetros", - "minimalVersion": "12.1.32" - } - ] - }, - "parameters": [ - { - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/parameters/Authorization" - }, - { - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/parameters/Order" - }, - { - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/parameters/Page" - }, - { - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/parameters/PageSize" - }, - { - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/parameters/Fields" - } - ], - "responses": { - "200": { - "description": "Registros recuperados com sucesso", - "content": { - "application/json": { - "schema": { - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/SpecializedMedicalReport/v1/1_000/jsonschema/schemas/SpecializedMedicalReport_1_000.json#/definitions/Pagedspecialized-medical-report" - } - } - } - }, - "404": { - "description": "Erro no momento da recuperação dos registros.", - "content": { - "application/json": { - "schema": { - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/definitions/ErrorModel" - } - } - } - } - } - }, - "post": { - "tags": [ - "specialized-medical-report" - ], - "summary": "Insere um registro", - "description": "Insere um registro", - "operationId": "Post", - "x-totvs": { - "productInformation": [ - { - "product": "RM", - "available": true, - "note": "Este verbo esta disponivel com todos parametros", - "minimalVersion": "12.1.32" - } - ] - }, - "parameters": [ - { - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/parameters/Authorization" - } - ], - "requestBody": { - "description": "Objeto para inserir um registro", - "content": { - "application/json": { - "schema": { - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/SpecializedMedicalReport/v1/1_000/jsonschema/schemas/SpecializedMedicalReport_1_000.json#/definitions/specialized-medical-report" - } - } - } - }, - "responses": { - "200": { - "description": "Registro inserido com sucesso", - "content": { - "application/json": { - "schema": { - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/SpecializedMedicalReport/v1/1_000/jsonschema/schemas/SpecializedMedicalReport_1_000.json#/definitions/specialized-medical-report" - } - } - } - }, - "400": { - "description": "Erro no momento da alteração", - "content": { - "application/json": { - "schema": { - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/definitions/ErrorModel" - } - } - } - } - } - } - }, - "/specialized-medical-report/{code}": { - "get": { - "tags": [ - "specialized-medical-report" - ], - "summary": "Recupera um registro", - "description": "Recupera um registro", - "operationId": "GetOne", - "x-totvs": { - "productInformation": [ - { - "product": "RM", - "available": true, - "note": "Este verbo está disponível com todos os parâmetros.", - "minimalVersion": "12.1.32" - } - ] - }, - "parameters": [ - { - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/parameters/Authorization" - }, - { - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/parameters/Expand" - }, - { - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/parameters/Fields" - }, - { - "$ref": "#/components/parameters/code" - } - ], - "responses": { - "200": { - "description": "Registro recuperado com sucesso", - "content": { - "application/json": { - "schema": { - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/SpecializedMedicalReport/v1/1_000/jsonschema/schemas/SpecializedMedicalReport_1_000.json#/definitions/specialized-medical-report" - } - } - } - }, - "404": { - "description": "Erro no momento da recuperação do registro.", - "content": { - "application/json": { - "schema": { - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/definitions/ErrorModel" - } - } - } - } - } - }, - "put": { - "tags": [ - "specialized-medical-report" - ], - "summary": "Atualiza um registro", - "description": "Atualiza um registro", - "operationId": "Put", - "x-totvs": { - "productInformation": [ - { - "product": "RM", - "available": true, - "note": "Este verbo esta disponivel com todos parametros", - "minimalVersion": "12.1.32" - } - ] - }, - "parameters": [ - { - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/parameters/Authorization" - }, - { - "$ref": "#/components/parameters/code", - "required": "true" - } - ], - "requestBody": { - "description": "Objeto para atualizar registro", - "content": { - "application/json": { - "schema": { - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/SpecializedMedicalReport/v1/1_000/jsonschema/schemas/SpecializedMedicalReport_1_000.json#/definitions/specialized-medical-report" - } - } - } - }, - "responses": { - "200": { - "description": "Registro atualizado com sucesso", - "content": { - "application/json": { - "schema": { - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/SpecializedMedicalReport/v1/1_000/jsonschema/schemas/SpecializedMedicalReport_1_000.json#/definitions/specialized-medical-report" - } - } - } - }, - "400": { - "description": "Erro no momento da alteração", - "content": { - "application/json": { - "schema": { - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/definitions/ErrorModel" - } - } - } - } - } - }, - "delete": { - "tags": [ - "specialized-medical-report" - ], - "summary": "Exclui um registro", - "x-totvs": { - "productInformation": [ - { - "product": "RM", - "available": true, - "note": "Este verbo esta disponivel com todos parametros", - "minimalVersion": "12.1.32" - } - ] - }, - "description": "Exclui um registro", - "operationId": "Delete", - "parameters": [ - { - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/parameters/Authorization" - }, - { - "$ref": "#/components/parameters/code" - } - ], - "responses": { - "200": { - "description": "Registro excluído com sucesso" - }, - "400": { - "description": "Erro no momento da exclusão do registro.", - "content": { - "application/json": { - "schema": { - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/definitions/ErrorModel" - } - } - } - } - } - } - } - }, - "components": { - "parameters": { - "code": { - "name": "code", - "in": "path", - "description": "Código da coligada, ID da LME", - "required": true, - "schema": { - "type": "string" - } - } - }, - "schemas": {} - } -} + "openapi": "3.0.1", + "servers": [ + { + "description": "API de LME - Laudo de medicamento especializado", + "url": "{{host}}/api/hcg/v1", + "variables": { + "serverUrl": { + "default": "localhost" + }, + "serverHttpPort": { + "default": "8051" + } + } + } + ], + "info": { + "description": "API de LME - Laudo de medicamento especializado", + "version": "1.000", + "title": "LME - Laudo de medicamento especializado", + "contact": { + "name": "T-Talk", + "url": "api.totvs.com.br", + "email": "comiteintegracao@totvs.com.br" + }, + "x-totvs": { + "messageDocumentation": { + "name": "specialized-medical-report", + "description": "LME - Laudo de medicamento especializado", + "segment": "Saúde" + }, + "productInformation": [ + { + "product": "RM", + "contact": "", + "description": "LME - Laudo de medicamento especializado", + "adapter": "", + "helpUrl": "" + } + ] + } + }, + "paths": { + "/specialized-medical-report": { + "get": { + "tags": [ + "specialized-medical-report" + ], + "summary": "Listagem de registros", + "description": "Retorna uma lista de registros", + "operationId": "GetAll", + "x-totvs": { + "productInformation": [ + { + "product": "RM", + "available": true, + "note": "Este verbo está disponível com todos os parâmetros", + "minimalVersion": "12.1.32" + } + ] + }, + "parameters": [ + { + "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/parameters/Authorization" + }, + { + "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/parameters/Order" + }, + { + "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/parameters/Page" + }, + { + "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/parameters/PageSize" + }, + { + "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/parameters/Fields" + } + ], + "responses": { + "200": { + "description": "Registros recuperados com sucesso", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/schemas/SpecializedMedicalReport_1_000.json#/definitions/Pagedspecialized-medical-report" + } + } + } + }, + "404": { + "description": "Erro no momento da recuperação dos registros.", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/definitions/ErrorModel" + } + } + } + } + } + }, + "post": { + "tags": [ + "specialized-medical-report" + ], + "summary": "Insere um registro", + "description": "Insere um registro", + "operationId": "Post", + "x-totvs": { + "productInformation": [ + { + "product": "RM", + "available": true, + "note": "Este verbo esta disponivel com todos parametros", + "minimalVersion": "12.1.32" + } + ] + }, + "parameters": [ + { + "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/parameters/Authorization" + } + ], + "requestBody": { + "description": "Objeto para inserir um registro", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/schemas/SpecializedMedicalReport_1_000.json#/definitions/specialized-medical-report" + } + } + } + }, + "responses": { + "200": { + "description": "Registro inserido com sucesso", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/schemas/SpecializedMedicalReport_1_000.json#/definitions/specialized-medical-report" + } + } + } + }, + "400": { + "description": "Erro no momento da alteração", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/definitions/ErrorModel" + } + } + } + } + } + } + }, + "/specialized-medical-report/{code}": { + "get": { + "tags": [ + "specialized-medical-report" + ], + "summary": "Recupera um registro", + "description": "Recupera um registro", + "operationId": "GetOne", + "x-totvs": { + "productInformation": [ + { + "product": "RM", + "available": true, + "note": "Este verbo está disponível com todos os parâmetros.", + "minimalVersion": "12.1.32" + } + ] + }, + "parameters": [ + { + "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/parameters/Authorization" + }, + { + "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/parameters/Expand" + }, + { + "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/parameters/Fields" + }, + { + "$ref": "#/components/parameters/code" + } + ], + "responses": { + "200": { + "description": "Registro recuperado com sucesso", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/schemas/SpecializedMedicalReport_1_000.json#/definitions/specialized-medical-report" + } + } + } + }, + "404": { + "description": "Erro no momento da recuperação do registro.", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/definitions/ErrorModel" + } + } + } + } + } + }, + "put": { + "tags": [ + "specialized-medical-report" + ], + "summary": "Atualiza um registro", + "description": "Atualiza um registro", + "operationId": "Put", + "x-totvs": { + "productInformation": [ + { + "product": "RM", + "available": true, + "note": "Este verbo esta disponivel com todos parametros", + "minimalVersion": "12.1.32" + } + ] + }, + "parameters": [ + { + "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/parameters/Authorization" + }, + { + "$ref": "#/components/parameters/code", + "required": "true" + } + ], + "requestBody": { + "description": "Objeto para atualizar registro", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/schemas/SpecializedMedicalReport_1_000.json#/definitions/specialized-medical-report" + } + } + } + }, + "responses": { + "200": { + "description": "Registro atualizado com sucesso", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/schemas/SpecializedMedicalReport_1_000.json#/definitions/specialized-medical-report" + } + } + } + }, + "400": { + "description": "Erro no momento da alteração", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/definitions/ErrorModel" + } + } + } + } + } + }, + "delete": { + "tags": [ + "specialized-medical-report" + ], + "summary": "Exclui um registro", + "x-totvs": { + "productInformation": [ + { + "product": "RM", + "available": true, + "note": "Este verbo esta disponivel com todos parametros", + "minimalVersion": "12.1.32" + } + ] + }, + "description": "Exclui um registro", + "operationId": "Delete", + "parameters": [ + { + "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/parameters/Authorization" + }, + { + "$ref": "#/components/parameters/code" + } + ], + "responses": { + "200": { + "description": "Registro excluído com sucesso" + }, + "400": { + "description": "Erro no momento da exclusão do registro.", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/definitions/ErrorModel" + } + } + } + } + } + } + } + }, + "components": { + "parameters": { + "code": { + "name": "code", + "in": "path", + "description": "Código da coligada, ID da LME", + "required": true, + "schema": { + "type": "string" + } + } + }, + "schemas": {} + } +} \ No newline at end of file