File tree Expand file tree Collapse file tree 4 files changed +175
-48
lines changed
test/Microsoft.OpenApi.Readers.Tests
V31Tests/Samples/OpenApiPathItem
V32Tests/Samples/OpenApiPathItem
V3Tests/Samples/OpenApiPathItem Expand file tree Collapse file tree 4 files changed +175
-48
lines changed Original file line number Diff line number Diff line change 1+ openapi : 3.1.0
2+ info :
3+ title : PathItem with Query and AdditionalOperations
4+ version : 1.0.0
5+ paths :
6+ /pets :
7+ summary : Pet operations
8+ description : Operations available for pets
9+ get :
10+ summary : Get pets
11+ operationId : getPets
12+ responses :
13+ ' 200 ' :
14+ description : List of pets
15+ x-oai-additionalOperations :
16+ query :
17+ summary : Query pets with complex filters
18+ operationId : queryPets
19+ parameters :
20+ - name : filter
21+ in : query
22+ description : Complex filter expression
23+ schema :
24+ type : string
25+ responses :
26+ ' 200 ' :
27+ description : Filtered pets
28+ content :
29+ application/json :
30+ schema :
31+ type : array
32+ items :
33+ type : object
34+ notify :
35+ summary : Notify about pet updates
36+ operationId : notifyPetUpdates
37+ requestBody :
38+ required : true
39+ content :
40+ application/json :
41+ schema :
42+ type : object
43+ properties :
44+ petId :
45+ type : string
46+ event :
47+ type : string
48+ responses :
49+ ' 200 ' :
50+ description : Notification sent
51+ subscribe :
52+ summary : Subscribe to pet events
53+ operationId : subscribePetEvents
54+ parameters :
55+ - name : events
56+ in : query
57+ description : Event types to subscribe to
58+ schema :
59+ type : array
60+ items :
61+ type : string
62+ responses :
63+ ' 200 ' :
64+ description : Subscription created
65+ content :
66+ application/json :
67+ schema :
68+ type : object
69+ properties :
70+ subscriptionId :
71+ type : string
72+ post :
73+ summary : Create pet
74+ operationId : createPet
75+ responses :
76+ ' 201 ' :
77+ description : Pet created
Original file line number Diff line number Diff line change 99 get :
1010 summary : Get pets
1111 operationId : getPets
12- query :
13- summary : Query pets with complex filters
14- operationId : queryPets
15- parameters :
16- - name : filter
17- in : query
18- description : Complex filter expression
19- schema :
20- type : string
21- responses :
22- ' 200 ' :
23- description : Filtered pets
24- content :
25- application/json :
26- schema :
27- type : array
28- items :
29- type : object
12+ responses :
13+ ' 200 ' :
14+ description : List of pets
15+ query :
16+ summary : Query pets with complex filters
17+ operationId : queryPets
18+ parameters :
19+ - name : filter
20+ in : query
21+ description : Complex filter expression
22+ schema :
23+ type : string
24+ responses :
25+ ' 200 ' :
26+ description : Filtered pets
27+ content :
28+ application/json :
29+ schema :
30+ type : array
31+ items :
32+ type : object
3033 additionalOperations :
3134 notify :
3235 summary : Notify about pet updates
6669 properties :
6770 subscriptionId :
6871 type : string
69- responses :
70- ' 200 ' :
71- description : List of pets
7272 post :
7373 summary : Create pet
7474 operationId : createPet
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ openapi : 3.0.0
2+ info :
3+ title : PathItem with Query and AdditionalOperations
4+ version : 1.0.0
5+ paths :
6+ /pets :
7+ summary : Pet operations
8+ description : Operations available for pets
9+ get :
10+ summary : Get pets
11+ operationId : getPets
12+ responses :
13+ ' 200 ' :
14+ description : List of pets
15+ x-oai-additionalOperations :
16+ query :
17+ summary : Query pets with complex filters
18+ operationId : queryPets
19+ parameters :
20+ - name : filter
21+ in : query
22+ description : Complex filter expression
23+ schema :
24+ type : string
25+ responses :
26+ ' 200 ' :
27+ description : Filtered pets
28+ content :
29+ application/json :
30+ schema :
31+ type : array
32+ items :
33+ type : object
34+ notify :
35+ summary : Notify about pet updates
36+ operationId : notifyPetUpdates
37+ requestBody :
38+ required : true
39+ content :
40+ application/json :
41+ schema :
42+ type : object
43+ properties :
44+ petId :
45+ type : string
46+ event :
47+ type : string
48+ responses :
49+ ' 200 ' :
50+ description : Notification sent
51+ subscribe :
52+ summary : Subscribe to pet events
53+ operationId : subscribePetEvents
54+ parameters :
55+ - name : events
56+ in : query
57+ description : Event types to subscribe to
58+ schema :
59+ type : array
60+ items :
61+ type : string
62+ responses :
63+ ' 200 ' :
64+ description : Subscription created
65+ content :
66+ application/json :
67+ schema :
68+ type : object
69+ properties :
70+ subscriptionId :
71+ type : string
72+ post :
73+ summary : Create pet
74+ operationId : createPet
75+ responses :
76+ ' 201 ' :
77+ description : Pet created
You can’t perform that action at this time.
0 commit comments