File tree Expand file tree Collapse file tree 1 file changed +87
-87
lines changed
modules/swagger-parser-v3/src/test/resources/issue-1706 Expand file tree Collapse file tree 1 file changed +87
-87
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- "openapi" : " 3.0.0" ,
3
- "info" : {
4
- "version" : " 1.0" ,
5
- "title" : " Resource service" ,
6
- "description" : " Resource service"
7
- },
8
- "servers" : [
9
- {
10
- "url" : " http://localhost:8088/"
11
- }
12
- ],
13
- "paths" : {
14
- "/resource" : {
15
- "post" : {
16
- "summary" : " postResource" ,
17
- "description" : " postResource" ,
18
- "operationId" : " post-resource" ,
19
- "parameters" : [],
20
- "requestBody" : {
21
- "$ref" : " #/components/requestBodies/ResourceBodyPost"
22
- },
23
- "responses" : {
24
- "200" : {
25
- "$ref" : " #/components/responses/ResourceSuccessResponse"
26
- }
27
- }
28
- }
29
- }
30
- },
31
- "components" : {
32
- "requestBodies" : {
33
- "ResourceBodyPost" : {
34
- "content" : {
35
- "application/json" : {
36
- "schema" : {
37
- "type" : " object" ,
38
- "required" : [
39
- " rqname"
40
- ],
41
- "properties" : {
42
- "rqname" : {
43
- "type" : " string"
44
- },
45
- "rqnumber" : {
46
- "type" : " integer" ,
47
- "format" : " int32"
48
- },
49
- "rqflag" : {
50
- "type" : " boolean"
51
- }
52
- }
53
- }
54
- }
55
- }
56
- }
57
- },
58
- "responses" : {
59
- "ResourceSuccessResponse" : {
60
- "description" : " a Element to be returned" ,
61
- "content" : {
62
- "application/json" : {
63
- "schema" : {
64
- "type" : " object" ,
65
- "required" : [
66
- " rname"
67
- ],
68
- "properties" : {
69
- "rname" : {
70
- "type" : " string"
71
- },
72
- "rnumber" : {
73
- "type" : " integer" ,
74
- "format" : " int32"
75
- },
76
- "rflag" : {
77
- "type" : " boolean"
78
- }
79
- }
80
- }
81
- }
82
- }
83
- }
84
- },
85
- "schemas" : {
86
-
87
- }
88
- }
2
+ "openapi" : " 3.0.0" ,
3
+ "info" : {
4
+ "version" : " 1.0" ,
5
+ "title" : " Resource service" ,
6
+ "description" : " Resource service"
7
+ },
8
+ "servers" : [
9
+ {
10
+ "url" : " http://localhost:8088/"
11
+ }
12
+ ],
13
+ "paths" : {
14
+ "/resource" : {
15
+ "post" : {
16
+ "summary" : " postResource" ,
17
+ "description" : " postResource" ,
18
+ "operationId" : " post-resource" ,
19
+ "parameters" : [],
20
+ "requestBody" : {
21
+ "$ref" : " #/components/requestBodies/ResourceBodyPost"
22
+ },
23
+ "responses" : {
24
+ "200" : {
25
+ "$ref" : " #/components/responses/ResourceSuccessResponse"
26
+ }
27
+ }
28
+ }
29
+ }
30
+ },
31
+ "components" : {
32
+ "requestBodies" : {
33
+ "ResourceBodyPost" : {
34
+ "content" : {
35
+ "application/json" : {
36
+ "schema" : {
37
+ "type" : " object" ,
38
+ "required" : [
39
+ " rqname"
40
+ ],
41
+ "properties" : {
42
+ "rqname" : {
43
+ "type" : " string"
44
+ },
45
+ "rqnumber" : {
46
+ "type" : " integer" ,
47
+ "format" : " int32"
48
+ },
49
+ "rqflag" : {
50
+ "type" : " boolean"
51
+ }
52
+ }
53
+ }
54
+ }
55
+ }
56
+ }
57
+ },
58
+ "responses" : {
59
+ "ResourceSuccessResponse" : {
60
+ "description" : " a Element to be returned" ,
61
+ "content" : {
62
+ "application/json" : {
63
+ "schema" : {
64
+ "type" : " object" ,
65
+ "required" : [
66
+ " rname"
67
+ ],
68
+ "properties" : {
69
+ "rname" : {
70
+ "type" : " string"
71
+ },
72
+ "rnumber" : {
73
+ "type" : " integer" ,
74
+ "format" : " int32"
75
+ },
76
+ "rflag" : {
77
+ "type" : " boolean"
78
+ }
79
+ }
80
+ }
81
+ }
82
+ }
83
+ }
84
+ },
85
+ "schemas" : {
86
+
87
+ }
88
+ }
89
89
}
You can’t perform that action at this time.
0 commit comments