| Package | Description |
|---|---|
| org.wildfly.swarm.microprofile.openapi.runtime.io |
| Modifier and Type | Method and Description |
|---|---|
static OpenApiSerializer.Format |
OpenApiSerializer.Format.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OpenApiSerializer.Format[] |
OpenApiSerializer.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 OpenAPIImpl |
OpenApiParser.parse(InputStream stream,
OpenApiSerializer.Format format)
Parses the resource found at the given stream.
|
static String |
OpenApiSerializer.serialize(org.eclipse.microprofile.openapi.models.OpenAPI oai,
OpenApiSerializer.Format format)
Serializes the given OpenAPI object into either JSON or YAML and returns it as a string.
|
Copyright © 2018 JBoss by Red Hat. All rights reserved.