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 8
8
operationId : listVersionsv2
9
9
summary : List API versions
10
10
responses :
11
- 200 :
11
+ ' 200 ' :
12
12
description : |-
13
13
200 response
14
14
content :
41
41
}
42
42
]
43
43
}
44
- 300 :
44
+ ' 300 ' :
45
45
description : |-
46
46
300 response
47
47
content :
80
80
operationId : getVersionDetailsv2
81
81
summary : Show API version details
82
82
responses :
83
- 200 :
83
+ ' 200 ' :
84
84
description : |-
85
85
200 response
86
86
content :
@@ -125,7 +125,7 @@ paths:
125
125
]
126
126
}
127
127
}
128
- 203 :
128
+ ' 203 ' :
129
129
description : |-
130
130
203 response
131
131
content :
@@ -164,4 +164,4 @@ paths:
164
164
}
165
165
]
166
166
}
167
- }
167
+ }
Original file line number Diff line number Diff line change 48
48
type : string
49
49
format : date-time
50
50
userData :
51
- $ref : ' #/components/schemas/UserLogData '
51
+ type : string
52
52
responses :
53
53
' 202 ' :
54
54
description : |
57
57
' 204 ' :
58
58
description : |
59
59
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:
200
200
repository :
201
201
$ref : ' #/components/schemas/repository'
202
202
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"
2
2
info :
3
3
version : 1.0.0
4
4
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
6
6
termsOfService : http://swagger.io/terms/
7
7
contact :
8
8
name : Swagger API Team
40
40
type : integer
41
41
format : int32
42
42
responses :
43
- 200 :
43
+ ' 200 ' :
44
44
description : pet response
45
45
content :
46
46
application/json :
65
65
schema :
66
66
$ref : ' #/components/schemas/NewPet'
67
67
responses :
68
- 200 :
68
+ ' 200 ' :
69
69
description : pet response
70
70
content :
71
71
application/json :
90
90
type : integer
91
91
format : int64
92
92
responses :
93
- 200 :
93
+ ' 200 ' :
94
94
description : pet response
95
95
content :
96
96
application/json :
@@ -114,7 +114,7 @@ paths:
114
114
type : integer
115
115
format : int64
116
116
responses :
117
- 204 :
117
+ ' 204 ' :
118
118
description : pet deleted
119
119
default :
120
120
description : unexpected error
@@ -152,4 +152,4 @@ components:
152
152
type : integer
153
153
format : int32
154
154
message :
155
- type : string
155
+ type : string
Original file line number Diff line number Diff line change 22
22
type : integer
23
23
format : int32
24
24
responses :
25
- 200 :
25
+ ' 200 ' :
26
26
description : An paged array of pets
27
27
headers :
28
28
x-next :
45
45
tags :
46
46
- pets
47
47
responses :
48
- 201 :
48
+ ' 201 ' :
49
49
description : Null response
50
50
default :
51
51
description : unexpected error
67
67
schema :
68
68
type : string
69
69
responses :
70
- 200 :
70
+ ' 200 ' :
71
71
description : Expected response to a valid request
72
72
content :
73
73
application/json :
@@ -106,4 +106,4 @@ components:
106
106
type : integer
107
107
format : int32
108
108
message :
109
- type : string
109
+ type : string
Original file line number Diff line number Diff line change 32
32
tags :
33
33
- Products
34
34
responses :
35
- 200 :
35
+ ' 200 ' :
36
36
description : An array of products
37
37
content :
38
38
application/json :
80
80
tags :
81
81
- Estimates
82
82
responses :
83
- 200 :
83
+ ' 200 ' :
84
84
description : An array of price estimates by product
85
85
content :
86
86
application/json :
@@ -127,7 +127,7 @@ paths:
127
127
tags :
128
128
- Estimates
129
129
responses :
130
- 200 :
130
+ ' 200 ' :
131
131
description : An array of products
132
132
content :
133
133
application/json :
@@ -148,7 +148,7 @@ paths:
148
148
tags :
149
149
- User
150
150
responses :
151
- 200 :
151
+ ' 200 ' :
152
152
description : Profile information for a user
153
153
content :
154
154
application/json :
@@ -180,7 +180,7 @@ paths:
180
180
tags :
181
181
- User
182
182
responses :
183
- 200 :
183
+ ' 200 ' :
184
184
description : History information for the given user
185
185
content :
186
186
application/json :
@@ -294,4 +294,4 @@ components:
294
294
type : string
295
295
fields :
296
296
type : string
297
-
297
+
You can’t perform that action at this time.
0 commit comments