Skip to main content
Module

x/alosaur/openapi/mod.ts>AlosaurOpenApiBuilder

Alosaur - Deno web framework with many decorators
Very Popular
Go to Latest
class AlosaurOpenApiBuilder
import { AlosaurOpenApiBuilder } from "https://deno.land/x/alosaur@v0.9.0/openapi/mod.ts";

For testing this builder use this editor: https://editor.swagger.io/

Constructors

new
AlosaurOpenApiBuilder(settings: AppSettings)

Properties

private
builder: OpenApiBuilder
private
classes: ObjectKeyAny[]
private
metadata: MetadataArgsStorage
private
routes: MetaRoute[]

Methods

private
getPathItem(route: MetaRoute): oa.PathItemObject
addServer(server: oa.ServerObject): AlosaurOpenApiBuilder
getSpec(): oa.OpenAPIObject
print(): void