Skip to content

Fix typescript axios content type - #1428

Open
flashnoob wants to merge 3 commits into
swagger-api:masterfrom
flashnoob:fix-typescript-axios-content-type
Open

Fix typescript axios content type#1428
flashnoob wants to merge 3 commits into
swagger-api:masterfrom
flashnoob:fix-typescript-axios-content-type

Conversation

@flashnoob

Copy link
Copy Markdown

Pull Request

Description

Fix case-insensitive Content-Type detection in the typescript-axios generator.

The generated client currently checks the Content-Type header using an exact key:

localVarRequestOptions.headers['Content-Type']

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.

2 participants