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

Commit bae8b66

Browse files
Gabriel RaniereGabriel Raniere
Gabriel Raniere
authored and
Gabriel Raniere
committed
update apihub spec
1 parent 14142b8 commit bae8b66

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

scripts/data/apis/apihub.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1190,7 +1190,7 @@
11901190
"type": "string",
11911191
"description": "Nome do curso ou série",
11921192
"required": true,
1193-
"example": " Ano"
1193+
"example": " Ano - Ensino Fundamental"
11941194
},
11951195
"status": {
11961196
"type": "string",
@@ -1200,7 +1200,7 @@
12001200
],
12011201
"description": "Status desse livro de notas. Pode ser atual (current) ou de um período passado (ended)",
12021202
"required": true,
1203-
"example": "curren"
1203+
"example": "current"
12041204
},
12051205
"terms": {
12061206
"type": "array",
@@ -1748,7 +1748,7 @@
17481748
"description": "Campos da seção do prontuário",
17491749
"required": true,
17501750
"items": {
1751-
"oneOf": [
1751+
"anyOf": [
17521752
{
17531753
"type": "object",
17541754
"properties": {
@@ -1998,23 +1998,27 @@
19981998
"name": {
19991999
"type": "string",
20002000
"description": "Nome do pagador",
2001+
"required": true,
20012002
"example": "Felipe Layers"
20022003
},
20032004
"email": {
20042005
"type": "string",
20052006
"format": "email",
20062007
"description": "E-mail do pagador",
2008+
"required": false,
20072009
"example": "[email protected]"
20082010
},
20092011
"phone": {
20102012
"type": "string",
20112013
"description": "Telefone do pagador",
2014+
"required": false,
20122015
"example": "(11)99999-9999"
20132016
},
20142017
"birth": {
20152018
"type": "string",
20162019
"format": "date",
2017-
"description": "Data de nascimento do pagador"
2020+
"description": "Data de nascimento do pagador",
2021+
"required": false
20182022
}
20192023
}
20202024
},

0 commit comments

Comments
 (0)