OpenAPIOutput extension type
Describes where openapi.json should be written.
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