-
Notifications
You must be signed in to change notification settings - Fork 533
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into bug/1375-empty-blank-parameter-example
- Loading branch information
Showing
7 changed files
with
193 additions
and
184 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
315 changes: 146 additions & 169 deletions
315
modules/swagger-parser-v3/src/main/java/io/swagger/v3/parser/OpenAPIV3Parser.java
Large diffs are not rendered by default.
Oops, something went wrong.
9 changes: 9 additions & 0 deletions
9
...parser-v3/src/main/java/io/swagger/v3/parser/exception/EncodingNotSupportedException.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,9 @@ | ||
package io.swagger.v3.parser.exception; | ||
|
||
public class EncodingNotSupportedException extends RuntimeException { | ||
private static final long serialVersionUID = 3686905713011188803L; | ||
|
||
public EncodingNotSupportedException(String encoding) { | ||
super(String.format("Encoding `%s` is not supported by JRE", encoding)); | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
.../swagger-parser-v3/src/main/java/io/swagger/v3/parser/exception/ReadContentException.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,12 @@ | ||
package io.swagger.v3.parser.exception; | ||
|
||
/** | ||
* Happens when it's unable to read content from file or other resource | ||
*/ | ||
public class ReadContentException extends RuntimeException { | ||
private static final long serialVersionUID = 4720926576862628428L; | ||
|
||
public ReadContentException(String message, Throwable cause) { | ||
super(message, cause); | ||
} | ||
} |
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