Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/alosaur/openapi/builder/openapi-models.ts

Alosaur - Deno web framework with many decorators
Very Popular
Go to Latest
import * as alosaur from "https://deno.land/x/alosaur@v0.33.0/openapi/builder/openapi-models.ts";

Functions

A type guard to check if the given value is a ReferenceObject. See https://www.typescriptlang.org/docs/handbook/advanced-types.html#type-guards-and-differentiating-types

A type guard to check if the given object is a SchemaObject. Useful to distinguish from ReferenceObject values that can be used in most places where SchemaObject is allowed.

Type Aliases

The location of a parameter. Possible values are "query", "header", "path" or "cookie". Specification: https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#parameter-locations

The style of a parameter. Describes how the parameter value will be serialized. (serialization is not implemented yet) Specification: https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#style-values

T
PathObject
deprecated