From ce859dc323270a09b3431d475b05eb9404c4ed44 Mon Sep 17 00:00:00 2001 From: Thomas Jaeckle Date: Fri, 15 Jan 2021 17:10:48 +0100 Subject: [PATCH] [#926] adjusted OpenAPI doc wording "the -> a" subject Signed-off-by: Thomas Jaeckle --- documentation/src/main/resources/openapi/ditto-api-2.yml | 4 ++-- .../paths/policies/activateTokenIntegrationForEntry.yml | 2 +- .../paths/policies/deactivateTokenIntegrationForEntry.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/documentation/src/main/resources/openapi/ditto-api-2.yml b/documentation/src/main/resources/openapi/ditto-api-2.yml index ed3ca12b2e..25bf7ac0aa 100644 --- a/documentation/src/main/resources/openapi/ditto-api-2.yml +++ b/documentation/src/main/resources/openapi/ditto-api-2.yml @@ -3927,7 +3927,7 @@ paths: $ref: '#/components/responses/PreconditionFailed' '/policies/{policyId}/entries/{label}/actions/activateTokenIntegration': post: - summary: Activate the subject for this policy entry derived from the token + summary: Activate a subject for this policy entry derived from the token description: |- **This action only works when authenticated with a Json Web Token (JWT).** @@ -3961,7 +3961,7 @@ paths: * containing a `READ` permission granted to a `thing:/` resource path '/policies/{policyId}/entries/{label}/actions/deactivateTokenIntegration': post: - summary: Deactivate the subject for this policy entry derived from the token + summary: Deactivate a subject for this policy entry derived from the token description: |- **This action only works when authenticated with a Json Web Token (JWT).** diff --git a/documentation/src/main/resources/openapi/sources/paths/policies/activateTokenIntegrationForEntry.yml b/documentation/src/main/resources/openapi/sources/paths/policies/activateTokenIntegrationForEntry.yml index 2292676677..e08c162596 100644 --- a/documentation/src/main/resources/openapi/sources/paths/policies/activateTokenIntegrationForEntry.yml +++ b/documentation/src/main/resources/openapi/sources/paths/policies/activateTokenIntegrationForEntry.yml @@ -9,7 +9,7 @@ # # SPDX-License-Identifier: EPL-2.0 post: - summary: Activate the subject for this policy entry derived from the token + summary: Activate a subject for this policy entry derived from the token description: |- **This action only works when authenticated with a Json Web Token (JWT).** diff --git a/documentation/src/main/resources/openapi/sources/paths/policies/deactivateTokenIntegrationForEntry.yml b/documentation/src/main/resources/openapi/sources/paths/policies/deactivateTokenIntegrationForEntry.yml index ec40d5ecbd..5537ffb1bf 100644 --- a/documentation/src/main/resources/openapi/sources/paths/policies/deactivateTokenIntegrationForEntry.yml +++ b/documentation/src/main/resources/openapi/sources/paths/policies/deactivateTokenIntegrationForEntry.yml @@ -9,7 +9,7 @@ # # SPDX-License-Identifier: EPL-2.0 post: - summary: Deactivate the subject for this policy entry derived from the token + summary: Deactivate a subject for this policy entry derived from the token description: |- **This action only works when authenticated with a Json Web Token (JWT).**