public class OpenAPIV3Parser extends Object implements SwaggerParserExtension
| Constructor and Description |
|---|
OpenAPIV3Parser() |
| Modifier and Type | Method and Description |
|---|---|
protected List<SwaggerParserExtension> |
getExtensions() |
io.swagger.oas.models.OpenAPI |
read(String location) |
io.swagger.oas.models.OpenAPI |
read(String location,
List<AuthorizationValue> auths,
ParseOptions resolve) |
SwaggerParseResult |
readContents(String swaggerAsString,
List<AuthorizationValue> auth,
ParseOptions options) |
SwaggerParseResult |
readLocation(String url,
List<AuthorizationValue> auth,
ParseOptions options) |
SwaggerParseResult |
readWithInfo(com.fasterxml.jackson.databind.JsonNode node) |
SwaggerParseResult |
readWithInfo(String location,
List<AuthorizationValue> auths) |
protected List<AuthorizationValue> |
transform(List<AuthorizationValue> input)
Transform the swagger-model version of AuthorizationValue into a parser-specific one, to avoid
dependencies across extensions
|
public SwaggerParseResult readLocation(String url, List<AuthorizationValue> auth, ParseOptions options)
readLocation in interface SwaggerParserExtensionpublic io.swagger.oas.models.OpenAPI read(String location)
public io.swagger.oas.models.OpenAPI read(String location, List<AuthorizationValue> auths, ParseOptions resolve)
public SwaggerParseResult readWithInfo(com.fasterxml.jackson.databind.JsonNode node)
public SwaggerParseResult readWithInfo(String location, List<AuthorizationValue> auths)
public SwaggerParseResult readContents(String swaggerAsString, List<AuthorizationValue> auth, ParseOptions options)
readContents in interface SwaggerParserExtensionprotected List<SwaggerParserExtension> getExtensions()
protected List<AuthorizationValue> transform(List<AuthorizationValue> input)
input - Copyright © 2017. All Rights Reserved.