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

add validation that Content-Type is supported according to schema #56

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

david0
Copy link

@david0 david0 commented Jul 26, 2024

fixes #55

@@ -44,6 +44,7 @@ public class OpenApiValidator {
final String STATUS_INVALID_REQUEST_PATH = "ERR10007";
final String STATUS_METHOD_NOT_ALLOWED = "ERR10008";
final String STATUS_CONTENT_TYPE_MISMATCH = "ERR10015";
final String STATUS_CONTENT_TYPE_NOT_SUPPORTED = "ERR11108";
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will release a snapshot version this evening. Thanks.

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.

Reject content types that are not listed
2 participants