Skip to content

Commit

Permalink
Merge pull request #3762 from Agnul97/feature-automaticPathRestAPI
Browse files Browse the repository at this point in the history
[FEATURE] Inserted a way to automatically obtain rest API url endpoint with swagger
  • Loading branch information
Coduz authored Jul 31, 2023
2 parents 4456841 + c472fc1 commit 055c84b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rest-api/resources/src/main/resources/openapi/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ info:
All Eclipse Kapua REST API, except the Authentication endpoints that performs an Authentication, need an Authentication Token to be executed. You will retrieve such token as a response of one of the Authentication calls, in the form of a [JWT](https://jwt.io) as the value of the property `tokenId`. For every subsequent call, you need to pass such token in the `Authorization` HTTP Header, with the `Bearer` type.
servers:
- description: Kapua REST API Endpoint
- description: Kapua REST API Endpoint hosted where this definition file is hosted
url: /v1
- description: Kapua REST API Endpoint custom
url: "{scheme}://{host}:{port}/{basePath}"
variables:
scheme:
Expand Down

0 comments on commit 055c84b

Please sign in to comment.