Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/groups endpoint has incorrect status code in openapi spec #72

Closed
quarckster opened this issue Jun 30, 2020 · 0 comments · Fixed by #73
Closed

/groups endpoint has incorrect status code in openapi spec #72

quarckster opened this issue Jun 30, 2020 · 0 comments · Fixed by #73
Assignees
Labels
bug Something isn't working

Comments

@quarckster
Copy link

/groups endpoint has response 302 but in fact it returns 200 and it should fully be copied from https://github.com/RedHatInsights/insights-content-service/blob/master/openapi.json#L14

    "/groups": {
      "get": {
        "summary": "Get all rule groups and their relevant information",
        "description": "This simply redirects to an endpoint of the same name of a service called insights-operator-service",
        "parameters": [],
        "operationId": "getRuleGroups",
        "responses": {
          "302": {
            "description": "Found redirect: response containing all rule groups",
            "content": {
              "text/plain": {}
            }
          },
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants