As noted in a bug against the spec [1], there is some duplication here.
Go with the more obvious path until that confusion is cleared up.
[1] https://github.com/OAI/OpenAPI-Specification/issues/1788
Signed-off-by: Stephen Finucane <stephen@that.guru>
- $ref: '#/components/parameters/Search'
- in: query
name: project
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: owner
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: public
+ description: ''
schema:
- description: ''
title: ''
type: string
responses:
- in: path
name: id
required: true
+ description: ''
schema:
- description: ''
title: ''
type: string
responses:
- $ref: '#/components/parameters/SinceFilter'
- in: query
name: project
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: series
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: submitter
+ description: ''
schema:
- description: ''
title: ''
type: string
responses:
parameters:
- in: path
name: id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
responses:
parameters:
- in: path
name: id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
- $ref: '#/components/parameters/Page'
- $ref: '#/components/parameters/SinceFilter'
- in: query
name: project
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: category
+ description: ''
schema:
- description: ''
title: ''
type: string
enum:
- series-completed
- in: query
name: series
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: patch
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: cover
+ description: ''
schema:
- description: ''
title: ''
type: string
responses:
- $ref: '#/components/parameters/SinceFilter'
- in: query
name: project
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: series
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: submitter
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: delegate
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: state
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: archived
+ description: ''
schema:
- description: ''
title: ''
type: string
responses:
parameters:
- in: path
name: id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
- tags:
- - patches
responses:
'200':
description: ''
application/json:
schema:
$ref: '#/components/schemas/Error'
+ tags:
+ - patches
patch:
description: Update a patch (partial).
operationId: patches_partial_update
parameters:
- in: path
name: id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
requestBody:
parameters:
- in: path
name: id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
requestBody:
parameters:
- in: path
name: id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
- $ref: '#/components/parameters/Page'
parameters:
- in: path
name: patch_id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
- $ref: '#/components/parameters/Page'
- $ref: '#/components/parameters/SinceFilter'
- in: query
name: user
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: state
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: context
+ description: ''
schema:
- description: ''
title: ''
type: string
responses:
parameters:
- in: path
name: patch_id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
requestBody:
parameters:
- in: path
name: patch_id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
- in: path
name: check_id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
responses:
parameters:
- in: path
name: id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
responses:
parameters:
- in: path
name: id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
responses:
parameters:
- in: path
name: id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
requestBody:
parameters:
- in: path
name: id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
requestBody:
- $ref: '#/components/parameters/SinceFilter'
- in: query
name: submitter
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: project
+ description: ''
schema:
- description: ''
title: ''
type: string
responses:
parameters:
- in: path
name: id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
responses:
parameters:
- in: path
name: id
+ description: A unique integer value identifying this user.
required: true
schema:
- description: A unique integer value identifying this user.
title: ID
type: integer
responses:
parameters:
- in: path
name: id
+ description: A unique integer value identifying this user.
required: true
schema:
- description: A unique integer value identifying this user.
title: ID
type: integer
requestBody:
parameters:
- in: path
name: id
+ description: A unique integer value identifying this user.
required: true
schema:
- description: A unique integer value identifying this user.
title: ID
type: integer
requestBody:
Page:
in: query
name: page
+ description: A page number within the paginated result set.
schema:
- description: A page number within the paginated result set.
title: Page
type: integer
PageSize:
in: query
name: per_page
+ description: Number of results to return per page.
schema:
- description: Number of results to return per page.
title: Page size
type: integer
Order:
in: query
name: order
+ description: Which field to use when ordering the results.
schema:
- description: Which field to use when ordering the results.
title: Ordering
type: string
Search:
in: query
name: q
+ description: A search term.
schema:
- description: A search term.
title: Search
type: string
BeforeFilter:
in: query
name: before
+ description: ''
schema:
- description: ''
title: ''
type: string
SinceFilter:
in: query
name: since
+ description: ''
schema:
- description: ''
title: ''
type: string
headers:
- $ref: '#/components/parameters/Search'
- in: query
name: project
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: owner
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: public
+ description: ''
schema:
- description: ''
title: ''
type: string
responses:
- in: path
name: id
required: true
+ description: ''
schema:
- description: ''
title: ''
type: string
responses:
- $ref: '#/components/parameters/SinceFilter'
- in: query
name: project
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: series
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: submitter
+ description: ''
schema:
- description: ''
title: ''
type: string
responses:
parameters:
- in: path
name: id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
responses:
parameters:
- in: path
name: id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
- $ref: '#/components/parameters/Page'
- $ref: '#/components/parameters/SinceFilter'
- in: query
name: project
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: category
+ description: ''
schema:
- description: ''
title: ''
type: string
enum:
- series-completed
- in: query
name: series
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: patch
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: cover
+ description: ''
schema:
- description: ''
title: ''
type: string
responses:
- $ref: '#/components/parameters/SinceFilter'
- in: query
name: project
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: series
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: submitter
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: delegate
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: state
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: archived
+ description: ''
schema:
- description: ''
title: ''
type: string
responses:
parameters:
- in: path
name: id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
- tags:
- - patches
responses:
'200':
description: ''
application/json:
schema:
$ref: '#/components/schemas/Error'
+ tags:
+ - patches
patch:
description: Update a patch (partial).
operationId: patches_partial_update
parameters:
- in: path
name: id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
requestBody:
parameters:
- in: path
name: id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
requestBody:
parameters:
- in: path
name: id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
- $ref: '#/components/parameters/Page'
parameters:
- in: path
name: patch_id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
- $ref: '#/components/parameters/Page'
- $ref: '#/components/parameters/SinceFilter'
- in: query
name: user
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: state
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: context
+ description: ''
schema:
- description: ''
title: ''
type: string
responses:
parameters:
- in: path
name: patch_id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
requestBody:
parameters:
- in: path
name: patch_id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
- in: path
name: check_id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
responses:
parameters:
- in: path
name: id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
responses:
parameters:
- in: path
name: id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
responses:
parameters:
- in: path
name: id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
requestBody:
parameters:
- in: path
name: id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
requestBody:
- $ref: '#/components/parameters/SinceFilter'
- in: query
name: submitter
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: project
+ description: ''
schema:
- description: ''
title: ''
type: string
responses:
parameters:
- in: path
name: id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
responses:
parameters:
- in: path
name: id
+ description: A unique integer value identifying this user.
required: true
schema:
- description: A unique integer value identifying this user.
title: ID
type: integer
responses:
parameters:
- in: path
name: id
+ description: A unique integer value identifying this user.
required: true
schema:
- description: A unique integer value identifying this user.
title: ID
type: integer
requestBody:
parameters:
- in: path
name: id
+ description: A unique integer value identifying this user.
required: true
schema:
- description: A unique integer value identifying this user.
title: ID
type: integer
requestBody:
Page:
in: query
name: page
+ description: A page number within the paginated result set.
schema:
- description: A page number within the paginated result set.
title: Page
type: integer
PageSize:
in: query
name: per_page
+ description: Number of results to return per page.
schema:
- description: Number of results to return per page.
title: Page size
type: integer
Order:
in: query
name: order
+ description: Which field to use when ordering the results.
schema:
- description: Which field to use when ordering the results.
title: Ordering
type: string
Search:
in: query
name: q
+ description: A search term.
schema:
- description: A search term.
title: Search
type: string
BeforeFilter:
in: query
name: before
+ description: ''
schema:
- description: ''
title: ''
type: string
SinceFilter:
in: query
name: since
+ description: ''
schema:
- description: ''
title: ''
type: string
headers:
- $ref: '#/components/parameters/Search'
- in: query
name: project
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: owner
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: public
+ description: ''
schema:
- description: ''
title: ''
type: string
responses:
- in: path
name: id
required: true
+ description: ''
schema:
- description: ''
title: ''
type: string
responses:
- $ref: '#/components/parameters/SinceFilter'
- in: query
name: project
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: series
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: submitter
+ description: ''
schema:
- description: ''
title: ''
type: string
responses:
parameters:
- in: path
name: id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
responses:
parameters:
- in: path
name: id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
- $ref: '#/components/parameters/Page'
- $ref: '#/components/parameters/SinceFilter'
- in: query
name: project
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: category
+ description: ''
schema:
- description: ''
title: ''
type: string
enum:
- series-completed
- in: query
name: series
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: patch
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: cover
+ description: ''
schema:
- description: ''
title: ''
type: string
responses:
- $ref: '#/components/parameters/SinceFilter'
- in: query
name: project
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: series
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: submitter
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: delegate
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: state
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: archived
+ description: ''
schema:
- description: ''
title: ''
type: string
responses:
parameters:
- in: path
name: id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
- tags:
- - patches
responses:
'200':
description: ''
application/json:
schema:
$ref: '#/components/schemas/Error'
+ tags:
+ - patches
patch:
description: Update a patch (partial).
operationId: patches_partial_update
parameters:
- in: path
name: id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
requestBody:
parameters:
- in: path
name: id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
requestBody:
parameters:
- in: path
name: id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
- $ref: '#/components/parameters/Page'
parameters:
- in: path
name: patch_id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
- $ref: '#/components/parameters/Page'
- $ref: '#/components/parameters/SinceFilter'
- in: query
name: user
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: state
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: context
+ description: ''
schema:
- description: ''
title: ''
type: string
responses:
parameters:
- in: path
name: patch_id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
requestBody:
parameters:
- in: path
name: patch_id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
- in: path
name: check_id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
responses:
parameters:
- in: path
name: id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
responses:
parameters:
- in: path
name: id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
responses:
parameters:
- in: path
name: id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
requestBody:
parameters:
- in: path
name: id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
requestBody:
- $ref: '#/components/parameters/SinceFilter'
- in: query
name: submitter
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: project
+ description: ''
schema:
- description: ''
title: ''
type: string
responses:
parameters:
- in: path
name: id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
responses:
parameters:
- in: path
name: id
+ description: A unique integer value identifying this user.
required: true
schema:
- description: A unique integer value identifying this user.
title: ID
type: integer
responses:
parameters:
- in: path
name: id
+ description: A unique integer value identifying this user.
required: true
schema:
- description: A unique integer value identifying this user.
title: ID
type: integer
requestBody:
parameters:
- in: path
name: id
+ description: A unique integer value identifying this user.
required: true
schema:
- description: A unique integer value identifying this user.
title: ID
type: integer
requestBody:
Page:
in: query
name: page
+ description: A page number within the paginated result set.
schema:
- description: A page number within the paginated result set.
title: Page
type: integer
PageSize:
in: query
name: per_page
+ description: Number of results to return per page.
schema:
- description: Number of results to return per page.
title: Page size
type: integer
Order:
in: query
name: order
+ description: Which field to use when ordering the results.
schema:
- description: Which field to use when ordering the results.
title: Ordering
type: string
Search:
in: query
name: q
+ description: A search term.
schema:
- description: A search term.
title: Search
type: string
BeforeFilter:
in: query
name: before
+ description: ''
schema:
- description: ''
title: ''
type: string
SinceFilter:
in: query
name: since
+ description: ''
schema:
- description: ''
title: ''
type: string
headers:
- $ref: '#/components/parameters/Search'
- in: query
name: project
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: owner
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: public
+ description: ''
schema:
- description: ''
title: ''
type: string
responses:
- in: path
name: id
required: true
+ description: ''
schema:
- description: ''
title: ''
type: string
responses:
- $ref: '#/components/parameters/SinceFilter'
- in: query
name: project
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: series
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: submitter
+ description: ''
schema:
- description: ''
title: ''
type: string
responses:
parameters:
- in: path
name: id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
responses:
parameters:
- in: path
name: id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
- $ref: '#/components/parameters/Page'
- $ref: '#/components/parameters/SinceFilter'
- in: query
name: project
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: category
+ description: ''
schema:
- description: ''
title: ''
type: string
enum:
- series-completed
- in: query
name: series
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: patch
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: cover
+ description: ''
schema:
- description: ''
title: ''
type: string
responses:
- $ref: '#/components/parameters/SinceFilter'
- in: query
name: project
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: series
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: submitter
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: delegate
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: state
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: archived
+ description: ''
schema:
- description: ''
title: ''
type: string
responses:
parameters:
- in: path
name: id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
- tags:
- - patches
responses:
'200':
description: ''
application/json:
schema:
$ref: '#/components/schemas/Error'
+ tags:
+ - patches
patch:
description: Update a patch (partial).
operationId: patches_partial_update
parameters:
- in: path
name: id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
requestBody:
parameters:
- in: path
name: id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
requestBody:
parameters:
- in: path
name: id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
- $ref: '#/components/parameters/Page'
parameters:
- in: path
name: patch_id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
- $ref: '#/components/parameters/Page'
- $ref: '#/components/parameters/SinceFilter'
- in: query
name: user
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: state
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: context
+ description: ''
schema:
- description: ''
title: ''
type: string
responses:
parameters:
- in: path
name: patch_id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
requestBody:
parameters:
- in: path
name: patch_id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
- in: path
name: check_id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
responses:
parameters:
- in: path
name: id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
responses:
parameters:
- in: path
name: id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
responses:
parameters:
- in: path
name: id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
requestBody:
parameters:
- in: path
name: id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
requestBody:
- $ref: '#/components/parameters/SinceFilter'
- in: query
name: submitter
+ description: ''
schema:
- description: ''
title: ''
type: string
- in: query
name: project
+ description: ''
schema:
- description: ''
title: ''
type: string
responses:
parameters:
- in: path
name: id
+ description: ''
required: true
schema:
- description: ''
title: ''
type: string
responses:
parameters:
- in: path
name: id
+ description: A unique integer value identifying this user.
required: true
schema:
- description: A unique integer value identifying this user.
title: ID
type: integer
responses:
parameters:
- in: path
name: id
+ description: A unique integer value identifying this user.
required: true
schema:
- description: A unique integer value identifying this user.
title: ID
type: integer
requestBody:
parameters:
- in: path
name: id
+ description: A unique integer value identifying this user.
required: true
schema:
- description: A unique integer value identifying this user.
title: ID
type: integer
requestBody:
Page:
in: query
name: page
+ description: A page number within the paginated result set.
schema:
- description: A page number within the paginated result set.
title: Page
type: integer
PageSize:
in: query
name: per_page
+ description: Number of results to return per page.
schema:
- description: Number of results to return per page.
title: Page size
type: integer
Order:
in: query
name: order
+ description: Which field to use when ordering the results.
schema:
- description: Which field to use when ordering the results.
title: Ordering
type: string
Search:
in: query
name: q
+ description: A search term.
schema:
- description: A search term.
title: Search
type: string
BeforeFilter:
in: query
name: before
+ description: ''
schema:
- description: ''
title: ''
type: string
SinceFilter:
in: query
name: since
+ description: ''
schema:
- description: ''
title: ''
type: string
headers: