Skip to content

Commit

Permalink
ZO-4598: "inline" parameter definition for 'summaries' and fix name
Browse files Browse the repository at this point in the history
Note that we drop the unneeded `select` parameters as it's not
allow in `zeit.web` anyway.
  • Loading branch information
witsch committed Mar 27, 2024
1 parent c292fb2 commit aeab307
Showing 1 changed file with 7 additions and 19 deletions.
26 changes: 7 additions & 19 deletions docs/api/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -327,8 +327,13 @@ paths:
tags:
- summaries
parameters:
- $ref: '#/components/parameters/rowFilter.summaries.id'
- $ref: '#/components/parameters/select'
- name: uuid
description: filter columns by "summary" uuid
required: false
in: query
schema:
type: string
pattern: '^eq.[-a-f0-9]+$'
responses:
"200":
description: return summaries
Expand Down Expand Up @@ -1788,23 +1793,6 @@ components:
type: string
example: 2024-03-09T07:48:39.27587+00:00

parameters:
select:
name: select
description: select output columns
required: false
in: query
schema:
type: string
rowFilter.summaries.id:
name: rowFilter.summaries.id
description: filter Columns by "summary" id
required: false
in: query
schema:
type: string
pattern: '^eq.[-a-f0-9]+$'

securitySchemes:
default:
type: http
Expand Down

0 comments on commit aeab307

Please sign in to comment.