Skip to content

Conversation

@jackjocross
Copy link

This PR is based on swagger-api#4852 and adds support for uploading files with multipart/form-data.

let hasFile = false;
{{#formParams}}
{{#isFile}}hasFile = true;
{{/isFile}}
Copy link
Author

@jackjocross jackjocross Feb 11, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This code is a little clunky, but comments in the PR I based these changes off of didn't offer alternative solutions: https://github.com/swagger-api/swagger-codegen/pull/4852/files#r104352794.

eonwhite pushed a commit that referenced this pull request Dec 26, 2019
…i#8157)

Motivation
----
The current release of swagger-codegen does not output valid strict typescript for discriminators

Modifications
----
Updating the discriminator output to be valid strict typescript
eonwhite pushed a commit that referenced this pull request Dec 26, 2019
eonwhite pushed a commit that referenced this pull request Dec 26, 2019
eonwhite pushed a commit that referenced this pull request Dec 26, 2019
virtuoushub referenced this pull request in virtuoushub/swagger-codegen Jan 13, 2022
Merging updates to typescript-axios codegen and Kotlin codegen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant