* Set the schema for the request body of the endpoint. The schema will be * used to validate the request body before the handler is called. * * For endpoints with no request body, the payload will use the url search * parameters. * * You can set a multipart schema to handle file up
(
schema: P & HttpApiEndpoint.ValidatePayload<Method, P>
)
| 132 | * `HttpApiSchema.Multipart` combinator. |
| 133 | */ |
| 134 | setPayload<P extends Schema.Schema.Any>( |
| 135 | schema: P & HttpApiEndpoint.ValidatePayload<Method, P> |
| 136 | ): HttpApiEndpoint< |
| 137 | Name, |
no outgoing calls
no test coverage detected