Skip to content

Commit

Permalink
fixing linting issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
maheshc01 committed Nov 26, 2024
1 parent b30d999 commit 158bfe3
Showing 1 changed file with 20 additions and 10 deletions.
30 changes: 20 additions & 10 deletions code/API_definitions/Application-endpoint-registration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Check failure on line 33 in code/API_definitions/Application-endpoint-registration.yaml

View workflow job for this annotation

GitHub Actions / MegaLinter

33:77 [trailing-spaces] trailing spaces
for all registered Applications.
- GET getApplicationEndpointsByID: Returns endpoint information for all
Applications registered to a specified applicationEndpointId.
- PUT updateApplicationEndpoint: Update registered application endpoint
Expand Down Expand Up @@ -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

Check failure on line 486 in code/API_definitions/Application-endpoint-registration.yaml

View workflow job for this annotation

GitHub Actions / MegaLinter

486:71 [trailing-spaces] trailing spaces
body or query param.
Generic401:
description: Unauthorized
headers:
Expand All @@ -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,

Check failure on line 503 in code/API_definitions/Application-endpoint-registration.yaml

View workflow job for this annotation

GitHub Actions / MegaLinter

503:76 [trailing-spaces] trailing spaces
or expired credentials.
Generic403:
description: Forbidden
headers:
Expand All @@ -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

Check failure on line 517 in code/API_definitions/Application-endpoint-registration.yaml

View workflow job for this annotation

GitHub Actions / MegaLinter

517:74 [trailing-spaces] trailing spaces
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

Check failure on line 522 in code/API_definitions/Application-endpoint-registration.yaml

View workflow job for this annotation

GitHub Actions / MegaLinter

522:72 [trailing-spaces] trailing spaces
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

Check failure on line 530 in code/API_definitions/Application-endpoint-registration.yaml

View workflow job for this annotation

GitHub Actions / MegaLinter

530:76 [trailing-spaces] trailing spaces
token
Generic404:
description: Not found
headers:
Expand Down Expand Up @@ -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

Check failure on line 565 in code/API_definitions/Application-endpoint-registration.yaml

View workflow job for this annotation

GitHub Actions / MegaLinter

565:74 [trailing-spaces] trailing spaces
request and the profile information cannot be derived from

Check failure on line 566 in code/API_definitions/Application-endpoint-registration.yaml

View workflow job for this annotation

GitHub Actions / MegaLinter

566:75 [trailing-spaces] trailing spaces
the 3-legged access token
value:
status: 422
code: UNIDENTIFIABLE_APPLICATION_PROFILE
Expand Down Expand Up @@ -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

Check failure on line 600 in code/API_definitions/Application-endpoint-registration.yaml

View workflow job for this annotation

GitHub Actions / MegaLinter

600:75 [trailing-spaces] trailing spaces
in the server side
value:
status: 503
code: UNAVAILABLE
Expand Down

0 comments on commit 158bfe3

Please sign in to comment.