Minima.js API / @minimajs/openapi
@minimajs/openapi
Namespaces
| Namespace | Description |
|---|---|
| OpenAPI | - |
Interfaces
| Interface | Description |
|---|---|
| OpenAPIPluginOptions | - |
Functions
| Function | Description |
|---|---|
| cleanJSONSchema | Cleans JSON Schema for OpenAPI compatibility. Removes properties that are valid in JSON Schema but not in OpenAPI. |
| describe | Adds OpenAPI operation metadata to a route. |
| generateOpenAPIDocument | - |
| internal | Marks a route as internal, excluding it from the OpenAPI spec. |
| openapi | - |