Comments (1)
Hi this is a bit hacky but will get you by right now. You can pass a system property as such:
-Dheader=key:value
Which translates into passing that key/value pair into each call to read the swagger JSON.
This is hacky because the proper fix will be to redo the args being passed into the code generator, but that would break all the clients. I'll put in a named-argument scheme shortly, similar to the AsyncScalaGenerator.
from swagger-codegen.
Related Issues (20)
- ERRORUNKNOWN in java okhttp4-gson template HOT 3
- [Python] Issue with Multipart/Form-Data Requests
- [Java] fix connection leak on retrofit OAuth token renewal in V3
- [ASPNETCORE] bad character in generated file HOT 1
- HTML2 output contains errors and does not match API code or documentation HOT 2
- [PYTHON] Error when receiving .zip file octet-stream response from API endpoint HOT 1
- [Typescript] the java back end writed controller function as ‘HashMap<String, Object>’ to be return type,but generated ts code is error... HOT 1
- [JAVA] Performance issues with AbstractJavaCodegen.toModelName() HOT 1
- [JAVA] okhttp4-gson template is not compatible with jakarta=true HOT 1
- swagger-codegen not installed in latest docker HOT 5
- [SPRING][SPRING-CLOUD] Bug generating server code response content type when multiple content type are present
- [SPRING][SPRING-CLOUD] Bug generating invoker for request params with style: form and explode: true
- [JAVA][SPRING-WEB] Compilation error if spec has a path parameter named "path" HOT 1
- [Java] confusion regarding master and 3.0.0
- [Nodejs] Typescript-axios generated client not applying security schemes HOT 1
- [Java] Discriminator present twice since 3.0.47
- Add okhttp4-gson codegen to support OkHttp 4.12.0
- Package com.squareup.okhttp does not exist when using swagger-codegen-v3 with com.squareup.okhttp3
- [Ruby] OpenAPI spec version is not being updated in spec/* files
- Docker v3 release scripts use the wrong dockerfiles for minimal and codegen 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-codegen.