public class Swagger20Parser extends Object implements SwaggerParserExtension
| Constructor and Description |
|---|
Swagger20Parser() |
| Modifier and Type | Method and Description |
|---|---|
protected com.fasterxml.jackson.databind.JsonNode |
deserializeYaml(String data) |
protected com.fasterxml.jackson.databind.JsonNode |
deserializeYaml(String data,
SwaggerDeserializationResult errorOutput) |
io.swagger.models.Swagger |
parse(String data) |
io.swagger.models.Swagger |
read(com.fasterxml.jackson.databind.JsonNode node) |
io.swagger.models.Swagger |
read(String location,
List<io.swagger.models.auth.AuthorizationValue> auths) |
SwaggerDeserializationResult |
readWithInfo(com.fasterxml.jackson.databind.JsonNode node) |
SwaggerDeserializationResult |
readWithInfo(String location,
List<io.swagger.models.auth.AuthorizationValue> auths) |
public SwaggerDeserializationResult readWithInfo(com.fasterxml.jackson.databind.JsonNode node)
readWithInfo in interface SwaggerParserExtensionpublic SwaggerDeserializationResult readWithInfo(String location, List<io.swagger.models.auth.AuthorizationValue> auths)
readWithInfo in interface SwaggerParserExtensionprotected com.fasterxml.jackson.databind.JsonNode deserializeYaml(String data) throws IOException
IOExceptionprotected com.fasterxml.jackson.databind.JsonNode deserializeYaml(String data, SwaggerDeserializationResult errorOutput) throws IOException
IOExceptionpublic io.swagger.models.Swagger read(String location, List<io.swagger.models.auth.AuthorizationValue> auths) throws IOException
read in interface SwaggerParserExtensionIOExceptionpublic io.swagger.models.Swagger parse(String data) throws IOException
IOExceptionpublic io.swagger.models.Swagger read(com.fasterxml.jackson.databind.JsonNode node)
throws IOException
read in interface SwaggerParserExtensionIOExceptionCopyright © 2024. All rights reserved.