Skip to content

Commit

Permalink
replace "<content>" with "content" (#1370)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
dylhack and turt2live committed Jan 16, 2023
1 parent fdd3d94 commit f06ffc8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions changelogs/internal/newsfragments/1370.clarification
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Rename "<content>" to "content" in the OpenAPI files for content uploads.

2 changes: 1 addition & 1 deletion data/api/client-server/content-repo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f06ffc8

Please sign in to comment.