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

List parameter options #1372

Closed
StefanNiederkofler opened this issue Aug 1, 2018 · 1 comment
Closed

List parameter options #1372

StefanNiederkofler opened this issue Aug 1, 2018 · 1 comment

Comments

@StefanNiederkofler
Copy link

StefanNiederkofler commented Aug 1, 2018

Hello,

is it possible to show the parameter options in the doc?
For example:

products:
    path:     /products/{sort}
    controller: AppBundle\Controller\ProductController::indexAction
    methods:  ["GET"]
    defaults:
        sort: "default"
    requirements:
        sort: "default|alpha|newest|popular"

Now i want that the possible options "default|alpha|newest|popular" are listed in the doc, but they aren't.
The same goes for the global _locale parameter, with possible options "de|en|it"

Image

@GuilhemN
Copy link
Collaborator

GuilhemN commented Aug 2, 2018

Isn't it shown on hover? See swagger-api/swagger-ui#1217

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