Skip to content

Commit

Permalink
hotfix: update openapi defs for query param
Browse files Browse the repository at this point in the history
  • Loading branch information
whoabuddy committed May 31, 2022
1 parent 967f8d4 commit b30b1d4
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions static/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ paths:
description: Get the current Stacks block height
tags:
- Stacks
parameters:
- $ref: '#/components/parameters/format'
responses:
"200":
$ref: '#/components/responses/200SuccessJsonNumber'
Expand All @@ -66,6 +68,7 @@ paths:
tags:
- Stacks
parameters:
- $ref: '#/components/parameters/format'
- $ref: '#/components/parameters/address'
responses:
"200":
Expand All @@ -82,6 +85,7 @@ paths:
tags:
- Stacks
parameters:
- $ref: '#/components/parameters/format'
- $ref: '#/components/parameters/address'
responses:
"200":
Expand All @@ -98,6 +102,7 @@ paths:
tags:
- Stacks
parameters:
- $ref: '#/components/parameters/format'
- $ref: '#/components/parameters/blockheight'
responses:
"200":
Expand All @@ -114,6 +119,7 @@ paths:
tags:
- Activation
parameters:
- $ref: '#/components/parameters/format'
- $ref: '#/components/parameters/version'
- $ref: '#/components/parameters/cityname'
responses:
Expand All @@ -131,6 +137,7 @@ paths:
tags:
- Activation
parameters:
- $ref: '#/components/parameters/format'
- $ref: '#/components/parameters/version'
- $ref: '#/components/parameters/cityname'
responses:
Expand All @@ -148,6 +155,7 @@ paths:
tags:
- Activation
parameters:
- $ref: '#/components/parameters/format'
- $ref: '#/components/parameters/version'
- $ref: '#/components/parameters/cityname'
responses:
Expand All @@ -165,6 +173,7 @@ paths:
tags:
- Activation
parameters:
- $ref: '#/components/parameters/format'
- $ref: '#/components/parameters/version'
- $ref: '#/components/parameters/cityname'
responses:
Expand All @@ -182,6 +191,7 @@ paths:
tags:
- Activation
parameters:
- $ref: '#/components/parameters/format'
- $ref: '#/components/parameters/version'
- $ref: '#/components/parameters/cityname'
- $ref: '#/components/parameters/userid'
Expand All @@ -200,6 +210,7 @@ paths:
tags:
- Activation
parameters:
- $ref: '#/components/parameters/format'
- $ref: '#/components/parameters/version'
- $ref: '#/components/parameters/cityname'
- $ref: '#/components/parameters/address'
Expand All @@ -218,6 +229,7 @@ paths:
tags:
- Mining
parameters:
- $ref: '#/components/parameters/format'
- $ref: '#/components/parameters/version'
- $ref: '#/components/parameters/cityname'
- $ref: '#/components/parameters/blockheight'
Expand Down Expand Up @@ -318,6 +330,7 @@ paths:
tags:
- Mining
parameters:
- $ref: '#/components/parameters/format'
- $ref: '#/components/parameters/version'
- $ref: '#/components/parameters/cityname'
- $ref: '#/components/parameters/blockheight'
Expand All @@ -336,6 +349,7 @@ paths:
tags:
- Mining
parameters:
- $ref: '#/components/parameters/format'
- $ref: '#/components/parameters/version'
- $ref: '#/components/parameters/cityname'
- $ref: '#/components/parameters/blockheight'
Expand All @@ -355,6 +369,7 @@ paths:
tags:
- Mining Claims
parameters:
- $ref: '#/components/parameters/format'
- $ref: '#/components/parameters/version'
- $ref: '#/components/parameters/cityname'
- $ref: '#/components/parameters/blockheight'
Expand All @@ -374,6 +389,7 @@ paths:
tags:
- Mining Claims
parameters:
- $ref: '#/components/parameters/format'
- $ref: '#/components/parameters/version'
- $ref: '#/components/parameters/cityname'
- $ref: '#/components/parameters/blockheight'
Expand Down Expand Up @@ -460,6 +476,7 @@ paths:
tags:
- Stacking
parameters:
- $ref: '#/components/parameters/format'
- $ref: '#/components/parameters/version'
- $ref: '#/components/parameters/cityname'
- $ref: '#/components/parameters/blockheight'
Expand All @@ -478,6 +495,7 @@ paths:
tags:
- Stacking
parameters:
- $ref: '#/components/parameters/format'
- $ref: '#/components/parameters/version'
- $ref: '#/components/parameters/cityname'
- $ref: '#/components/parameters/cycleid'
Expand All @@ -496,6 +514,7 @@ paths:
tags:
- Stacking
parameters:
- $ref: '#/components/parameters/format'
- $ref: '#/components/parameters/version'
- $ref: '#/components/parameters/cityname'
- $ref: '#/components/parameters/cycleid'
Expand All @@ -518,6 +537,7 @@ paths:
tags:
- Stacking Claims
parameters:
- $ref: '#/components/parameters/format'
- $ref: '#/components/parameters/version'
- $ref: '#/components/parameters/cityname'
- $ref: '#/components/parameters/cycleid'
Expand All @@ -537,6 +557,7 @@ paths:
tags:
- Token
parameters:
- $ref: '#/components/parameters/format'
- $ref: '#/components/parameters/version'
- $ref: '#/components/parameters/cityname'
- $ref: '#/components/parameters/blockheight'
Expand Down Expand Up @@ -659,6 +680,7 @@ paths:
tags:
- Token
parameters:
- $ref: '#/components/parameters/format'
- $ref: '#/components/parameters/version'
- $ref: '#/components/parameters/cityname'
responses:
Expand All @@ -676,6 +698,7 @@ paths:
tags:
- Token
parameters:
- $ref: '#/components/parameters/format'
- $ref: '#/components/parameters/version'
- $ref: '#/components/parameters/cityname'
responses:
Expand All @@ -693,6 +716,7 @@ paths:
tags:
- Token
parameters:
- $ref: '#/components/parameters/format'
- $ref: '#/components/parameters/version'
- $ref: '#/components/parameters/cityname'
- $ref: '#/components/parameters/address'
Expand All @@ -711,6 +735,7 @@ paths:
tags:
- Token
parameters:
- $ref: '#/components/parameters/format'
- $ref: '#/components/parameters/version'
- $ref: '#/components/parameters/cityname'
responses:
Expand All @@ -731,6 +756,7 @@ paths:
tags:
- Token
parameters:
- $ref: '#/components/parameters/format'
- $ref: '#/components/parameters/cityname'
responses:
"200":
Expand All @@ -753,6 +779,7 @@ paths:
tags:
- Token
parameters:
- $ref: '#/components/parameters/format'
- $ref: '#/components/parameters/cityname'
responses:
"200":
Expand All @@ -769,6 +796,7 @@ paths:
tags:
- Token
parameters:
- $ref: '#/components/parameters/format'
- $ref: '#/components/parameters/version'
- $ref: '#/components/parameters/cityname'
responses:
Expand Down Expand Up @@ -1052,6 +1080,7 @@ paths:
tags:
- Tools
parameters:
- $ref: '#/components/parameters/format'
- $ref: '#/components/parameters/version'
- $ref: '#/components/parameters/cityname'
- $ref: '#/components/parameters/address'
Expand Down Expand Up @@ -1128,6 +1157,13 @@ components:
type: string
enum: ["true", "false"]
description: (Optional) Toggle calling the `or-default` version of the function which returns an empty value instead of an error. Defaults to `false`.
format:
in: query
name: format
schema:
type: string
enum: ["json", "raw"]
description: (Optional) The output format for the response. Defaults to `json`.
# Reusable objects
schemas:
citylist:
Expand Down

0 comments on commit b30b1d4

Please sign in to comment.