Skip to content

Commit 59f31b4

Browse files
committed
Fixed indentaions of examples.
1 parent 6bf21aa commit 59f31b4

File tree

1 file changed

+80
-80
lines changed

1 file changed

+80
-80
lines changed

versions/2.0.md

Lines changed: 80 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -1473,57 +1473,57 @@ definitions:
14731473
"name",
14741474
"petType"
14751475
]
1476-
}
1477-
},
1478-
"Cat": {
1479-
"description": "A representation of a cat",
1480-
"allOf": [
1481-
{
1482-
"$ref": "#/definitions/Pet"
1483-
},
1484-
{
1485-
"type": "object",
1486-
"properties": {
1487-
"huntingSkill": {
1488-
"type": "string",
1489-
"description": "The measured skill for hunting",
1490-
"default": "lazy",
1491-
"enum": [
1492-
"clueless",
1493-
"lazy",
1494-
"adventurous",
1495-
"aggressive"
1496-
]
1497-
}
1476+
},
1477+
"Cat": {
1478+
"description": "A representation of a cat",
1479+
"allOf": [
1480+
{
1481+
"$ref": "#/definitions/Pet"
14981482
},
1499-
"required": [
1500-
"huntingSkill"
1501-
]
1502-
}
1503-
]
1504-
},
1505-
"Dog": {
1506-
"description": "A representation of a dog",
1507-
"allOf": [
1508-
{
1509-
"$ref": "#/definitions/Pet"
1510-
},
1511-
{
1512-
"type": "object",
1513-
"properties": {
1514-
"packSize": {
1515-
"type": "integer",
1516-
"format": "int32",
1517-
"description": "the size of the pack the dog is from",
1518-
"default": 0,
1519-
"minimum": 0
1520-
}
1483+
{
1484+
"type": "object",
1485+
"properties": {
1486+
"huntingSkill": {
1487+
"type": "string",
1488+
"description": "The measured skill for hunting",
1489+
"default": "lazy",
1490+
"enum": [
1491+
"clueless",
1492+
"lazy",
1493+
"adventurous",
1494+
"aggressive"
1495+
]
1496+
}
1497+
},
1498+
"required": [
1499+
"huntingSkill"
1500+
]
1501+
}
1502+
]
1503+
},
1504+
"Dog": {
1505+
"description": "A representation of a dog",
1506+
"allOf": [
1507+
{
1508+
"$ref": "#/definitions/Pet"
15211509
},
1522-
"required": [
1523-
"packSize"
1524-
]
1525-
}
1526-
]
1510+
{
1511+
"type": "object",
1512+
"properties": {
1513+
"packSize": {
1514+
"type": "integer",
1515+
"format": "int32",
1516+
"description": "the size of the pack the dog is from",
1517+
"default": 0,
1518+
"minimum": 0
1519+
}
1520+
},
1521+
"required": [
1522+
"packSize"
1523+
]
1524+
}
1525+
]
1526+
}
15271527
}
15281528
}
15291529
```
@@ -1541,37 +1541,37 @@ definitions:
15411541
required:
15421542
- name
15431543
- petType
1544-
Cat:
1545-
description: A representation of a cat
1546-
allOf:
1547-
- $ref: '#/definitions/Pet'
1548-
- type: object
1549-
properties:
1550-
huntingSkill:
1551-
type: string
1552-
description: The measured skill for hunting
1553-
default: lazy
1554-
enum:
1555-
- clueless
1556-
- lazy
1557-
- adventurous
1558-
- aggressive
1559-
required:
1560-
- huntingSkill
1561-
Dog:
1562-
description: A representation of a dog
1563-
allOf:
1564-
- $ref: '#/definitions/Pet'
1565-
- type: object
1566-
properties:
1567-
packSize:
1568-
type: integer
1569-
format: int32
1570-
description: the size of the pack the dog is from
1571-
default: 0
1572-
minimum: 0
1573-
required:
1574-
- packSize
1544+
Cat:
1545+
description: A representation of a cat
1546+
allOf:
1547+
- $ref: '#/definitions/Pet'
1548+
- type: object
1549+
properties:
1550+
huntingSkill:
1551+
type: string
1552+
description: The measured skill for hunting
1553+
default: lazy
1554+
enum:
1555+
- clueless
1556+
- lazy
1557+
- adventurous
1558+
- aggressive
1559+
required:
1560+
- huntingSkill
1561+
Dog:
1562+
description: A representation of a dog
1563+
allOf:
1564+
- $ref: '#/definitions/Pet'
1565+
- type: object
1566+
properties:
1567+
packSize:
1568+
type: integer
1569+
format: int32
1570+
description: the size of the pack the dog is from
1571+
default: 0
1572+
minimum: 0
1573+
required:
1574+
- packSize
15751575
```
15761576

15771577
#### <a name="xmlObject"></a>XML Object

0 commit comments

Comments
 (0)