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