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 SwaggerParserExtension
public SwaggerDeserializationResult readWithInfo(java.lang.String location, java.util.List<io.swagger.models.auth.AuthorizationValue> auths)
readWithInfo
in interface SwaggerParserExtension
protected com.fasterxml.jackson.databind.JsonNode deserializeYaml(java.lang.String data) throws java.io.IOException
java.io.IOException
public Swagger read(java.lang.String location, java.util.List<io.swagger.models.auth.AuthorizationValue> auths) throws java.io.IOException
read
in interface SwaggerParserExtension
java.io.IOException
public Swagger parse(java.lang.String data) throws java.io.IOException
java.io.IOException
public Swagger read(com.fasterxml.jackson.databind.JsonNode node) throws java.io.IOException
read
in interface SwaggerParserExtension
java.io.IOException
Copyright © 2019. All Rights Reserved.