Skip to content

Commit

Permalink
fix openapi spec and typo in query (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
Azorlogh authored Aug 9, 2021
1 parent 86d4e21 commit d36e192
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ledger/query/cursor.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ type Cursor struct {
PageSize int `json:"page_size"`
HasMore bool `json:"has_more"`
Total int `json:"total,omitempty"`
Remaining int `json:"remaning_results"`
Remaining int `json:"remaining_results"`
Previous string `json:"previous,omitempty"`
Next string `json:"next,omitempty"`
Data interface{} `json:"data"`
Expand Down
10 changes: 10 additions & 0 deletions spec/http.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,11 @@ paths:
in: path
schema:
type: string
- required: true
name: reference
in: path
schema:
$ref: "#/components/schemas/reference"
requestBody:
required: true
content:
Expand Down Expand Up @@ -172,6 +177,11 @@ paths:
in: path
schema:
type: string
- required: true
name: reference
in: path
schema:
$ref: "#/components/schemas/reference"
requestBody:
required: true
content:
Expand Down

0 comments on commit d36e192

Please sign in to comment.