JSPM

Found 10 results for koas

koas-security

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

  • v0.7.0
  • 61.58
  • Published

koas-serializer

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

  • v0.7.0
  • 60.34
  • Published

koas-spec-handler

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

  • v0.7.0
  • 58.10
  • Published

koas-swagger-ui

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`][].

  • v0.7.0
  • 55.89
  • Published

koas-status-code

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

  • v0.7.0
  • 55.88
  • Published

koas-operations

Koas operations maps operation IDs to Koa controller functions.

  • v0.7.0
  • 55.87
  • Published

koas-parameters

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

  • v0.7.0
  • 55.76
  • Published

koas-core

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

  • v0.7.0
  • 55.73
  • Published

koas-body-parser

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

  • v0.7.0
  • 55.70
  • Published

koas3

## Required peer dependencies

  • v0.5.2
  • 28.61
  • Published