Swagger Sanity Phase 1: Swagger API to be tested as a part of integration tests.
Context
The swagger APIs are maintained as part of each service, for instance Storage Swagger Controller. These APIs should be tested in service integration test suite.
Assumption
The swagger endpoint is a part of all services.
Problem statement
The endpoint ends up being down for few services in few releases and the cost of discovery and fixing becomes high.
Proposed solution
The service's IT suite should have a test for the swagger endpoint as well. We can start with one positive case of 200, assuming no service has auth required for Swagger by design.
Scope / Acceptance Criteria
The above effort will encapsulate the following
- Swagger endpoint is reachable and returning a value.
Target Release
@krveduru to add
FAQ
N/A
Useful references
N/A
Edited by Komal Makkar