ApiBasicAuth(): DecoratorFunction
Indicate that the endpoint use basic authentication security.
This function is a shorthand for applying the 'basic' security scheme using the ApiSecurity
decorator.
Danet's module to generate your OpenAPI/Swagger documentation from your code
ApiBasicAuth(): DecoratorFunction
Indicate that the endpoint use basic authentication security.
This function is a shorthand for applying the 'basic' security scheme using the ApiSecurity
decorator.
Add Package
deno add jsr:@danet/swagger
Import symbol
import { ApiBasicAuth } from "@danet/swagger/decorators";
---- OR ----
Import directly with a jsr specifier
import { ApiBasicAuth } from "jsr:@danet/swagger/decorators";
Add Package
npx jsr add @danet/swagger
Import symbol
import { ApiBasicAuth } from "@danet/swagger/decorators";
Add Package
yarn dlx jsr add @danet/swagger
Import symbol
import { ApiBasicAuth } from "@danet/swagger/decorators";
Add Package
pnpm dlx jsr add @danet/swagger
Import symbol
import { ApiBasicAuth } from "@danet/swagger/decorators";
Add Package
bunx jsr add @danet/swagger
Import symbol
import { ApiBasicAuth } from "@danet/swagger/decorators";