File

class File(val path: String) : OpenApiDocSource(source)

A file-based source for OpenAPI document.

Report a problem

Parameters

path

The file path to read the document from.

Constructors

Link copied to clipboard
constructor(path: String)

Properties

Link copied to clipboard
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