Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support endpoints without application/json bodies #119

Merged
merged 1 commit into from
Jun 27, 2022

Conversation

plotnick
Copy link
Contributor

Since oxidecomputer/dropshot#363 landed, API endpoints may have body types other than application/json. This patch allows the TypeScript client generator to handle such endpoints by ignoring them (rather than failing in generation).

@david-crespo
Copy link
Collaborator

Sweet, thanks!

@david-crespo david-crespo merged commit 318ad7e into main Jun 27, 2022
@david-crespo david-crespo deleted the non-json-content branch June 27, 2022 22:09
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