File tree Expand file tree Collapse file tree 6 files changed +24
-24
lines changed
com.reprezen.swagedit.openapi3.tests/resources/spec_examples/v3.0 Expand file tree Collapse file tree 6 files changed +24
-24
lines changed Original file line number Diff line number Diff line change 88 operationId : listVersionsv2
99 summary : List API versions
1010 responses :
11- 200 :
11+ ' 200 ' :
1212 description : |-
1313 200 response
1414 content :
4141 }
4242 ]
4343 }
44- 300 :
44+ ' 300 ' :
4545 description : |-
4646 300 response
4747 content :
8080 operationId : getVersionDetailsv2
8181 summary : Show API version details
8282 responses :
83- 200 :
83+ ' 200 ' :
8484 description : |-
8585 200 response
8686 content :
@@ -125,7 +125,7 @@ paths:
125125 ]
126126 }
127127 }
128- 203 :
128+ ' 203 ' :
129129 description : |-
130130 203 response
131131 content :
@@ -164,4 +164,4 @@ paths:
164164 }
165165 ]
166166 }
167- }
167+ }
Original file line number Diff line number Diff line change 4848 type : string
4949 format : date-time
5050 userData :
51- $ref : ' #/components/schemas/UserLogData '
51+ type : string
5252 responses :
5353 ' 202 ' :
5454 description : |
5757 ' 204 ' :
5858 description : |
5959 Your server should return this HTTP status code if no longer interested
60- in further updates
60+ in further updates
Original file line number Diff line number Diff line change @@ -200,4 +200,4 @@ components:
200200 repository :
201201 $ref : ' #/components/schemas/repository'
202202 author :
203- $ref : ' #/components/schemas/user'
203+ $ref : ' #/components/schemas/user'
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ openapi: "3.0.0"
22info :
33 version : 1.0.0
44 title : Swagger Petstore
5- description : A sample API that uses a petstore as an example to demonstrate features in the swagger-2 .0 specification
5+ description : A sample API that uses a petstore as an example to demonstrate features in the OpenAPI 3 .0 specification
66 termsOfService : http://swagger.io/terms/
77 contact :
88 name : Swagger API Team
4040 type : integer
4141 format : int32
4242 responses :
43- 200 :
43+ ' 200 ' :
4444 description : pet response
4545 content :
4646 application/json :
6565 schema :
6666 $ref : ' #/components/schemas/NewPet'
6767 responses :
68- 200 :
68+ ' 200 ' :
6969 description : pet response
7070 content :
7171 application/json :
9090 type : integer
9191 format : int64
9292 responses :
93- 200 :
93+ ' 200 ' :
9494 description : pet response
9595 content :
9696 application/json :
@@ -114,7 +114,7 @@ paths:
114114 type : integer
115115 format : int64
116116 responses :
117- 204 :
117+ ' 204 ' :
118118 description : pet deleted
119119 default :
120120 description : unexpected error
@@ -152,4 +152,4 @@ components:
152152 type : integer
153153 format : int32
154154 message :
155- type : string
155+ type : string
Original file line number Diff line number Diff line change 2222 type : integer
2323 format : int32
2424 responses :
25- 200 :
25+ ' 200 ' :
2626 description : An paged array of pets
2727 headers :
2828 x-next :
4545 tags :
4646 - pets
4747 responses :
48- 201 :
48+ ' 201 ' :
4949 description : Null response
5050 default :
5151 description : unexpected error
6767 schema :
6868 type : string
6969 responses :
70- 200 :
70+ ' 200 ' :
7171 description : Expected response to a valid request
7272 content :
7373 application/json :
@@ -106,4 +106,4 @@ components:
106106 type : integer
107107 format : int32
108108 message :
109- type : string
109+ type : string
Original file line number Diff line number Diff line change 3232 tags :
3333 - Products
3434 responses :
35- 200 :
35+ ' 200 ' :
3636 description : An array of products
3737 content :
3838 application/json :
8080 tags :
8181 - Estimates
8282 responses :
83- 200 :
83+ ' 200 ' :
8484 description : An array of price estimates by product
8585 content :
8686 application/json :
@@ -127,7 +127,7 @@ paths:
127127 tags :
128128 - Estimates
129129 responses :
130- 200 :
130+ ' 200 ' :
131131 description : An array of products
132132 content :
133133 application/json :
@@ -148,7 +148,7 @@ paths:
148148 tags :
149149 - User
150150 responses :
151- 200 :
151+ ' 200 ' :
152152 description : Profile information for a user
153153 content :
154154 application/json :
@@ -180,7 +180,7 @@ paths:
180180 tags :
181181 - User
182182 responses :
183- 200 :
183+ ' 200 ' :
184184 description : History information for the given user
185185 content :
186186 application/json :
@@ -294,4 +294,4 @@ components:
294294 type : string
295295 fields :
296296 type : string
297-
297+
You can’t perform that action at this time.
0 commit comments