public class OpenAPIParser extends Object
| Constructor and Description |
|---|
OpenAPIParser() |
| Modifier and Type | Method and Description |
|---|---|
protected List<SwaggerParserExtension> |
getExtensions() |
SwaggerParseResult |
readContents(String swaggerAsString,
List<AuthorizationValue> auth,
ParseOptions options) |
SwaggerParseResult |
readLocation(String url,
List<AuthorizationValue> auth,
ParseOptions options) |
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)
public SwaggerParseResult readContents(String swaggerAsString, List<AuthorizationValue> auth, ParseOptions options)
protected List<SwaggerParserExtension> getExtensions()
protected List<AuthorizationValue> transform(List<AuthorizationValue> input)
input - Copyright © 2017. All Rights Reserved.