Comments (3)
This has now been fixed in v0.5.3 by adding the javascript
$('.response_throbber').attr( 'src', '{{hapiSwagger.endpoint}}/swaggerui/images/throbber.gif' );
into the swagger onComplete
event, should mean that we don't have to change swagger-ui.js
file.
The /documentation
page should work out of the box. If you use a custom page layout you should take a look at the updated javascript in the readme.
Let me know if this solution works for you.
from hapi-swagger.
Hi Glenn, sorry will check this out and let you know, been fanatically
busy! Thank you for the solution!!
On Fri, 19 Dec 2014 11:15 Glenn Jones [email protected] wrote:
—
Reply to this email directly or view it on GitHub
#78 (comment).
from hapi-swagger.
Hi Glenn,
Only got to upgrade our servers to 8 and test this now - works perfectly. Thank you!
from hapi-swagger.
Related Issues (20)
- ValidationError: "contact.license" is not allowed HOT 2
- Enhancement: support ZOD validator HOT 1
- Speed slowdown on swagger.json generation HOT 2
- Is swagger.json regenerated on every server restart? HOT 2
- Feature Request/Offer: Proxy Prefix HOT 2
- Could not load content for webpack://SwaggerUIBundle/node_modules/swagger-client/es/http/index.js (Fetch through target failed: Unsupported URL scheme; Fallback: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME) HOT 1
- Static generation of swagger.json HOT 1
- Feature request: ability to set a query parameter as deprecated
- More format handled for string
- `Joi.ref`s as default values outputs a raw object HOT 1
- Failed to load API definition hapi-swagger ^17.1.0 HOT 1
- [FIX] Invalid schema on requestBody.content[multipart/form-data].schema for uploaded file on OAS3
- Swagger `queryConfigEnabled` property is not supported
- Feature Proposal: Ability to customize the `default` values for individual parameters
- OpenAPI 3.1 support
- description becomes summary
- Add more example for `auth` options from optionsreference.md
- Add a better default to auto increment model naming in hapi-swagger HOT 1
- [email protected] breaks the swagger UI
- joi.regex(//, { invert: true}); is not generated correctly in the swagger.
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 hapi-swagger.