{
|
|
"tags":[
|
|
"Serviços relacionados aos pacientes"
|
|
],
|
|
"summary": "Criar novo paciente",
|
|
"description": "Cria um novo paciente na base de dados usando os campos fornecidos",
|
|
"type": "object",
|
|
"properties": {
|
|
"nome": {
|
|
"type": "string"
|
|
},
|
|
"cpf": {
|
|
"type": "string"
|
|
},
|
|
"rg": {
|
|
"type": "string"
|
|
},
|
|
"data_de_nascimento": {
|
|
"type": "string"
|
|
},
|
|
"endereco": {
|
|
"type": "string"
|
|
},
|
|
"telefone": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"nome", "cpf", "rg", "data_de_nascimento", "endereco", "telefone"
|
|
]
|
|
}
|