Skip to content

Commit

Permalink
REST: Improve OpenAPI schema
Browse files Browse the repository at this point in the history
* Fix typo in `requests.json`
* Remove unused value in `request-parts.json`

Change-Id: I696a554ddb12f06120a35c313bf0a7ef465b40ae
  • Loading branch information
outdooracorn committed Sep 19, 2023
1 parent 322715a commit 4c45f90
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion repo/rest-api/specs/global/request-parts.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
{ "$ref": "./request-parts.json#/MediawikiEdit" }
]
},
"example": "/value/content",
"StatementPatchRequest": {
"allOf": [
{ "$ref": "#/PatchDocument" },
Expand Down
2 changes: 1 addition & 1 deletion repo/rest-api/specs/global/requests.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
}
},
"LabelsPatch": {
"description": "Payload containing a JSON Patch document to be applied to a Item's Labels and edit metadata",
"description": "Payload containing a JSON Patch document to be applied to an Item's Labels and edit metadata",
"required": true,
"content": {
"application/json-patch+json": {
Expand Down

0 comments on commit 4c45f90

Please sign in to comment.