| Package | Description |
|---|---|
| io.smallrye.openapi.runtime | |
| io.smallrye.openapi.runtime.io |
| Modifier and Type | Method and Description |
|---|---|
Format |
OpenApiStaticFile.getFormat() |
| Modifier and Type | Method and Description |
|---|---|
void |
OpenApiStaticFile.setFormat(Format format) |
| Constructor and Description |
|---|
OpenApiStaticFile(InputStream content,
Format format) |
| Modifier and Type | Method and Description |
|---|---|
static Format |
Format.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Format[] |
Format.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static org.eclipse.microprofile.openapi.models.OpenAPI |
OpenApiParser.parse(InputStream stream,
Format format)
Parses the resource found at the given stream.
|
static String |
OpenApiSerializer.serialize(org.eclipse.microprofile.openapi.models.OpenAPI openApi,
Format format)
Serializes the given OpenAPI object into either JSON or YAML and returns it as a string.
|
Copyright © 2018–2021. All rights reserved.