-
-
Notifications
You must be signed in to change notification settings - Fork 263
Treat response content_type */* as application/json #1227
781574155
started this conversation in
Feature request
-
image
image
most of the time, openapi use json as response. so i wish you treat */* as application/json, insteat of response will be omitted from generated client
I use springboot framework. It can reponse different content type base on the accept header of the client request. so in the openapi doc, it's response content will be */*
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 2 comments
-
Or add a command line switch param to support this
Beta Was this translation helpful? Give feedback.
All reactions
0 replies
-
content_type_overrides:
'*/*': application/json
this works for me!
Beta Was this translation helpful? Give feedback.
All reactions
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment