Comments (6)
@tropxy Can you try this?
- Remove
openapi
function - Update
quart_api_doc
likequart_api_doc( app, config=app.__schema__, url_prefix="/api/doc/", title="API doc", editor=True )
from swagger-ui-py.
Sorry, I havent realized you answered me... I will try soon your suggestion, thank you!
from swagger-ui-py.
I tried your suggestion and didnt work:
from swagger-ui-py.
Hi, any updates on this?
from swagger-ui-py.
Hi, any updates on this?
@tropxy Do you have a demo to reproduce the problem?
from swagger-ui-py.
@tropxy You should write it like this
@app.route("/api/doc/swagger.json")
async def openapi():
config = app.__schema__
for server in config.get('servers', []):
server['url'] = 'http://localhost:8080'
return jsonify(config)
from swagger-ui-py.
Related Issues (20)
- Add Swagger UI for bottle HOT 7
- AttributeError: 'PosixPath' object has no attribute 'rstrip' HOT 1
- Set the landing page to root `/` HOT 2
- Support for self-signed certificate HOT 1
- Disable Validator Option in Swagger object
- How to set configuration values dynamically HOT 3
- Upload source package to pypi HOT 1
- Always get AssertionError or KeyError in aiohttp HOT 2
- bug: Swagger 3.0.0 datetime
- Seems like is ignoring the server section
- Bug: doesn`t work well with falcon 3.0.1 HOT 5
- [BUG] Servers section is broken, prevents usage of "Try it Out"
- flask blueprint naming clash HOT 1
- Not sure if this is a bug. CSS/js in production redirect to "base url" HOT 14
- falcon_api_doc returns unexpected arg error HOT 1
- Update swagger-ui to 5.0.0 HOT 2
- How to use this with AWS Lamda?
- Cannot add swagger ui to a flask blueprint
- Enable displayRequestDuration HOT 1
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-ui-py.