Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Treat response content_type */* as application/json#1227

781574155 started this conversation inFeature request
Discussion options

image
image
most of the time, openapi use json as response. so i wish you treat*/* as application/json, insteat ofresponse 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 */*

You must be logged in to vote

Replies: 2 comments

Comment options

Or add a command line switch param to support this

You must be logged in to vote
0 replies
Comment options

content_type_overrides:  '*/*': application/json

this works for me!

You must be logged in to vote
0 replies
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Labels
None yet
1 participant
@781574155

[8]ページ先頭

©2009-2025 Movatter.jp