File Services Context Path
Current File service settings
- context path:
server.servlet.contextPath=/api/file/
- Endpoints: eg for downloadURL operation: `/v2/files/{id}/downloadURL
- All API Endpoints have /v2/ prefixed to the RequestMapping Path (Screenshot attached below)
- To be consistent for swagger ui and api-docs path customization and also to make easy versioning of the API, Can we add 'v2' to the context path and remove it from all endpoints?
- context path:
server.servlet.contextPath=/api/file/v2
- Endpoints: eg for downloadURL operation:
/files/{id}/downloadURL
Consequences:
- There will not be any changes w.r.t to Consumers of the API
- Its internal refactoring of the maintenance of the Base Path and Version
CSP can provide their inputs if we see any breaking changes or any settings need to be updated.