As an API Consumer, I want to query for group names to retrieve a list of group CN names with paginaiton support.
Related Issue: #7 (closed)
Acceptance Criteria
- A route that maps to
/v1/groups
- see OpenApi spec for details - Returns a list strings that contains the CN for each group
- Pagination support if possible
- Unit tests using the flask test client: https://flask.palletsprojects.com/en/1.1.x/testing/
- Deal with expected errors such as 401, 403, 404, etc
Definition of Done
A valid REST API endpoint that follows the openapi spec and can be used from any HTTP client tool such as swagger, curl, etc.