Skip to content

Commit

Permalink
fix(api): fix sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
philwinder committed Apr 24, 2023
1 parent a5f6892 commit c4907a0
Show file tree
Hide file tree
Showing 16 changed files with 154 additions and 278 deletions.
70 changes: 3 additions & 67 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,6 @@ paths:
get:
description: Lists all workflows and jobs in the queue
parameters:
- description: "[list of included related resources](https://jsonapi.org/format/#fetching-includes)"
in: query
name: include
required: false
schema:
type: string
style: form
- description: "[fields to sort by](https://jsonapi.org/format/#fetching-sorting)"
in: query
name: sort
Expand All @@ -53,13 +46,6 @@ paths:
schema:
format: int32
type: integer
- description: exact id
in: query
name: "filter[id]"
required: false
schema:
$ref: '#/components/schemas/id'
style: form
responses:
"200":
content:
Expand Down Expand Up @@ -183,20 +169,6 @@ paths:
get:
description: Lists all nodes in the execution graph
parameters:
- description: "[list of included related resources](https://jsonapi.org/format/#fetching-includes)"
in: query
name: include
required: false
schema:
type: string
style: form
- description: "[fields to sort by](https://jsonapi.org/format/#fetching-sorting)"
in: query
name: sort
required: false
schema:
type: string
style: form
- description: size of page for paginated results
in: query
name: "page[size]"
Expand All @@ -211,13 +183,6 @@ paths:
schema:
format: int32
type: integer
- description: exact id
in: query
name: "filter[id]"
required: false
schema:
$ref: '#/components/schemas/id'
style: form
responses:
"200":
content:
Expand All @@ -244,20 +209,6 @@ paths:
get:
description: Lists all jobs
parameters:
- description: "[list of included related resources](https://jsonapi.org/format/#fetching-includes)"
in: query
name: include
required: false
schema:
type: string
style: form
- description: "[fields to sort by](https://jsonapi.org/format/#fetching-sorting)"
in: query
name: sort
required: false
schema:
type: string
style: form
- description: size of page for paginated results
in: query
name: "page[size]"
Expand All @@ -272,13 +223,6 @@ paths:
schema:
format: int32
type: integer
- description: exact id
in: query
name: "filter[id]"
required: false
schema:
$ref: '#/components/schemas/id'
style: form
responses:
"200":
content:
Expand Down Expand Up @@ -330,14 +274,6 @@ paths:
summary: Get a job by id
components:
parameters:
include:
description: "[list of included related resources](https://jsonapi.org/format/#fetching-includes)"
in: query
name: include
required: false
schema:
type: string
style: form
sort:
description: "[fields to sort by](https://jsonapi.org/format/#fetching-sorting)"
in: query
Expand Down Expand Up @@ -405,9 +341,6 @@ components:
an attribute or relationship.
type: object
type: object
id:
description: "[resource object identifier](https://jsonapi.org/format/#document-resource-object-identification)"
type: string
QueueCollection:
additionalProperties: false
properties:
Expand Down Expand Up @@ -569,6 +502,9 @@ components:
type:
description: "[resource object type](https://jsonapi.org/format/#document-resource-object-identification)"
type: string
id:
description: "[resource object identifier](https://jsonapi.org/format/#document-resource-object-identification)"
type: string
attributes:
additionalProperties: false
description: Members of the attributes object (`attributes`) represent information
Expand Down
Loading

0 comments on commit c4907a0

Please sign in to comment.