Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 26 additions & 25 deletions versions/3.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -474,28 +474,27 @@ my.org.User
```json
"components": {
"schemas": {
"Category": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64"
},
"name": {
"type": "string"
}
"Category": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64"
},
"name": {
"type": "string"
}
},
"Tag": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64"
},
"name": {
"type": "string"
}
}
},
"Tag": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64"
},
"name": {
"type": "string"
}
}
}
Expand Down Expand Up @@ -606,7 +605,7 @@ components:
GeneralError:
description: General Error
content:
application/json
application/json:
schema:
$ref: '#/components/schemas/GeneralError'
securitySchemes:
Expand Down Expand Up @@ -927,8 +926,8 @@ requestBody:
status:
description: Updated status of the pet
type: string
required:
- status
required:
- status
responses:
'200':
description: Pet updated.
Expand Down Expand Up @@ -1424,7 +1423,9 @@ In contrast with the 2.0 specification, `file` input/output content in OpenAPI i
schema:
type: string
format: base64
```

```yaml
# content transferred in binary (octet-stream):
schema:
type: string
Expand Down Expand Up @@ -2016,7 +2017,7 @@ paths:
schema:
type: object
properties:
uuid: the unique user id
uuid: # the unique user id
type: string
format: uuid
links:
Expand Down