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

Matrix parameter support #761

Open
marbon opened this issue Dec 28, 2018 · 2 comments
Open

Matrix parameter support #761

marbon opened this issue Dec 28, 2018 · 2 comments

Comments

@marbon
Copy link

marbon commented Dec 28, 2018

Since v2 matrix parameters (https://www.w3.org/DesignIssues/MatrixURIs.html) are part of the OpenAPI Spec. We use them in our API and would be happy about a Redoc support.

parameters:
  - name: id
    in: path
    required: true
    style: matrix
    schema:
      type: string
@RomanHotsiy
Copy link
Member

How do you envision it to be rendered?

I have some ideas but wonder what you think.

Thanks!

@marbon
Copy link
Author

marbon commented Jan 17, 2019

Sorry I don't have a really smart idea for it.
In our case we have paths like this:

api/application-monitoring/applications;id=6097d596c3d9024034b3/services;id=d03b2b5c43acea65e5a4/endpoints

I think at the end you must see the path with his required or optional params

MATRIX PARAMETERS
/applications  
- id = description

/service
-id = description 

I'm really looking forward to what you'll come up with. :)

Thank you for your effort.

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

No branches or pull requests

2 participants