Format

enum Format : Enum<Format>

The format of the output OpenAPI file.

Entries

Link copied to clipboard

Use the JSON format. Will not be beautified.

Link copied to clipboard

Use the YAML format. Will be beautified.

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
operator fun invoke(value: OpenAPI, version: OpenApiVersion): String

Convert the given OpenAPI object into the desired format.

Link copied to clipboard
fun valueOf(value: String): Format

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.