Skip to content

Conversation

@abhishekmsingh
Copy link
Owner

The codegen we are using does not support 204 as response code due to a weird bug. So we need to use 200 but no content so that it generates a client service which returns a header.
Have raised an MR with fix: ferdikoomen/openapi-typescript-codegen#1965

@Shreya-7 Shreya-7 merged commit 24aaaa1 into main Jan 3, 2024
@mrlubos
Copy link

mrlubos commented Feb 4, 2024

@abhiandthetruth did you have time to look at https://github.com/nicolas-chaulet/openapi-typescript-codegen? We handle 204 status codes as I was running into issues with generated types assuming success response would always be defined

@abhishekmsingh
Copy link
Owner Author

Hey no, have not checked that out. Will do in some time

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.

4 participants