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

show parameters whether they're optional or not #126

Open
nofun97 opened this issue Jul 7, 2020 · 0 comments
Open

show parameters whether they're optional or not #126

nofun97 opened this issue Jul 7, 2020 · 0 comments
Labels
enhancement New feature or request P0

Comments

@nofun97
Copy link
Member

nofun97 commented Jul 7, 2020

Optional parameters of an endpoint aren't shown to be optional or not. The generated doc needs to show if param is optional or not.
For example:

App:
    /endpoint:
        GET(op_param <: int?, param <: int)?op_query=string?&query=string:
            ...

Generates:
image

It's impossible to tell if the params are optional without looking at the source file.

@nofun97 nofun97 added the enhancement New feature or request label Jul 7, 2020
@ChloePlanet ChloePlanet added the P0 label Jul 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P0
Projects
None yet
Development

No branches or pull requests

2 participants