Comments (5)
Good point @gazab Do you want to set this at the moment of generation? Otherwise im thinking we can add this to the OpenApi global settings (where we also set the bearer token for instace)
from openapi-typescript-codegen.
@ferdikoomen Hm, I think I would prefer the global options for anything not required to be done on generation. And the old value should still be default. What do you think?
from openapi-typescript-codegen.
Sounds good, adding this now
from openapi-typescript-codegen.
Created PR: #256
OpenApi.WITH_CREDENTIALS = true
Will set the correct settings for both fetch and XHR request
from openapi-typescript-codegen.
Will create a new build in a bit, PR is merged
from openapi-typescript-codegen.
Related Issues (20)
- Method Names postfixed with Numbers
- Method Names postfixed with Numbers HOT 7
- All properties are nullable, even though they are not defined as nullable in swagger file HOT 3
- Indent "tabs" write empty files HOT 1
- A flag to determine file extensions in import statements HOT 1
- Property name with dashes cause incorrect typescript conversion HOT 2
- Behavior change for relative input path in 0.26.0 HOT 19
- parameter with same name as schema conflicts HOT 11
- Type error: Type alias ‘XXX’ circularly references itself. HOT 14
- getFormData causes issue in submitting files
- Type error: Private identifiers are only available when targeting ECMAScript 2015 and higher. HOT 22
- Relative external references for Angular client doesn't work HOT 1
- OpenAPI.ts `Resolver` typing is annoying, should use a `Maybe` type
- While resolving: [email protected] HOT 1
- Unable to run when redocly is installed HOT 2
- Option to rename `requestBody` HOT 1
- Select/Filter Tags to generate specific Services only HOT 1
- Literal fields are converted to optional any HOT 5
- Adding the option to remove certain or all file headers. HOT 1
- Referenced nullable object types are not generated as possibly null HOT 4
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 openapi-typescript-codegen.