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

Error Status Codes in UI #116

Open
AndriiMykytiuk opened this issue Jan 13, 2018 · 3 comments
Open

Error Status Codes in UI #116

AndriiMykytiuk opened this issue Jan 13, 2018 · 3 comments

Comments

@AndriiMykytiuk
Copy link

Hello, guys.
Why do I always see "Error Status Codes" in my UI?
Even if success response code specified?
Thanks.

@niall-byrne
Copy link
Collaborator

If this is still an ongoing concern do you mind including a image capture?

@callynch
Copy link

callynch commented Jun 6, 2021

This is still an issue for me. I've provided an example below.

Operation definition:

@swagger.operation(
    notes='Tests whether the API is online.',
    nickname='test_api_up',
    parameters=[],
    responseMessages=[
        {
            'code': 200,
            'message': 'API started successfully'
        }
    ]
)

Result in swagger UI:
image

@niall-byrne
Copy link
Collaborator

niall-byrne commented Sep 17, 2021

I think this is semantics? Perhaps this should just say "Responses" instead of "Error Status Codes".
https://editor.swagger.io/

This project seems to be using an older version of the swagger UI... you can see they have since upgraded it...

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

3 participants