Browse Source

openapi: get out 200 com exemplos

master
Henrique-Sousa 4 weeks ago
parent
commit
5f63a1889a
1 changed files with 42 additions and 0 deletions
  1. +42
    -0
      server/services/medicos/get.out.200.json

+ 42
- 0
server/services/medicos/get.out.200.json View File

@ -0,0 +1,42 @@
{
"type": "array",
"items": {
"type": "object",
"properties": {
"nome": {
"type": "string"
},
"crm": {
"type": "string"
},
"especialidades": {
"type": "array",
"items": {
"type": "string"
}
},
"convenios": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"nome", "crm"
],
"example": [
{
"convenios": [
"e97f0ebc-aa16-486f-b1c6-3feb36954118"
],
"crm": "567890",
"especialidades": [
"9fe6bca9-7da2-4f23-a26a-c6c20872aa6c",
"f78f6439-4d14-43dd-a4d8-3ffa68ca5020"
],
"nome": "Jonas Salk"
}
]
}
}

Loading…
Cancel
Save