Comments (3)
I created a pull request in swagger.js that enables setting headers globally. See swagger-api/swagger-js#4
from swagger-ui.
thanks @rintcius Also updated readme
from swagger-ui.
hi @ayush Maybe also mention that in order to use these headers this also needs to be set:
supportHeaderParams: true
from swagger-ui.
Related Issues (20)
- OpenAPI 3.x: request body doesn't update when changing between content type in try it out HOT 1
- Swagger UI incorrectly displays the Petstore 3.0 specification
- Allow free-form Cookie header to be set in the Authorise modal
- Add "Client credentials location" combo box to "clientCredentials" OAuth flow authorization dialog instead of making the aforementioned control exclusive to password flow
- How to hide schema section in Swagger UI 5.0.0 for OpenAPI spec 3.1.x from the bottom?
- Name displayed instead of title only for OpenAPI 3.1 HOT 1
- Styling issues for OAS 3.1 and Swagger 2.x API documentations HOT 1
- Schemas not visible at all HOT 1
- Does swagger-ui 5.x support rendering AsyncAPIs? HOT 1
- Inconsistent Rendering of Schemas in Swagger UI for OpenAPI 3.1 Specification
- Is requestInterceptor is apply once when use in react?
- How to Make Examples Tab the Default Tab in Swagger UI?
- Hide parameter inputs in non-"Try it out" mode.
- 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
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.