openapi_spec library
Functions
-
generateOpenApiSpec(
App app, bool usingThat) → Map< String, dynamic> -
Generates an OpenAPI Spec from every route in
app
only setusingThat
totrue
if the invoker isapp.openApi()
app
only set usingThat
to true
if the invoker is app.openApi()