Comments (4)
will look into this. the resources.json name shouldn't be magic, it should follow the structure of the api listing.
from swagger-ui.
@Rinzwind This was hard-coded in earlier releases but after the overhaul, swagger-ui does not expect a resource named 'resources.json'. You can give it a parameter called discoverUrl as explained here which can point to any url which is a swagger compliant resource discovery url.
I'm wondering if you tried an older version of swagger-ui? Could you please try with the latest and report if you see any issues.
from swagger-ui.
confirm working for v1.2.0
from swagger-ui.
Closing this. Confirmed that any arbitrary resource url work in v1.2.0.
from swagger-ui.
Related Issues (20)
- Integer sample value does not adhere to minimum constraint (while number does) HOT 2
- When using oneOf for a property of a multipart/form-data, the json example is replaced by an empty string HOT 1
- Bug in parsing json objects as query params HOT 3
- Display schema for mutipart/form-data object properties
- change request url
- "Maximum call stack size exceeded" in SwaggerEditor's "Generate Client > html2" and "File > Download Resolved YAML" functions. HOT 2
- OpenAPI 3.x: add support for getting example values in request body for schemas with anyOf and allOf keywords when there are other properties HOT 1
- Expose functions for merging schemas from JSON schema samples plugins HOT 1
- swagger-ui-react option to enable pkce
- Error message formatting for nested parameters HOT 1
- Unnecessary -d '' in CURL when no request body
- Errors displaying schemas with oneOf HOT 4
- Authorization header not send to the backend with angular 13 HOT 1
- OAuth ClientCredentials doesn't pass client_id and client_secret in request body.
- Make `parseSearch` and `serializeSearch` compliant with the WHATWG specification HOT 2
- Consolidate Swagger UI configuration logic into `config` HOT 1
- Handling query config options HOT 5
- Add type casting for Swagger UI configuration options HOT 3
- When the openapi version is changed to 3.1.0 from 3.0.3, integer values are assigned the maximum value.
- Required Path Parameters are missing the .star class given to required Schema properties
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.