Closed dsmabulage closed 3 months ago
Hi @dsmabulage Went through your issue and in order to implement swagger we have to annotate each endpoint with quite a lengthy comment like this.
/**
* @swagger
* /getAccessToken:
* get:
* summary: Get access token
* description: Retrieve an access token from the API.
* responses:
* 200:
* description: Access token retrieved successfully.
* content:
* application/json:
* schema:
* type: object
* properties:
* access_token:
* type: string
*/
Depending on the parameters accepted in the endpoint, possible responses, the length of this may vary.
Is there a better way to approach this?
I think this will be an unnecessary burden. I will close this
Description: Implement Swagger API documentation for the backend to provide a clear, interactive, and standardized way to document and test the API endpoints.
Tasks:
Acceptance Criteria:
Additional Information: Add additional information
Related Dependencies or References: Add related dependencies and references relating to the implementation.