Skip to content

Commit e224c95

Browse files
authored
Merge pull request #1600 from kent-3/kent-3/patch-1
Fix Swagger/OpenAPI Schema
2 parents 35315f0 + c609f73 commit e224c95

File tree

3 files changed

+39
-45
lines changed

3 files changed

+39
-45
lines changed

client/docs/static/openapi/openapi.yaml

+17-19
Original file line numberDiff line numberDiff line change
@@ -38971,7 +38971,7 @@ paths:
3897138971
type: string
3897238972
example: "26354"
3897338973
tags:
38974-
tyDeprecated: array
38974+
type: array
3897538975
items:
3897638976
type: object
3897738977
properties:
@@ -39122,7 +39122,7 @@ paths:
3912239122
type: string
3912339123
example: "26354"
3912439124
tags:
39125-
tyDeprecated: array
39125+
type: array
3912639126
items:
3912739127
type: object
3912839128
properties:
@@ -39232,7 +39232,7 @@ paths:
3923239232
log:
3923339233
type: string
3923439234
tags:
39235-
tyDeprecated: array
39235+
type: array
3923639236
items:
3923739237
type: object
3923839238
properties:
@@ -39266,7 +39266,7 @@ paths:
3926639266
log:
3926739267
type: string
3926839268
tags:
39269-
tyDeprecated: array
39269+
type: array
3927039270
items:
3927139271
type: object
3927239272
properties:
@@ -43277,15 +43277,13 @@ paths:
4327743277
schema:
4327843278
type: object
4327943279
properties:
43280-
type: object
43281-
properties:
43282-
height:
43283-
type: string
43284-
result:
43285-
type: object
43286-
properties:
43287-
ioExchPubkey:
43288-
type: string
43280+
height:
43281+
type: string
43282+
result:
43283+
type: object
43284+
properties:
43285+
ioExchPubkey:
43286+
type: string
4328943287
"404":
4329043288
description: Not Found
4329143289
components:
@@ -69089,7 +69087,7 @@ components:
6908969087
log:
6909069088
type: string
6909169089
tags:
69092-
tyDeprecated: array
69090+
type: array
6909369091
items:
6909469092
type: object
6909569093
properties:
@@ -69123,7 +69121,7 @@ components:
6912369121
log:
6912469122
type: string
6912569123
tags:
69126-
tyDeprecated: array
69124+
type: array
6912769125
items:
6912869126
type: object
6912969127
properties:
@@ -69160,7 +69158,7 @@ components:
6916069158
log:
6916169159
type: string
6916269160
tags:
69163-
tyDeprecated: array
69161+
type: array
6916469162
items:
6916569163
type: object
6916669164
properties:
@@ -69194,7 +69192,7 @@ components:
6919469192
log:
6919569193
type: string
6919669194
tags:
69197-
tyDeprecated: array
69195+
type: array
6919869196
items:
6919969197
type: object
6920069198
properties:
@@ -69313,7 +69311,7 @@ components:
6931369311
type: string
6931469312
example: "26354"
6931569313
tags:
69316-
tyDeprecated: array
69314+
type: array
6931769315
items:
6931869316
type: object
6931969317
properties:
@@ -69408,7 +69406,7 @@ components:
6940869406
type: string
6940969407
example: "26354"
6941069408
tags:
69411-
tyDeprecated: array
69409+
type: array
6941269410
items:
6941369411
type: object
6941469412
properties:

client/docs/static/swagger/swagger.yaml

+17-19
Original file line numberDiff line numberDiff line change
@@ -42560,7 +42560,7 @@ paths:
4256042560
type: string
4256142561
example: '26354'
4256242562
tags:
42563-
tyDeprecated: array
42563+
type: array
4256442564
items:
4256542565
type: object
4256642566
properties:
@@ -42708,7 +42708,7 @@ paths:
4270842708
type: string
4270942709
example: '26354'
4271042710
tags:
42711-
tyDeprecated: array
42711+
type: array
4271242712
items:
4271342713
type: object
4271442714
properties:
@@ -42826,7 +42826,7 @@ paths:
4282642826
log:
4282742827
type: string
4282842828
tags:
42829-
tyDeprecated: array
42829+
type: array
4283042830
items:
4283142831
type: object
4283242832
properties:
@@ -42860,7 +42860,7 @@ paths:
4286042860
log:
4286142861
type: string
4286242862
tags:
42863-
tyDeprecated: array
42863+
type: array
4286442864
items:
4286542865
type: object
4286642866
properties:
@@ -47023,15 +47023,13 @@ paths:
4702347023
schema:
4702447024
type: object
4702547025
properties:
47026-
type: object
47027-
properties:
47028-
height:
47029-
type: string
47030-
result:
47031-
type: object
47032-
properties:
47033-
ioExchPubkey:
47034-
type: string
47026+
height:
47027+
type: string
47028+
result:
47029+
type: object
47030+
properties:
47031+
ioExchPubkey:
47032+
type: string
4703547033
'404':
4703647034
description: Not Found
4703747035
definitions:
@@ -74619,7 +74617,7 @@ definitions:
7461974617
log:
7462074618
type: string
7462174619
tags:
74622-
tyDeprecated: array
74620+
type: array
7462374621
items:
7462474622
type: object
7462574623
properties:
@@ -74653,7 +74651,7 @@ definitions:
7465374651
log:
7465474652
type: string
7465574653
tags:
74656-
tyDeprecated: array
74654+
type: array
7465774655
items:
7465874656
type: object
7465974657
properties:
@@ -74690,7 +74688,7 @@ definitions:
7469074688
log:
7469174689
type: string
7469274690
tags:
74693-
tyDeprecated: array
74691+
type: array
7469474692
items:
7469574693
type: object
7469674694
properties:
@@ -74724,7 +74722,7 @@ definitions:
7472474722
log:
7472574723
type: string
7472674724
tags:
74727-
tyDeprecated: array
74725+
type: array
7472874726
items:
7472974727
type: object
7473074728
properties:
@@ -74844,7 +74842,7 @@ definitions:
7484474842
type: string
7484574843
example: '26354'
7484674844
tags:
74847-
tyDeprecated: array
74845+
type: array
7484874846
items:
7484974847
type: object
7485074848
properties:
@@ -74940,7 +74938,7 @@ definitions:
7494074938
type: string
7494174939
example: '26354'
7494274940
tags:
74943-
tyDeprecated: array
74941+
type: array
7494474942
items:
7494574943
type: object
7494674944
properties:

client/docs/swagger_legacy.yaml

+5-7
Original file line numberDiff line numberDiff line change
@@ -2198,10 +2198,8 @@ paths:
21982198
200:
21992199
description: OK
22002200
schema:
2201-
type: object
2202-
properties:
2203-
$ref: "#/definitions/IoExchPubkeyResponse"
2204-
"404":
2201+
$ref: "#/definitions/IoExchPubkeyResponse"
2202+
404:
22052203
description: Not Found
22062204
definitions:
22072205
CodeIdContracts:
@@ -2319,7 +2317,7 @@ definitions:
23192317
log:
23202318
type: string
23212319
tags:
2322-
tyDeprecated: array
2320+
type: array
23232321
items:
23242322
$ref: "#/definitions/KVPair"
23252323
example:
@@ -2349,7 +2347,7 @@ definitions:
23492347
log:
23502348
type: string
23512349
tags:
2352-
tyDeprecated: array
2350+
type: array
23532351
items:
23542352
$ref: "#/definitions/KVPair"
23552353
example:
@@ -2426,7 +2424,7 @@ definitions:
24262424
type: string
24272425
example: "26354"
24282426
tags:
2429-
tyDeprecated: array
2427+
type: array
24302428
items:
24312429
$ref: "#/definitions/KVPair"
24322430
PaginatedQueryTxs:

0 commit comments

Comments
 (0)