I have suggestion don't know it will helpful or not but let see
Define the endpoint: Define the HTTP method, path, and any parameters or request body for your new endpoint. You can do this in your API code, using a framework like Express or Flask.
Add the endpoint to Swagger: You can use Swagger annotations to add the new endpoint to your Swagger documentation. For example, in Java with Spring, you can use the @ApiOperation annotation to document the endpoint, and the @RequestMapping annotation to map the endpoint to a URL. BenefitsCal App
Generate the Swagger documentation: Once you have defined the endpoint and added it to Swagger, you can use a tool like Swagger UI or Swagger Codegen to generate the Swagger documentation. This documentation will include the new endpoint along with any other endpoints you have documented using Swagger annotations.
Test the new endpoint: Finally, you should test the new endpoint to ensure that it works as expected. You can use a tool like Postman to send requests to the endpoint and verify the response.