Skip to content

Fixes Inconsistent JSON spacing #2543

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 27, 2021
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
24 changes: 12 additions & 12 deletions versions/3.1.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ For example, if a field has an array value, the JSON array representation will b

```json
{
"field": [ 1, 2, 3 ]
"field": [1, 2, 3]
}
```
All field names in the specification are **case sensitive**.
Expand Down Expand Up @@ -2239,8 +2239,8 @@ This object MAY be extended with [Specification Extensions](#specificationExtens

```json
{
"name": "pet",
"description": "Pets operations"
"name": "pet",
"description": "Pets operations"
}
```

Expand Down Expand Up @@ -2273,7 +2273,7 @@ Note that this restriction on additional properties is a difference between Refe

```json
{
"$ref": "#/components/schemas/Pet"
"$ref": "#/components/schemas/Pet"
}
```

Expand Down Expand Up @@ -2859,9 +2859,9 @@ Basic string property:

```json
{
"animals": {
"type": "string"
}
"animals": {
"type": "string"
}
}
```

Expand All @@ -2878,12 +2878,12 @@ Basic string array property ([`wrapped`](#xmlWrapped) is `false` by default):

```json
{
"animals": {
"type": "array",
"items": {
"type": "string"
}
"animals": {
"type": "array",
"items": {
"type": "string"
}
}
}
```

Expand Down