-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1466 from rsvoboda/openapi-default-content-type
OpenAPI - different default content type for pojo and primitives
- Loading branch information
Showing
6 changed files
with
26 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 5 additions & 4 deletions
9
spring/spring-web-reactive/src/test/resources/request-types.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,21 @@ | ||
/delete-text-plain,delete,text/plain | ||
/delete/no-type,delete,application/json | ||
# TODO uncomment once https://github.com/quarkusio/quarkus/issues/36297 is fixed | ||
#/delete/no-type,delete,text/plain | ||
/delete/text-plain,delete,text/plain | ||
/delete/json,delete,application/json | ||
/delete/octet-stream,delete,application/octet-stream | ||
/patch-text-plain,patch,text/plain | ||
/patch/no-type,patch,application/json | ||
#/patch/no-type,patch,text/plain | ||
/patch/text-plain,patch,text/plain | ||
/patch/json,patch,application/json | ||
/patch/octet-stream,patch,application/octet-stream | ||
/post-text-plain,post,text/plain | ||
/post/no-type,post,application/json | ||
#/post/no-type,post,text/plain | ||
/post/text-plain,post,text/plain | ||
/post/json,post,application/json | ||
/post/octet-stream,post,application/octet-stream | ||
/put-text-plain,put,text/plain | ||
/put/no-type,put,application/json | ||
#/put/no-type,put,text/plain | ||
/put/text-plain,put,text/plain | ||
/put/json,put,application/json | ||
/put/octet-stream,put,application/octet-stream |
10 changes: 5 additions & 5 deletions
10
spring/spring-web-reactive/src/test/resources/response-types.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
/delete-text-plain,delete,text/plain | ||
/delete/no-type,delete,application/json | ||
/delete/no-type,delete,text/plain | ||
/delete/text-plain,delete,text/plain | ||
/delete/json,delete,application/json | ||
/delete/octet-stream,delete,application/octet-stream | ||
/get-text-plain,get,text/plain | ||
/get/no-type,get,application/json | ||
/get/no-type,get,text/plain | ||
/get/text-plain,get,text/plain | ||
/get/json,get,application/json | ||
/get/octet-stream,get,application/octet-stream | ||
/patch-text-plain,patch,text/plain | ||
/patch/no-type,patch,application/json | ||
/patch/no-type,patch,text/plain | ||
/patch/text-plain,patch,text/plain | ||
/patch/json,patch,application/json | ||
/patch/octet-stream,patch,application/octet-stream | ||
/post-text-plain,post,text/plain | ||
/post/no-type,post,application/json | ||
/post/no-type,post,text/plain | ||
/post/text-plain,post,text/plain | ||
/post/json,post,application/json | ||
/post/octet-stream,post,application/octet-stream | ||
/put-text-plain,put,text/plain | ||
/put/no-type,put,application/json | ||
/put/no-type,put,text/plain | ||
/put/text-plain,put,text/plain | ||
/put/json,put,application/json | ||
/put/octet-stream,put,application/octet-stream |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,21 @@ | ||
/delete-text-plain,delete,text/plain | ||
/delete/no-type,delete,application/json | ||
# TODO uncomment once https://github.com/quarkusio/quarkus/issues/36297 is fixed | ||
#/delete/no-type,delete,text/plain | ||
/delete/text-plain,delete,text/plain | ||
/delete/json,delete,application/json | ||
/delete/octet-stream,delete,application/octet-stream | ||
/patch-text-plain,patch,text/plain | ||
/patch/no-type,patch,application/json | ||
#/patch/no-type,patch,text/plain | ||
/patch/text-plain,patch,text/plain | ||
/patch/json,patch,application/json | ||
/patch/octet-stream,patch,application/octet-stream | ||
/post-text-plain,post,text/plain | ||
/post/no-type,post,application/json | ||
#/post/no-type,post,text/plain | ||
/post/text-plain,post,text/plain | ||
/post/json,post,application/json | ||
/post/octet-stream,post,application/octet-stream | ||
/put-text-plain,put,text/plain | ||
/put/no-type,put,application/json | ||
#/put/no-type,put,text/plain | ||
/put/text-plain,put,text/plain | ||
/put/json,put,application/json | ||
/put/octet-stream,put,application/octet-stream |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
/delete-text-plain,delete,text/plain | ||
/delete/no-type,delete,application/json | ||
/delete/no-type,delete,text/plain | ||
/delete/text-plain,delete,text/plain | ||
/delete/json,delete,application/json | ||
/delete/octet-stream,delete,application/octet-stream | ||
/get-text-plain,get,text/plain | ||
/get/no-type,get,application/json | ||
/get/no-type,get,text/plain | ||
/get/text-plain,get,text/plain | ||
/get/json,get,application/json | ||
/get/octet-stream,get,application/octet-stream | ||
/patch-text-plain,patch,text/plain | ||
/patch/no-type,patch,application/json | ||
/patch/no-type,patch,text/plain | ||
/patch/text-plain,patch,text/plain | ||
/patch/json,patch,application/json | ||
/patch/octet-stream,patch,application/octet-stream | ||
/post-text-plain,post,text/plain | ||
/post/no-type,post,application/json | ||
/post/no-type,post,text/plain | ||
/post/text-plain,post,text/plain | ||
/post/json,post,application/json | ||
/post/octet-stream,post,application/octet-stream | ||
/put-text-plain,put,text/plain | ||
/put/no-type,put,application/json | ||
/put/no-type,put,text/plain | ||
/put/text-plain,put,text/plain | ||
/put/json,put,application/json | ||
/put/octet-stream,put,application/octet-stream |