@@ -1349,6 +1349,7 @@ additionalProperties:
13491349
13501350` ` ` js
13511351{
1352+ "type": "object",
13521353 "properties": {
13531354 "id": {
13541355 "type": "integer",
@@ -1369,6 +1370,7 @@ additionalProperties:
13691370` ` `
13701371
13711372` ` ` yaml
1373+ type: object
13721374properties:
13731375 id:
13741376 type: integer
@@ -1457,6 +1459,7 @@ definitions:
14571459{
14581460 "definitions": {
14591461 "Pet": {
1462+ "type": "object",
14601463 "discriminator": "petType",
14611464 "properties": {
14621465 "name": {
@@ -1479,6 +1482,7 @@ definitions:
14791482 "$ref": "#/definitions/Pet"
14801483 },
14811484 {
1485+ "type": "object",
14821486 "properties": {
14831487 "huntingSkill": {
14841488 "type": "string",
@@ -1505,6 +1509,7 @@ definitions:
15051509 "$ref": "#/definitions/Pet"
15061510 },
15071511 {
1512+ "type": "object",
15081513 "properties": {
15091514 "packSize": {
15101515 "type": "integer",
@@ -1526,6 +1531,7 @@ definitions:
15261531` ` ` yaml
15271532definitions:
15281533 Pet:
1534+ type: object
15291535 discriminator: petType
15301536 properties:
15311537 name:
@@ -1539,7 +1545,8 @@ Cat:
15391545 description: A representation of a cat
15401546 allOf:
15411547 - $ref: '#/definitions/Pet'
1542- - properties:
1548+ - type: object
1549+ properties:
15431550 huntingSkill:
15441551 type: string
15451552 description: The measured skill for hunting
@@ -1555,7 +1562,8 @@ Dog:
15551562 description: A representation of a dog
15561563 allOf:
15571564 - $ref: '#/definitions/Pet'
1558- - properties:
1565+ - type: object
1566+ properties:
15591567 packSize:
15601568 type: integer
15611569 format: int32
@@ -1937,6 +1945,7 @@ Field Pattern | Type | Description
19371945` ` ` js
19381946{
19391947 "Category": {
1948+ "type": "object",
19401949 "properties": {
19411950 "id": {
19421951 "type": "integer",
@@ -1948,6 +1957,7 @@ Field Pattern | Type | Description
19481957 }
19491958 },
19501959 "Tag": {
1960+ "type": "object",
19511961 "properties": {
19521962 "id": {
19531963 "type": "integer",
@@ -1963,13 +1973,15 @@ Field Pattern | Type | Description
19631973
19641974` ` ` yaml
19651975Category:
1976+ type: object
19661977 properties:
19671978 id:
19681979 type: integer
19691980 format: int64
19701981 name:
19711982 type: string
19721983Tag:
1984+ type: object
19731985 properties:
19741986 id:
19751987 type: integer
0 commit comments