cyberark / conjur-openapi-spec

OpenAPI v3 specification for Conjur / DAP v10+

Home Page:https://conjur.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Test all status code responses on Secrets endpoints

john-odonnell opened this issue · comments

Is your feature request related to a problem? Please describe.

The integration test suite should be testing all possible responses on each endpoint.
On the Secrets endpoints, failure is never tested.

  • Create Secret
    • 201
    • 400
    • 401
    • 403
    • 422
  • Fetch Secret
    • 200
    • 400
    • 401
    • 403
    • 404
    • 422
  • Fetch Multiple Secrets
    • 200
    • 401
    • 403
    • 404
    • 422

Describe the solution you would like

The solution is to expand the number of test cases per endpoint.
One test case per response for each endpoint should do the trick.

Describe alternatives you have considered

n/a

Additional context

n/a

closed by #104