Skip to content

Commit

Permalink
feat: add openapi spec validation on integration tests (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
gfyrag authored and flemzord committed May 12, 2023
1 parent 91aaddf commit 63a3471
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ paths:
schema:
type: object
properties: {}
example: metadata[key]=value1&metadata[a.nested.key]=value2
example: { admin: true, a: { nested: { key: value}} }
responses:
"200":
description: OK
Expand Down Expand Up @@ -156,7 +156,7 @@ paths:
schema:
type: object
properties: {}
example: metadata[key]=value1&metadata[a.nested.key]=value2
example: { admin: true, a: { nested: { key: value}} }
- name: balance
in: query
description: Filter accounts by their balance (default operator is gte)
Expand Down Expand Up @@ -457,7 +457,7 @@ paths:
schema:
type: object
properties: { }
example: metadata[key]=value1&metadata[a.nested.key]=value2
example: { admin: true, a: { nested: { key: value}} }
responses:
"200":
description: OK
Expand Down Expand Up @@ -518,7 +518,7 @@ paths:
(in descending order).
schema:
type: string
example: 1234
example: "1234"
- name: reference
in: query
description: Find transactions by reference field.
Expand Down Expand Up @@ -610,7 +610,7 @@ paths:
schema:
type: object
properties: { }
example: metadata[key]=value1&metadata[a.nested.key]=value2
example: { admin: true, a: { nested: { key: value}} }
responses:
"200":
description: OK
Expand Down Expand Up @@ -924,7 +924,7 @@ paths:
(in descending order).
schema:
type: string
example: 1234
example: "1234"
- name: startTime
in: query
description: |
Expand Down

0 comments on commit 63a3471

Please sign in to comment.