Comments (9)
Thank for your report. I have pushed a commit to solve it. Please try to reinstall
npm install --save swagger-combined@latest
from swagger-combined.
Not working yet... have you published it to npm?
from swagger-combined.
And another issue. I'm using 1.3.4 now.
Cannot reach the swagger UI.
The /docs route works well, but when I access the app in it's default port e.g. http://localhost:3000 then I'm redirected to http://localhost:3000/s?url=/docs but receiving 404 Not Found.
from swagger-combined.
I think you should use the latest version. In case swagger site does not work, you can use link http://petstore.swagger.io/?url=http://localhost:3000/docs
from swagger-combined.
Yeah but I want to be able to serve the UI by myself and not depend on external swagger.io.
Do you have any explanations why it's not working? Maybe I have to configure something which the README missed?
Now I have to install swagger-ui by myself and figure out how to serve it...
from swagger-combined.
Did you try Installation & Run from Source Code?
from swagger-combined.
No I haven't... why would I run from source code? :P
I want to consume the module just as normal node module via npm installing.
By the way, is app.js missing in latest version?
from swagger-combined.
I removed "install and run via NPM". Actually, Swagger Combined should run as an independent service. app.js
now should be routes/app.js
from swagger-combined.
Would swagger-ui work in that way?
Because I've just made a service of mine that serves the swagger-ui, and now instead to serve the /docs JSON from the same service I have to lift your service as well, in another port.
Why cant the module just be configured dynamically (without a static .json file which is not so scalable way to configure modules), and then supply methods to get the final combined json? That's more modular, instead of forcing the clients to use the module as an external service for some reason..
from swagger-combined.
Related Issues (16)
- forEach without an array HOT 2
- Swagger-Combined not working on Linux HOT 2
- Npm install fails v1.4.2 HOT 2
- tags array should merge between specs
- stuck in "fetching resource list" HOT 2
- has this repo been abandoned? HOT 1
- Calls are going on internal server in place of swagger base path HOT 1
- No newline in description HOT 1
- The Request Url and Curl Command are pointing to the combined URL
- How to implement combined swagger
- YAML files in docs?
- the node command runs forever
- Configuration of config/default.json doesn't work HOT 1
- Two microservices with different endpoint, but same services & similar path HOT 2
- Swagger combined does not work when one of endpoints is down :( HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swagger-combined.