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

response type diagram should use return type #125

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

response type diagram should use return type #125

nofun97 opened this issue Jul 7, 2020 · 0 comments
Labels
bug Something isn't working P0

Comments

@nofun97
Copy link
Member

nofun97 commented Jul 7, 2020

The response type diagram just repeats the type as the param name. For example:

App:
    /endpoint:
        GET:
            return ok <: string
            return error <: string

Generates this:
image

It should generate these instead:
image
image

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

No branches or pull requests

2 participants