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

Swagger & Express #106

Closed
2 tasks done
d-neri opened this issue May 22, 2018 · 1 comment
Closed
2 tasks done

Swagger & Express #106

d-neri opened this issue May 22, 2018 · 1 comment

Comments

@d-neri
Copy link

d-neri commented May 22, 2018

Thanks for the library. I'm having some trouble getting this working when using Express as my transport provider:

Steps to reproduce

Requires feathers, express, and feathers-swagger.

  • Tell us what broke. The more detailed the better.
  • If you can, please create a simple example that reproduces the issue and link to a gist, jsbin, repo, etc.

https://gist.github.com/danielneri/bee112e16ef907a47c758756b112c58e

Expected behavior

Docs should generate.

Actual behavior

/docs renders a 404 error.

System configuration

Tell us about the applicable parts of your setup.

Module versions (especially the part that's not working):

feathers-swagger-test@1.0.0 /Users/...
├── body-parser@1.18.3
├── feathers@2.2.4
├── feathers-memory@2.1.1
├── feathers-rest@1.8.1
└── feathers-swagger@0.6.0

NodeJS version:

v8.11.2

Operating System:

macOS High Sierra

Browser Version:

React Native Version:

Module Loader:

@d-neri
Copy link
Author

d-neri commented May 25, 2018

Turns out this was user error, I had placed this in the wrong file :(

I can confirm this library works great, even with Express as the transport layer.

@d-neri d-neri closed this as completed May 25, 2018
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

1 participant