From 158bfe36372767ccf38cb7a9746162bfe78928b7 Mon Sep 17 00:00:00 2001 From: Mahesh <98130650+maheshc01@users.noreply.github.com> Date: Tue, 26 Nov 2024 03:27:20 +0000 Subject: [PATCH] fixing linting issues. --- .../Application-endpoint-registration.yaml | 30 ++++++++++++------- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/code/API_definitions/Application-endpoint-registration.yaml b/code/API_definitions/Application-endpoint-registration.yaml index 33e4ac8..08af65b 100644 --- a/code/API_definitions/Application-endpoint-registration.yaml +++ b/code/API_definitions/Application-endpoint-registration.yaml @@ -30,8 +30,8 @@ info: The API provides 4 operations: - POST registerApplicationEndpoints: Registers the Application Endpoints of a deployed application to a specified edge cloud zone. - - GET getAllRegisteredApplicationEndpoints: Returns endpoint information for all - registered Applications. + - GET getAllRegisteredApplicationEndpoints: Returns endpoint information + for all registered Applications. - GET getApplicationEndpointsByID: Returns endpoint information for all Applications registered to a specified applicationEndpointId. - PUT updateApplicationEndpoint: Update registered application endpoint @@ -483,7 +483,8 @@ components: value: status: 400 code: INVALID_ARGUMENT - message: Client specified an invalid argument, request body or query param. + message: Client specified an invalid argument, request + body or query param. Generic401: description: Unauthorized headers: @@ -499,7 +500,8 @@ components: value: status: 401 code: UNAUTHENTICATED - message: Request not authenticated due to missing, invalid, or expired credentials. + message: Request not authenticated due to missing, invalid, + or expired credentials. Generic403: description: Forbidden headers: @@ -511,17 +513,22 @@ components: $ref: '#/components/schemas/ErrorInfo' examples: GENERIC_403_PERMISSION_DENIED: - description: Permission denied. OAuth2 token access does not have the required scope or when the user fails operational security + description: Permission denied. OAuth2 token access does not + have the required scope or when the user fails operational + security value: status: 403 code: PERMISSION_DENIED - message: Client does not have sufficient permissions to perform this action. + message: Client does not have sufficient permissions to + perform this action. GENERIC_403_INVALID_TOKEN_CONTEXT: - description: Reflect some inconsistency between information in some field of the API and the related OAuth2 Token + description: Reflect some inconsistency between information in + some field of the API and the related OAuth2 Token value: status: 403 code: INVALID_TOKEN_CONTEXT - message: applicationProfileId is not consistent with access token + message: applicationProfileId is not consistent with access + token Generic404: description: Not found headers: @@ -555,7 +562,9 @@ components: code: NOT_SUPPORTED message: Service not supported for this applicationProfileId UNIDENTIFIABLE_APPLICATION_PROFILE: - description: The Application Profile is not included in the request and the profile information cannot be derived from the 3-legged access token + description: The Application Profile is not included in the + request and the profile information cannot be derived from + the 3-legged access token value: status: 422 code: UNIDENTIFIABLE_APPLICATION_PROFILE @@ -588,7 +597,8 @@ components: examples: GENERIC_503_UNAVAILABLE: description: Service is not available. - Temporary situation usually related to maintenance process in the server side + Temporary situation usually related to maintenance process + in the server side value: status: 503 code: UNAVAILABLE