public class SwaggerCompatConverter extends java.lang.Object implements SwaggerParserExtension
| Constructor and Description |
|---|
SwaggerCompatConverter() |
| Modifier and Type | Method and Description |
|---|---|
io.swagger.models.Swagger |
convert(ResourceListing resourceListing,
java.util.List<ApiDeclaration> apiDeclarations) |
io.swagger.models.Model |
convertModel(Model model) |
io.swagger.models.Operation |
convertOperation(java.lang.String tag,
Operation operation,
ApiDeclaration apiDeclaration) |
io.swagger.models.parameters.Parameter |
convertParameter(Parameter param) |
io.swagger.models.properties.Property |
convertProperty(ModelProperty property) |
io.swagger.models.Model |
modelFromExtendedTypedObject(ExtendedTypedObject obj) |
io.swagger.models.properties.Property |
propertyFromTypedObject(ExtendedTypedObject obj) |
io.swagger.models.Swagger |
read(com.fasterxml.jackson.databind.JsonNode node) |
io.swagger.models.Swagger |
read(java.lang.String input) |
io.swagger.models.Swagger |
read(java.lang.String input,
java.util.List<io.swagger.models.auth.AuthorizationValue> auths) |
ApiDeclaration |
readDeclaration(java.lang.String input,
MessageBuilder messages,
java.util.List<io.swagger.models.auth.AuthorizationValue> auths) |
ResourceListing |
readResourceListing(java.lang.String input,
MessageBuilder messages,
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 SwaggerParserExtensionpublic io.swagger.models.Swagger read(com.fasterxml.jackson.databind.JsonNode node)
throws java.io.IOException
read in interface SwaggerParserExtensionjava.io.IOExceptionpublic io.swagger.models.Swagger read(java.lang.String input)
throws java.io.IOException
java.io.IOExceptionpublic io.swagger.models.Swagger read(java.lang.String input,
java.util.List<io.swagger.models.auth.AuthorizationValue> auths)
throws java.io.IOException
read in interface SwaggerParserExtensionjava.io.IOExceptionpublic ResourceListing readResourceListing(java.lang.String input, MessageBuilder messages, java.util.List<io.swagger.models.auth.AuthorizationValue> auths)
public io.swagger.models.Model convertModel(Model model)
public io.swagger.models.properties.Property convertProperty(ModelProperty property)
public io.swagger.models.parameters.Parameter convertParameter(Parameter param)
public io.swagger.models.Model modelFromExtendedTypedObject(ExtendedTypedObject obj)
public io.swagger.models.properties.Property propertyFromTypedObject(ExtendedTypedObject obj)
public io.swagger.models.Operation convertOperation(java.lang.String tag,
Operation operation,
ApiDeclaration apiDeclaration)
public ApiDeclaration readDeclaration(java.lang.String input, MessageBuilder messages, java.util.List<io.swagger.models.auth.AuthorizationValue> auths)
public io.swagger.models.Swagger convert(ResourceListing resourceListing, java.util.List<ApiDeclaration> apiDeclarations)
Copyright © 2019. All Rights Reserved.