Skip to content

Commit

Permalink
Merge pull request #1600 from kent-3/kent-3/patch-1
Browse files Browse the repository at this point in the history
Fix Swagger/OpenAPI Schema
  • Loading branch information
assafmo authored Jan 29, 2024
2 parents 35315f0 + c609f73 commit e224c95
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 45 deletions.
36 changes: 17 additions & 19 deletions client/docs/static/openapi/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38971,7 +38971,7 @@ paths:
type: string
example: "26354"
tags:
tyDeprecated: array
type: array
items:
type: object
properties:
Expand Down Expand Up @@ -39122,7 +39122,7 @@ paths:
type: string
example: "26354"
tags:
tyDeprecated: array
type: array
items:
type: object
properties:
Expand Down Expand Up @@ -39232,7 +39232,7 @@ paths:
log:
type: string
tags:
tyDeprecated: array
type: array
items:
type: object
properties:
Expand Down Expand Up @@ -39266,7 +39266,7 @@ paths:
log:
type: string
tags:
tyDeprecated: array
type: array
items:
type: object
properties:
Expand Down Expand Up @@ -43277,15 +43277,13 @@ paths:
schema:
type: object
properties:
type: object
properties:
height:
type: string
result:
type: object
properties:
ioExchPubkey:
type: string
height:
type: string
result:
type: object
properties:
ioExchPubkey:
type: string
"404":
description: Not Found
components:
Expand Down Expand Up @@ -69089,7 +69087,7 @@ components:
log:
type: string
tags:
tyDeprecated: array
type: array
items:
type: object
properties:
Expand Down Expand Up @@ -69123,7 +69121,7 @@ components:
log:
type: string
tags:
tyDeprecated: array
type: array
items:
type: object
properties:
Expand Down Expand Up @@ -69160,7 +69158,7 @@ components:
log:
type: string
tags:
tyDeprecated: array
type: array
items:
type: object
properties:
Expand Down Expand Up @@ -69194,7 +69192,7 @@ components:
log:
type: string
tags:
tyDeprecated: array
type: array
items:
type: object
properties:
Expand Down Expand Up @@ -69313,7 +69311,7 @@ components:
type: string
example: "26354"
tags:
tyDeprecated: array
type: array
items:
type: object
properties:
Expand Down Expand Up @@ -69408,7 +69406,7 @@ components:
type: string
example: "26354"
tags:
tyDeprecated: array
type: array
items:
type: object
properties:
Expand Down
36 changes: 17 additions & 19 deletions client/docs/static/swagger/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42560,7 +42560,7 @@ paths:
type: string
example: '26354'
tags:
tyDeprecated: array
type: array
items:
type: object
properties:
Expand Down Expand Up @@ -42708,7 +42708,7 @@ paths:
type: string
example: '26354'
tags:
tyDeprecated: array
type: array
items:
type: object
properties:
Expand Down Expand Up @@ -42826,7 +42826,7 @@ paths:
log:
type: string
tags:
tyDeprecated: array
type: array
items:
type: object
properties:
Expand Down Expand Up @@ -42860,7 +42860,7 @@ paths:
log:
type: string
tags:
tyDeprecated: array
type: array
items:
type: object
properties:
Expand Down Expand Up @@ -47023,15 +47023,13 @@ paths:
schema:
type: object
properties:
type: object
properties:
height:
type: string
result:
type: object
properties:
ioExchPubkey:
type: string
height:
type: string
result:
type: object
properties:
ioExchPubkey:
type: string
'404':
description: Not Found
definitions:
Expand Down Expand Up @@ -74619,7 +74617,7 @@ definitions:
log:
type: string
tags:
tyDeprecated: array
type: array
items:
type: object
properties:
Expand Down Expand Up @@ -74653,7 +74651,7 @@ definitions:
log:
type: string
tags:
tyDeprecated: array
type: array
items:
type: object
properties:
Expand Down Expand Up @@ -74690,7 +74688,7 @@ definitions:
log:
type: string
tags:
tyDeprecated: array
type: array
items:
type: object
properties:
Expand Down Expand Up @@ -74724,7 +74722,7 @@ definitions:
log:
type: string
tags:
tyDeprecated: array
type: array
items:
type: object
properties:
Expand Down Expand Up @@ -74844,7 +74842,7 @@ definitions:
type: string
example: '26354'
tags:
tyDeprecated: array
type: array
items:
type: object
properties:
Expand Down Expand Up @@ -74940,7 +74938,7 @@ definitions:
type: string
example: '26354'
tags:
tyDeprecated: array
type: array
items:
type: object
properties:
Expand Down
12 changes: 5 additions & 7 deletions client/docs/swagger_legacy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2198,10 +2198,8 @@ paths:
200:
description: OK
schema:
type: object
properties:
$ref: "#/definitions/IoExchPubkeyResponse"
"404":
$ref: "#/definitions/IoExchPubkeyResponse"
404:
description: Not Found
definitions:
CodeIdContracts:
Expand Down Expand Up @@ -2319,7 +2317,7 @@ definitions:
log:
type: string
tags:
tyDeprecated: array
type: array
items:
$ref: "#/definitions/KVPair"
example:
Expand Down Expand Up @@ -2349,7 +2347,7 @@ definitions:
log:
type: string
tags:
tyDeprecated: array
type: array
items:
$ref: "#/definitions/KVPair"
example:
Expand Down Expand Up @@ -2426,7 +2424,7 @@ definitions:
type: string
example: "26354"
tags:
tyDeprecated: array
type: array
items:
$ref: "#/definitions/KVPair"
PaginatedQueryTxs:
Expand Down

0 comments on commit e224c95

Please sign in to comment.