Skip to content

Commit 18d3491

Browse files
authored
Fix schemas/Error code property in Uber example
The [live API returns][Uber products GET] e.g.: { "message": "No authentication provided.", "code": "unauthorized" } This commit corrects the schema for `code` to be of `type: string`. [Uber products GET]: https://api.uber.com/v1/products
1 parent 9036a04 commit 18d3491

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/v3.0/uber.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,8 +289,7 @@ components:
289289
Error:
290290
properties:
291291
code:
292-
type: integer
293-
format: int32
292+
type: string
294293
message:
295294
type: string
296295
fields:

0 commit comments

Comments
 (0)