OpenAPIOutput extension type

Describes where openapi.json should be written.

on

Constructors

OpenAPIOutput.fromJson(Map<String, Object?> json)
Wraps decoded JSON.
factory
OpenAPIOutput.local(String path)
Writes the document to a local path relative to the project root.
factory
OpenAPIOutput.route(String path)
Writes the document into the public directory.
factory

Properties

path → String
Target path.
no setter
type → String
Output type identifier.
no setter