diff --git a/ledger/query/cursor.go b/ledger/query/cursor.go index 7bfdec96a..1c91c1e7e 100644 --- a/ledger/query/cursor.go +++ b/ledger/query/cursor.go @@ -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"` diff --git a/spec/http.yml b/spec/http.yml index d22d85662..bbaa6c918 100644 --- a/spec/http.yml +++ b/spec/http.yml @@ -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: @@ -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: