Skip to content

Commit 9ec38c2

Browse files
authored
Fix error in json example
The XML property example in JSON nested the name property inside the id property which is wrong I guess and the two properties should be next to each other.
1 parent 931dc1b commit 9ec38c2

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

versions/2.0.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1686,13 +1686,13 @@ In this example, a full model definition is shown.
16861686
"format": "int32",
16871687
"xml": {
16881688
"attribute": true
1689-
},
1690-
"name": {
1691-
"type": "string",
1692-
"xml": {
1693-
"namespace": "http://swagger.io/schema/sample",
1694-
"prefix": "sample"
1695-
}
1689+
}
1690+
},
1691+
"name": {
1692+
"type": "string",
1693+
"xml": {
1694+
"namespace": "http://swagger.io/schema/sample",
1695+
"prefix": "sample"
16961696
}
16971697
}
16981698
}

0 commit comments

Comments
 (0)