Skip to content

Commit

Permalink
Merge "REST: Capitalize Wikibase domain terms in OAS"
Browse files Browse the repository at this point in the history
  • Loading branch information
jenkins-bot authored and Gerrit Code Review committed Sep 18, 2024
2 parents e381c0b + 52ebcf3 commit 0dee881
Show file tree
Hide file tree
Showing 9 changed files with 38 additions and 38 deletions.
2 changes: 1 addition & 1 deletion repo/rest-api/specs/global/parameters.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
"PropertyFilter": {
"in": "query",
"name": "property",
"description": "Single property ID to filter statements by.",
"description": "Single Property ID to filter Statements by.",
"required": false,
"schema": {
"type": "string",
Expand Down
2 changes: 1 addition & 1 deletion repo/rest-api/specs/global/request-parts.json
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@
"example": "replace"
},
"path": {
"description": "A JSON Pointer for the property to manipulate",
"description": "A JSON Pointer for the Property to manipulate",
"type": "string"
},
"value": {
Expand Down
10 changes: 5 additions & 5 deletions repo/rest-api/specs/global/responses.json
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@
}
},
"InvalidPatchedItem": {
"description": "Applying the provided JSON Patch results in an invalid property",
"description": "Applying the provided JSON Patch results in an invalid Property",
"content": {
"application/json": {
"schema": { "$ref": "./response-parts.json#/Error" },
Expand Down Expand Up @@ -379,7 +379,7 @@
}
},
"InvalidPatchedProperty": {
"description": "Applying the provided JSON Patch results in an invalid property",
"description": "Applying the provided JSON Patch results in an invalid Property",
"content": {
"application/json": {
"schema": { "$ref": "./response-parts.json#/Error" },
Expand Down Expand Up @@ -484,7 +484,7 @@
}
},
"InvalidPatchedStatement": {
"description": "Applying the provided JSON Patch results in an invalid statement",
"description": "Applying the provided JSON Patch results in an invalid Statement",
"content": {
"application/json": {
"schema": {
Expand Down Expand Up @@ -561,7 +561,7 @@
}
},
"Sitelinks": {
"description": "A list of sitelinks by item id",
"description": "A list of Sitelinks by Item id",
"headers": {
"Last-Modified": {
"schema": {
Expand Down Expand Up @@ -591,7 +591,7 @@
}
},
"Sitelink": {
"description": "A sitelink by item id",
"description": "A Sitelink by Item id",
"headers": {
"Last-Modified": {
"schema": {
Expand Down
4 changes: 2 additions & 2 deletions repo/rest-api/specs/resources/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@
"get": {
"operationId": "getPropertyDataTypes",
"tags": [ "Property data types" ],
"summary": "Retrieve the map of property data types to value types",
"summary": "Retrieve the map of Property data types to value types",
"responses": {
"200": {
"description": "The map of property data types to value types",
"description": "The map of Property data types to value types",
"content": {
"application/json": {
"schema": {
Expand Down
4 changes: 2 additions & 2 deletions repo/rest-api/specs/resources/sitelinks/list.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"get": {
"operationId": "getSitelinks",
"tags": [ "sitelinks" ],
"summary": "Retrieve an Item's sitelinks",
"summary": "Retrieve an Item's Sitelinks",
"parameters": [
{ "$ref": "../../global/parameters.json#/ItemId" },
{ "$ref": "../../global/parameters.json#/IfNoneMatch" },
Expand All @@ -24,7 +24,7 @@
"patch": {
"operationId": "patchSitelinks",
"tags": [ "sitelinks" ],
"summary": "Change an Item's sitelinks",
"summary": "Change an Item's Sitelinks",
"parameters": [
{ "$ref": "../../global/parameters.json#/ItemId" },
{ "$ref": "../../global/parameters.json#/IfMatch" },
Expand Down
2 changes: 1 addition & 1 deletion repo/rest-api/specs/resources/sitelinks/responses.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"InvalidPatchedItemSitelinks": {
"description": "Applying the provided JSON Patch results in invalid sitelinks",
"description": "Applying the provided JSON Patch results in invalid Sitelinks",
"content": {
"application/json": {
"schema": { "$ref": "../../global/response-parts.json#/Error" },
Expand Down
6 changes: 3 additions & 3 deletions repo/rest-api/specs/resources/sitelinks/single.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"get": {
"operationId": "getSitelink",
"tags": [ "sitelinks" ],
"summary": "Retrieve an Item's sitelink",
"summary": "Retrieve an Item's Sitelink",
"parameters": [
{ "$ref": "../../global/parameters.json#/ItemId" },
{ "$ref": "../../global/parameters.json#/SiteId" },
Expand All @@ -25,7 +25,7 @@
"put": {
"operationId": "setSitelink",
"tags": [ "sitelinks" ],
"summary": "Add / Replace an item's sitelink",
"summary": "Add / Replace an Item's Sitelink",
"parameters": [
{ "$ref": "../../global/parameters.json#/ItemId" },
{ "$ref": "../../global/parameters.json#/SiteId" },
Expand Down Expand Up @@ -56,7 +56,7 @@
"delete": {
"operationId": "deleteSitelink",
"tags": [ "sitelinks" ],
"summary": "Delete an Item's sitelink",
"summary": "Delete an Item's Sitelink",
"parameters": [
{ "$ref": "../../global/parameters.json#/ItemId" },
{ "$ref": "../../global/parameters.json#/SiteId" },
Expand Down
8 changes: 4 additions & 4 deletions repo/rest-api/specs/resources/statements/responses.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"schema": {
"type": "string"
},
"description": "The URI of the newly created statement"
"description": "The URI of the newly created Statement"
}
},
"content": {
Expand All @@ -97,7 +97,7 @@
}
},
"ItemStatements": {
"description": "The statements of an Item",
"description": "The Statements of an Item",
"headers": {
"Last-Modified": {
"schema": {
Expand Down Expand Up @@ -279,7 +279,7 @@
"schema": {
"type": "string"
},
"description": "The URI of the newly created statement"
"description": "The URI of the newly created Statement"
}
},
"content": {
Expand All @@ -294,7 +294,7 @@
}
},
"PropertyStatements": {
"description": "The statements of a Property",
"description": "The Statements of a Property",
"headers": {
"Last-Modified": {
"schema": {
Expand Down
38 changes: 19 additions & 19 deletions repo/rest-api/src/RouteHandlers/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@
"tags": [
"Property data types"
],
"summary": "Retrieve the map of property data types to value types",
"summary": "Retrieve the map of Property data types to value types",
"responses": {
"200": {
"description": "The map of property data types to value types",
"description": "The map of Property data types to value types",
"content": {
"application/json": {
"schema": {
Expand Down Expand Up @@ -271,7 +271,7 @@
"tags": [
"sitelinks"
],
"summary": "Retrieve an Item's sitelinks",
"summary": "Retrieve an Item's Sitelinks",
"parameters": [
{
"$ref": "#/components/parameters/ItemId"
Expand Down Expand Up @@ -321,7 +321,7 @@
"tags": [
"sitelinks"
],
"summary": "Change an Item's sitelinks",
"summary": "Change an Item's Sitelinks",
"parameters": [
{
"$ref": "#/components/parameters/ItemId"
Expand Down Expand Up @@ -356,7 +356,7 @@
"$ref": "#/components/responses/PreconditionFailedError"
},
"422": {
"description": "Applying the provided JSON Patch results in invalid sitelinks",
"description": "Applying the provided JSON Patch results in invalid Sitelinks",
"content": {
"application/json": {
"schema": {
Expand Down Expand Up @@ -405,7 +405,7 @@
"tags": [
"sitelinks"
],
"summary": "Retrieve an Item's sitelink",
"summary": "Retrieve an Item's Sitelink",
"parameters": [
{
"$ref": "#/components/parameters/ItemId"
Expand Down Expand Up @@ -478,7 +478,7 @@
"tags": [
"sitelinks"
],
"summary": "Add / Replace an item's sitelink",
"summary": "Add / Replace an Item's Sitelink",
"parameters": [
{
"$ref": "#/components/parameters/ItemId"
Expand Down Expand Up @@ -574,7 +574,7 @@
"tags": [
"sitelinks"
],
"summary": "Delete an Item's sitelink",
"summary": "Delete an Item's Sitelink",
"parameters": [
{
"$ref": "#/components/parameters/ItemId"
Expand Down Expand Up @@ -1345,7 +1345,7 @@
],
"responses": {
"200": {
"description": "The statements of an Item",
"description": "The Statements of an Item",
"headers": {
"Last-Modified": {
"schema": {
Expand Down Expand Up @@ -1483,7 +1483,7 @@
"schema": {
"type": "string"
},
"description": "The URI of the newly created statement"
"description": "The URI of the newly created Statement"
}
},
"content": {
Expand Down Expand Up @@ -2817,7 +2817,7 @@
],
"responses": {
"200": {
"description": "The statements of a Property",
"description": "The Statements of a Property",
"headers": {
"Last-Modified": {
"schema": {
Expand Down Expand Up @@ -2952,7 +2952,7 @@
"schema": {
"type": "string"
},
"description": "The URI of the newly created statement"
"description": "The URI of the newly created Statement"
}
},
"content": {
Expand Down Expand Up @@ -3721,7 +3721,7 @@
"PropertyFilter": {
"in": "query",
"name": "property",
"description": "Single property ID to filter statements by.",
"description": "Single Property ID to filter Statements by.",
"required": false,
"schema": {
"type": "string",
Expand Down Expand Up @@ -3932,7 +3932,7 @@
"example": "replace"
},
"path": {
"description": "A JSON Pointer for the property to manipulate",
"description": "A JSON Pointer for the Property to manipulate",
"type": "string"
},
"value": {
Expand Down Expand Up @@ -4945,7 +4945,7 @@
}
},
"InvalidPatchedItem": {
"description": "Applying the provided JSON Patch results in an invalid property",
"description": "Applying the provided JSON Patch results in an invalid Property",
"content": {
"application/json": {
"schema": {
Expand Down Expand Up @@ -4995,7 +4995,7 @@
}
},
"InvalidPatchedProperty": {
"description": "Applying the provided JSON Patch results in an invalid property",
"description": "Applying the provided JSON Patch results in an invalid Property",
"content": {
"application/json": {
"schema": {
Expand Down Expand Up @@ -5158,7 +5158,7 @@
}
},
"InvalidPatchedStatement": {
"description": "Applying the provided JSON Patch results in an invalid statement",
"description": "Applying the provided JSON Patch results in an invalid Statement",
"content": {
"application/json": {
"schema": {
Expand Down Expand Up @@ -5278,7 +5278,7 @@
}
},
"Sitelinks": {
"description": "A list of sitelinks by item id",
"description": "A list of Sitelinks by Item id",
"headers": {
"Last-Modified": {
"schema": {
Expand Down Expand Up @@ -5308,7 +5308,7 @@
}
},
"Sitelink": {
"description": "A sitelink by item id",
"description": "A Sitelink by Item id",
"headers": {
"Last-Modified": {
"schema": {
Expand Down

0 comments on commit 0dee881

Please sign in to comment.