-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Bugfix] Exclude violation
operation.notAllowed
with 405 (#43)
- Loading branch information
Showing
6 changed files
with
94 additions
and
32 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
openapi-validation-api/src/main/java/com/getyourguide/openapi/validation/api/Rules.java
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package com.getyourguide.openapi.validation.api; | ||
|
||
public class Rules { | ||
public static class Request { | ||
public static final String PATH_MISSING = "validation.request.path.missing"; | ||
public static final String OPERATION_NOT_ALLOWED = "validation.request.operation.notAllowed"; | ||
public static final String BODY_SCHEMA_ONE_OF = "validation.request.body.schema.oneOf"; | ||
} | ||
|
||
public static class Response { | ||
public static final String BODY_SCHEMA_ONE_OF = "validation.response.body.schema.oneOf"; | ||
} | ||
} |
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
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
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