Skip to content

Commit b2805ae

Browse files
committed
Tests fixed
1 parent 495c19e commit b2805ae

File tree

1 file changed

+61
-42
lines changed
  • springdoc-openapi-javadoc/src/test/resources/results

1 file changed

+61
-42
lines changed

springdoc-openapi-javadoc/src/test/resources/results/app37.json

Lines changed: 61 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,54 @@
1111
}
1212
],
1313
"paths": {
14+
"/pets2": {
15+
"post": {
16+
"tags": [
17+
"hello-controller"
18+
],
19+
"description": "Pets post response entity.",
20+
"operationId": "petsPost2",
21+
"requestBody": {
22+
"description": "the pet",
23+
"content": {
24+
"application/json": {
25+
"schema": {
26+
"$ref": "#/components/schemas/Pet"
27+
}
28+
}
29+
}
30+
},
31+
"responses": {
32+
"200": {
33+
"description": "the response entity"
34+
}
35+
}
36+
}
37+
},
38+
"/pets1": {
39+
"post": {
40+
"tags": [
41+
"hello-controller"
42+
],
43+
"description": "Pets post response entity.",
44+
"operationId": "petsPost1",
45+
"requestBody": {
46+
"description": "the pet",
47+
"content": {
48+
"text/plain": {
49+
"schema": {
50+
"type": "string"
51+
}
52+
}
53+
}
54+
},
55+
"responses": {
56+
"200": {
57+
"description": "the response entity"
58+
}
59+
}
60+
}
61+
},
1462
"/bar/baz": {
1563
"post": {
1664
"tags": [
@@ -21,19 +69,19 @@
2169
"requestBody": {
2270
"description": "the c",
2371
"content": {
24-
"application/x.a+json": {
72+
"application/x.c+json": {
2573
"schema": {
26-
"$ref": "#/components/schemas/Foo"
74+
"$ref": "#/components/schemas/Car"
2775
}
2876
},
2977
"application/x.b+json": {
3078
"schema": {
3179
"$ref": "#/components/schemas/Bar"
3280
}
3381
},
34-
"application/x.c+json": {
82+
"application/x.a+json": {
3583
"schema": {
36-
"$ref": "#/components/schemas/Car"
84+
"$ref": "#/components/schemas/Foo"
3785
}
3886
}
3987
}
@@ -63,45 +111,16 @@
63111
}
64112
}
65113
}
66-
},
67-
"/pets": {
68-
"post": {
69-
"tags": [
70-
"hello-controller"
71-
],
72-
"description": "Pets post response entity.",
73-
"operationId": "petsPost_1",
74-
"requestBody": {
75-
"description": "the pet",
76-
"content": {
77-
"application/json": {
78-
"schema": {
79-
"$ref": "#/components/schemas/Pet"
80-
}
81-
},
82-
"text/plain": {
83-
"schema": {
84-
"type": "string"
85-
}
86-
}
87-
}
88-
},
89-
"responses": {
90-
"200": {
91-
"description": "the response entity"
92-
}
93-
}
94-
}
95114
}
96115
},
97116
"components": {
98117
"schemas": {
99-
"Bar": {
118+
"Pet": {
100119
"type": "object",
101120
"properties": {
102-
"bar": {
121+
"pet": {
103122
"type": "string",
104-
"description": "The Bar."
123+
"description": "The Pet."
105124
}
106125
}
107126
},
@@ -114,21 +133,21 @@
114133
}
115134
}
116135
},
117-
"Foo": {
136+
"Bar": {
118137
"type": "object",
119138
"properties": {
120-
"foo": {
139+
"bar": {
121140
"type": "string",
122-
"description": "The Foo."
141+
"description": "The Bar."
123142
}
124143
}
125144
},
126-
"Pet": {
145+
"Foo": {
127146
"type": "object",
128147
"properties": {
129-
"pet": {
148+
"foo": {
130149
"type": "string",
131-
"description": "The Pet."
150+
"description": "The Foo."
132151
}
133152
}
134153
}

0 commit comments

Comments
 (0)