Skip to content
This repository was archived by the owner on Aug 7, 2023. It is now read-only.

Commit 2c8d9ab

Browse files
Gabriel RaniereGabriel Raniere
Gabriel Raniere
authored and
Gabriel Raniere
committed
update docs
1 parent bae8b66 commit 2c8d9ab

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

scripts/data/apis/apihub.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1465,7 +1465,7 @@
14651465
},
14661466
"url": {
14671467
"type": "string",
1468-
"description": "URL para fazer download do anexo",
1468+
"description": "URL para fazer download do anexo. Obrigatóriamente uma url HTTPS",
14691469
"required": true,
14701470
"example": "https://calculo.pdf"
14711471
}
@@ -1746,9 +1746,8 @@
17461746
"fields": {
17471747
"type": "array",
17481748
"description": "Campos da seção do prontuário",
1749-
"required": true,
17501749
"items": {
1751-
"anyOf": [
1750+
"oneOf": [
17521751
{
17531752
"type": "object",
17541753
"properties": {
@@ -1906,7 +1905,7 @@
19061905
},
19071906
"url": {
19081907
"type": "string",
1909-
"description": "URL do arquivo",
1908+
"description": "URL do arquivo. Obrigatóriamente uma url HTTPS",
19101909
"required": true,
19111910
"example": "https://hospitalexample.com.br/prontuariojaneiro.pdf"
19121911
}
@@ -2126,7 +2125,7 @@
21262125
"properties": {
21272126
"link": {
21282127
"type": "string",
2129-
"description": "URL de download do boleto",
2128+
"description": "URL de download do boleto. Obrigatóriamente uma url HTTPS",
21302129
"required": true,
21312130
"example": "https://boleto.pdf"
21322131
},
@@ -2169,7 +2168,7 @@
21692168
},
21702169
"url": {
21712170
"type": "string",
2172-
"description": "Link para baixar o anexo",
2171+
"description": "Link para baixar o anexo. Obrigatóriamente uma url HTTPS",
21732172
"required": true,
21742173
"example": "https://url.para-download.com"
21752174
}

0 commit comments

Comments
 (0)