@@ -34,10 +34,12 @@ paths:
3434 type : string
3535 description : ' Name of image.'
3636 example : cat.jpg
37+ nullable : false
3738 image :
3839 type : string
3940 format : binary
4041 description : ' The image.'
42+ nullable : false
4143 required :
4244 - name
4345 - image
9597 type : string
9698 description : ' The id of the location.'
9799 example : consequatur
100+ nullable : false
98101 -
99102 in : query
100103 name : user_id
@@ -105,6 +108,7 @@ paths:
105108 type : string
106109 description : ' The id of the user.'
107110 example : me
111+ nullable : false
108112 -
109113 in : query
110114 name : page
@@ -115,6 +119,7 @@ paths:
115119 type : string
116120 description : ' The page number.'
117121 example : ' 4'
122+ nullable : false
118123 -
119124 in : query
120125 name : filters
@@ -125,6 +130,7 @@ paths:
125130 type : string
126131 description : ' The filters.'
127132 example : consequatur
133+ nullable : false
128134 -
129135 in : query
130136 name : url_encoded
@@ -135,6 +141,7 @@ paths:
135141 type : string
136142 description : ' Used for testing that URL parameters will be URL-encoded where needed.'
137143 example : ' + []&='
144+ nullable : false
138145 -
139146 in : header
140147 name : Custom-Header
@@ -192,6 +199,7 @@ paths:
192199 type : string
193200 description : ' '
194201 example : consequatur
202+ nullable : false
195203 -
196204 in : header
197205 name : Custom-Header
@@ -293,9 +301,9 @@ paths:
293301 items :
294302 type : object
295303 properties :
296- first_name : { type: string, description: 'The first name of the user.', example: John }
297- last_name : { type: string, description: 'The last name of the user.', example: Doe }
298- contacts : { type: array, description: 'Contact info', example: [ [ ] ], items: { type: object, properties: { first_name: { type: string, description: 'The first name of the contact.', example: Janelle }, last_name: { type: string, description: 'The last name of the contact.', example: Monáe } }, required: [ first_name, last_name ] } }
304+ first_name : { type: string, description: 'The first name of the user.', example: John, nullable: false }
305+ last_name : { type: string, description: 'The last name of the user.', example: Doe, nullable: false }
306+ contacts : { type: array, description: 'Contact info', example: [ [ ] ], items: { type: object, properties: { first_name: { type: string, description: 'The first name of the contact.', example: Janelle, nullable: false }, last_name: { type: string, description: 'The last name of the contact.', example: Monáe, nullable: false } }, required: [ first_name, last_name ] } }
299307 roles : { type: array, description: 'The name of the role.', example: [ Admin ], items: { type: string } }
300308 required :
301309 - first_name
0 commit comments