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

REST api docs not showing at /document path #442

Closed
mountaindude opened this issue May 11, 2022 · 0 comments · Fixed by #421
Closed

REST api docs not showing at /document path #442

mountaindude opened this issue May 11, 2022 · 0 comments · Fixed by #421
Labels
Milestone

Comments

@mountaindude
Copy link
Collaborator

What version of Butler are you using?

7.3.2

What version of Node.js are you using? Not applicable if you use the standalone version of Butler.

16.15.0

What command did you use to start Butler?

node butler.js

What operating system are you using?

macOS

What CPU architecture are you using?

x86_64

What Qlik Sense versions are you using?

2022-May

Describe the Bug

Butler is supposed to show docs for the REST API, as described here:
https://butler.ptarmiganlabs.com/docs/examples/openapi-docs/#openapi-documentation-built-into-butler

That doesn't work though.
Most likely because REST endpoints are registered in Butler before the Swagger docs module was loaded.
Switch order and things should work.

Expected Behavior

No response

To Reproduce

No response

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