File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed
examples/v2.0/json/petstore-separate/spec Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 2
2
"type" : " object" ,
3
3
"allOf" : [
4
4
{
5
- "$ref" : " Pet.yaml "
5
+ "$ref" : " Pet.json "
6
6
},
7
7
{
8
8
"required" : [
Original file line number Diff line number Diff line change 33
33
"operationId" : " findPets" ,
34
34
"parameters" : [
35
35
{
36
- "$ref" : " parameters.yaml #/tagsParam"
36
+ "$ref" : " parameters.json #/tagsParam"
37
37
},
38
38
{
39
- "$ref" : " parameters.yaml #/limitsParam"
39
+ "$ref" : " parameters.json #/limitsParam"
40
40
}
41
41
],
42
42
"responses" : {
45
45
"schema" : {
46
46
"type" : " array" ,
47
47
"items" : {
48
- "$ref" : " Pet.yaml "
48
+ "$ref" : " Pet.json "
49
49
}
50
50
}
51
51
},
52
52
"default" : {
53
53
"description" : " unexpected error" ,
54
54
"schema" : {
55
- "$ref" : " ../common/Error.yaml "
55
+ "$ref" : " ../common/Error.json "
56
56
}
57
57
}
58
58
}
67
67
"description" : " Pet to add to the store" ,
68
68
"required" : true ,
69
69
"schema" : {
70
- "$ref" : " NewPet.yaml "
70
+ "$ref" : " NewPet.json "
71
71
}
72
72
}
73
73
],
74
74
"responses" : {
75
75
"200" : {
76
76
"description" : " pet response" ,
77
77
"schema" : {
78
- "$ref" : " Pet.yaml "
78
+ "$ref" : " Pet.json "
79
79
}
80
80
},
81
81
"default" : {
82
82
"description" : " unexpected error" ,
83
83
"schema" : {
84
- "$ref" : " ../common/Error.yaml "
84
+ "$ref" : " ../common/Error.json "
85
85
}
86
86
}
87
87
}
105
105
"200" : {
106
106
"description" : " pet response" ,
107
107
"schema" : {
108
- "$ref" : " Pet.yaml "
108
+ "$ref" : " Pet.json "
109
109
}
110
110
},
111
111
"default" : {
112
112
"description" : " unexpected error" ,
113
113
"schema" : {
114
- "$ref" : " ../common/Error.yaml "
114
+ "$ref" : " ../common/Error.json "
115
115
}
116
116
}
117
117
}
136
136
"default" : {
137
137
"description" : " unexpected error" ,
138
138
"schema" : {
139
- "$ref" : " ../common/Error.yaml "
139
+ "$ref" : " ../common/Error.json "
140
140
}
141
141
}
142
142
}
You can’t perform that action at this time.
0 commit comments