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

Resolve given URL to endpoint #79

Open
chbndrhnns opened this issue Sep 22, 2020 · 1 comment
Open

Resolve given URL to endpoint #79

chbndrhnns opened this issue Sep 22, 2020 · 1 comment

Comments

@chbndrhnns
Copy link

Expected Behaviour

I would like to find the endpoint in my spec file according to a given URL.

Given /networks/my-net/rbac, I would like prance to give me the spec for the endpoint listed under the minimal example.

Minimal Example Spec

paths:
  /networks/{network}/rbac:

Actual Behaviour

I am not aware of a feature in prance that would allow this.

Steps to Reproduce

Environment

  • OS: macOS
  • Python version: 3.8.5
  • Swagger/OpenAPI version used: 3.0.2
  • Backend: (flex, swagger-spec-validator or openapi-spec-validator)

@jfinkhaeuser

@jfinkhaeuser
Copy link
Collaborator

That's a very fair feature request! I wanted to add something like this in the long run, but I haven't been able to keep up with this project so much. Add a PR?

One of the nice things is that this is entirely orthogonal to the current functionality. It doesn't need the parser or resolver part, just the parsed specs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants