File tree Expand file tree Collapse file tree 1 file changed +64
-0
lines changed Expand file tree Collapse file tree 1 file changed +64
-0
lines changed Original file line number Diff line number Diff line change
1
+ openapi : " 3.0.0"
2
+ info :
3
+ version : 1.0.0
4
+ title : Swagger Petstore
5
+ license :
6
+ name : MIT
7
+ servers :
8
+ - url : http://petstore.swagger.io/v1
9
+ paths :
10
+ /pets :
11
+ get :
12
+ summary : List all pets
13
+ operationId : listPets
14
+ tags :
15
+ - pets
16
+ responses :
17
+ ' 200 ' :
18
+ description : An paged array of pets
19
+ headers :
20
+ x-next :
21
+ description : A link to the next page of responses
22
+ schema :
23
+ type : string
24
+ content :
25
+ application/json :
26
+ schema :
27
+ $ref : " #/components/schemas/StatusSEP24Test"
28
+ default :
29
+ description : unexpected error
30
+ content :
31
+ application/json :
32
+ schema :
33
+ $ref : " #/components/schemas/Error"
34
+ components :
35
+ schemas :
36
+ StatusSEPGeneric :
37
+ type : string
38
+ description : Statuses common for all SEP transactions
39
+ enum :
40
+ - incomplete
41
+ - completed
42
+ - refunded
43
+ StatusSEP24Test :
44
+ description : Possible status value for SEP-24 transactions
45
+ properties :
46
+ status :
47
+ allOf :
48
+ - $ref : ' #/components/schemas/StatusSEPGeneric'
49
+ - type : string
50
+ description : Unique SEP-24 statuses
51
+ enum :
52
+ - no_market
53
+ - too_small
54
+ - too_large
55
+ Error :
56
+ required :
57
+ - code
58
+ - message
59
+ properties :
60
+ code :
61
+ type : integer
62
+ format : int32
63
+ message :
64
+ type : string
You can’t perform that action at this time.
0 commit comments