Comments (2)
I made it work this way:
"endpoints": [
{
"endpoint": "/swagger/{file}",
"output_encoding": "no-op",
"method": "GET",
"querystring_params":[
"*"
],
"headers_to_pass":[
"Content-Type"
],
"backend": [
{
"encoding": "no-op",
"url_pattern": "/swagger/{file}",
"host": [
"host.docker.internal:8010"
]
}
]
}
]
http://localhost:8010/swagger/index.html
will output swagger-ui
.
from playground-community.
This issue was marked as resolved a long time ago and now has been automatically locked as there has not been any recent activity after it. You can still open a new issue and reference this link.
from playground-community.
Related Issues (20)
- Couldn't register krakend-bf:1234 in consul: unable to create the consul client: no config HOT 5
- ERROR writing to influx: {"code":"unauthorized","message":"unauthorized access"} HOT 1
- kid header is required by the JWT validator HOT 2
- env variables in krakend.json failing it to load in KrakenDesigner HOT 3
- Can we return a flat list for collection? HOT 2
- "target" : feature not working HOT 2
- Expired certificate HOT 4
- Web Client throws 'Uncaught ReferenceError: auth0 is not defined' on browser console HOT 2
- => ERROR [fake_api 1/1] FROM docker.io/jaxgeller/lwan@sha256:f7e799638df21fa6e0bc7b6e1b4937b1fbefdf0cad772ef318d5477c446feb63 HOT 2
- Unable to build with flexible configuration HOT 3
- CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin'
- Nothing at http://localhost:8080/demo HOT 3
- POST - request body doesnt propagate to backend. HOT 2
- docker compose breacks
- How to read krakend.json file as remote? HOT 2
- Does not work on arm64 MacOS HOT 2
- Add Encryption decryption to APIs
- npm ERR during installation! An error occurs. HOT 2
- impossible to login to :8080 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 playground-community.