replace "<content>" with "content" (#1370)
* replace "<content>" with "content" This parameter that's part of the content-repo openapi spec causes generators to mess up * added changelogs * Update changelogs/internal/newsfragments/1370.clarification Co-authored-by: Travis Ralston <travpc@gmail.com> Co-authored-by: Travis Ralston <travpc@gmail.com>
This commit is contained in:
parent
fdd3d94a94
commit
f06ffc8176
2 changed files with 3 additions and 1 deletions
2
changelogs/internal/newsfragments/1370.clarification
Normal file
2
changelogs/internal/newsfragments/1370.clarification
Normal file
|
@ -0,0 +1,2 @@
|
|||
Rename "<content>" to "content" in the OpenAPI files for content uploads.
|
||||
|
|
@ -49,7 +49,7 @@ paths:
|
|||
name: filename
|
||||
description: The name of the file being uploaded
|
||||
- in: body
|
||||
name: "<content>"
|
||||
name: "content"
|
||||
description: The content to be uploaded.
|
||||
required: true
|
||||
x-example: "<bytes>" # so the spec shows "<bytes>" without quotes.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue