FirstOf

A source for an OpenAPI document that is generated from the first available source.

Report a problem

Parameters

options

The list of sources to try.

Constructors

Link copied to clipboard
constructor(options: List<OpenApiDocSource>)
constructor(vararg options: OpenApiDocSource)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun read(application: Application, defaults: OpenApiDoc): OpenApiDocSource.Text?

Reads the OpenAPI document from the given source.

Link copied to clipboard
open override fun toString(): String