Search results

10 packages found

Koas status code automatically sets the response status code based on the success status code specified in the Open API object.

published 0.7.0 2 years ago
M
Q
P

Koas operations maps operation IDs to Koa controller functions.

published 0.7.0 2 years ago
M
Q
P

> [Koa][] + [OpenAPI Specification][] = Koas

published 0.7.0 2 years ago
M
Q
P

Koas serializer converts a response body to the negotiated response format.

published 0.7.0 2 years ago
M
Q
P

Koas parameters attempts to coerce path and query parameters to the type specified in their respective JSON schema.

published 0.7.0 2 years ago
M
Q
P

Koas body parser parses and validates request bodies based on the current operation.

published 0.7.0 2 years ago
M
Q
P

## Required peer dependencies

published 0.3.0 a year ago
M
Q
P

Koas spec handler exposes the Open API document as a JSON API call.

published 0.7.0 2 years ago
M
Q
P

Koas Swagger UI serves Swagger UI. This requires the `specURL` variable to have been set on the `ctx.openApi` object. Typically this is done by combining it with [`koas-spec-handler`][].

published 0.7.0 2 years ago
M
Q
P

Koas security checks if a request matches the security requirement of an operation. For example, given the following partial OpenAPI document:

published 0.7.0 2 years ago
M
Q
P