Module: @astro-openapi/backend
Type Aliases
AstroOperationHandler
Ƭ AstroOperationHandler<Body
, Params
, Query
, Headers
, Cookie
>: (openapi?
: Context
<Body
, Params
, Query
, Headers
, Cookie
>, astro?
: AstroAPIContext
) => ReturnType
<APIRoute
>
Type parameters
Name | Type |
---|---|
Body |
any |
Params |
any |
Query |
any |
Headers |
any |
Cookie |
any |
Type declaration
▸ (openapi?
, astro?
): ReturnType
<APIRoute
>
Parameters
Name | Type |
---|---|
openapi? |
Context <Body , Params , Query , Headers , Cookie > |
astro? |
AstroAPIContext |
Returns
ReturnType
<APIRoute
>
Defined in
Functions
default
▸ default(): AstroIntegration
Returns
AstroIntegration