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

x/alosaur/openapi/parser/src/js-doc-parser.ts>JsDocObject

Alosaur - Deno web framework with many decorators
Go to Latest
interface JsDocObject
import { type JsDocObject } from "https://deno.land/x/alosaur@v1.1.0/openapi/parser/src/js-doc-parser.ts";

Properties

optional
example: string
optional
default: string
optional
description: string
optional
deprecated: boolean
optional
required: boolean
optional
remarks: string
optional
summary: string
optional
format: string
optional
params: string[]
optional
RequestBody: string[]

Request body media type uses in controllers application/json, application/xml, text/plain, etc https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#requestBodyObject