Comments (5)
@gazab Yes, i see the issue. Let me see if there is a nice way to implement this, but the documentation is pretty clear.
from openapi-typescript-codegen.
https://github.com/tomohisa/openapi-typescript-codegen
I fixed it for my own project but not sure its the way it should fixed.
master...tomohisa:master
I added content which was not used current and depends on content, and add
operation.parametersFormData
to use for
formData: formData
{formData?: any}
from openapi-typescript-codegen.
Any news on when this will be available as I'm facing the same issue right now? Thx!!
from openapi-typescript-codegen.
@knoefel @gazab This should be fixed now. 0.11.4 should have partial multi-part form data support (to start with). Could you validate if this works correctly now?
from openapi-typescript-codegen.
@ferdikoomen big thanks for fixing this but unfortunately I no longer have an easy way to test it. Tbh, I barely even understand what I wrote in the original issue. That was a million code thoughts ago 😄
from openapi-typescript-codegen.
Related Issues (20)
- 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
- anyOf combining literals and objects generates incorrect code HOT 6
- Ability to process multiple input files HOT 5
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.