public class Swagger20Parser extends java.lang.Object implements SwaggerParserExtension
| Constructor and Description |
|---|
Swagger20Parser() |
| Modifier and Type | Method and Description |
|---|---|
protected com.fasterxml.jackson.databind.JsonNode |
deserializeYaml(java.lang.String data) |
Swagger |
parse(java.lang.String data) |
Swagger |
read(com.fasterxml.jackson.databind.JsonNode node) |
Swagger |
read(java.lang.String location,
java.util.List<io.swagger.models.auth.AuthorizationValue> auths) |
SwaggerDeserializationResult |
readWithInfo(com.fasterxml.jackson.databind.JsonNode node) |
SwaggerDeserializationResult |
readWithInfo(java.lang.String location,
java.util.List<io.swagger.models.auth.AuthorizationValue> auths) |
public SwaggerDeserializationResult readWithInfo(com.fasterxml.jackson.databind.JsonNode node)
readWithInfo in interface SwaggerParserExtensionpublic SwaggerDeserializationResult readWithInfo(java.lang.String location, java.util.List<io.swagger.models.auth.AuthorizationValue> auths)
readWithInfo in interface SwaggerParserExtensionprotected com.fasterxml.jackson.databind.JsonNode deserializeYaml(java.lang.String data)
throws java.io.IOException
java.io.IOExceptionpublic Swagger read(java.lang.String location, java.util.List<io.swagger.models.auth.AuthorizationValue> auths) throws java.io.IOException
read in interface SwaggerParserExtensionjava.io.IOExceptionpublic Swagger parse(java.lang.String data) throws java.io.IOException
java.io.IOExceptionpublic Swagger read(com.fasterxml.jackson.databind.JsonNode node) throws java.io.IOException
read in interface SwaggerParserExtensionjava.io.IOExceptionCopyright © 2019. All Rights Reserved.