Comments (5)
I think it makes sense to source this information from the actionhero server most of the time. Perhaps we don't need a default option, but rather an host_ovveride
and port_override
options?
from ah-swagger-plugin.
Yeah, that's one of the things I thought was weird, it requires that you set a host, but then pulls the port from the config without providing a way to change it. I think pulling both from the server, and then allowing you to override them makes more sense.
from ah-swagger-plugin.
@supamii, your thoughts?
from ah-swagger-plugin.
Hi friends, Can't believe it's been 23 days... I'll definitely get this overridden with something more sensible - i.e. host_override and port_override
from ah-swagger-plugin.
Admittedly a bit of a configuration nightmare, but I've now set the config parameter baseUrl to omit the port number entirely.
This means one may specify
baseUrl: 'myserverip:8080'
or alternatively set
hostOverride: 'myserverip',
portOverride: 8080
I hope this helps!
from ah-swagger-plugin.
Related Issues (20)
- How do you exclude methods? HOT 2
- Upgrade to latest swagger version iff fixes multiform uploads HOT 2
- Create the first release tag HOT 6
- question from sanmoy27 HOT 8
- Set request headers
- New material swagger ui HOT 6
- If `api.config.servers.web.simpleRouting` is disabled, plugin breaks HOT 3
- customize location where actionHeroClient is read
- How to upload a file using swagger HOT 3
- apiKey authentication is not supported in file upload HOT 1
- https enable
- Can we move this to the official actionhero team?
- Update project for ActionHero v18 HOT 13
- Update for ActionHero v19?
- issue when params exist in the query string and the config route
- Swagger ui needs to honor required parameters HOT 1
- Include output responses HOT 1
- add a screenshot to the readme! HOT 3
- install steps are confusing: HOT 2
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 ah-swagger-plugin.