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)
- Sync SwaggerUI default options with Swagger-ui-react HOT 1
- Issue with runtime config default options HOT 1
- swagger-ui-react: regression in rendering HOT 2
- Adapt `swagger-ui-nextjs` to `next@14` HOT 1
- ANgular build require Path on build HOT 2
- Lib update leads to console error and fails to render HOT 4
- Latest Release Unable to Update HOT 6
- ` You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".` HOT 1
- Swagger-UI: OSGi manifest is missing starting from v5.15.2 HOT 1
- Regression between v5.15.2 and v5.16.0 when the configuration contains `filter: undefined` HOT 1
- swagger-ui-react onComplete is no longer called with a SwaggerUi instance HOT 1
- Default Value not getting assigned to the variable in generated typescript
- Can we add a component or a section to add buissness or technical error for the API ? HOT 2
- Failed to load API definition. Fetch error Failed to fetch https://petstore.swagger.io/v2/swagger.json
- Resolver error at requestBody.content.application/json.schema.$ref HOT 1
- Swagger UI 5.17.3 not visible on NPM HOT 1
- swagger-ui-react since version 5.17.0 does not support yaml string as a valid data type for propery 'spec' HOT 3
- Disable autocompletion for authorization secrets HOT 1
- Resolver error: Could not resolve reference: Could not resolve pointer:
- Swagger UI not showing on vercel? I have a solution here it is 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.