Skip to content

Commit d3d8633

Browse files
committed
Better formatting of examples
1 parent f822af7 commit d3d8633

File tree

1 file changed

+38
-34
lines changed

1 file changed

+38
-34
lines changed

src/oas.md

Lines changed: 38 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -2699,43 +2699,47 @@ This object MAY be extended with [Specification Extensions](#specification-exten
26992699
##### Tag Object Example
27002700

27012701
```json
2702-
{
2703-
"name": "account-updates",
2704-
"summary": "Account Updates",
2705-
"description": "Account update operations",
2706-
"kind": "nav"
2707-
},
2708-
{
2709-
"name": "partner",
2710-
"summary": "Partner",
2711-
"description": "Operations available to the partners network",
2712-
"parent": "external",
2713-
"kind": "audience"
2714-
},
2715-
{
2716-
"name": "external",
2717-
"summary": "External",
2718-
"description": "Operations available to external consumers",
2719-
"kind": "audience"
2720-
}
2702+
"tags": [
2703+
{
2704+
"name": "account-updates",
2705+
"summary": "Account Updates",
2706+
"description": "Account update operations",
2707+
"kind": "nav"
2708+
},
2709+
{
2710+
"name": "partner",
2711+
"summary": "Partner",
2712+
"description": "Operations available to the partners network",
2713+
"parent": "external",
2714+
"kind": "audience"
2715+
},
2716+
{
2717+
"name": "external",
2718+
"summary": "External",
2719+
"description": "Operations available to external consumers",
2720+
"kind": "audience"
2721+
}
2722+
]
27212723
```
27222724

27232725
```yaml
2724-
- name: account-updates
2725-
summary: Account Updates
2726-
description: Account update operations
2727-
kind: nav
2728-
2729-
- name: partner
2730-
summary: Partner
2731-
description: Operations available to the partners network
2732-
parent: external
2733-
kind: audience
2734-
2735-
- name: external
2736-
summary: External
2737-
description: Operations available to external consumers
2738-
kind: audience
2726+
tags:
2727+
2728+
- name: account-updates
2729+
summary: Account Updates
2730+
description: Account update operations
2731+
kind: nav
2732+
2733+
- name: partner
2734+
summary: Partner
2735+
description: Operations available to the partners network
2736+
parent: external
2737+
kind: audience
2738+
2739+
- name: external
2740+
summary: External
2741+
description: Operations available to external consumers
2742+
kind: audience
27392743
```
27402744

27412745
#### Reference Object

0 commit comments

Comments
 (0)