mirror of
https://github.com/fosrl/pangolin.git
synced 2025-05-12 21:30:35 +01:00
17 lines
346 B
TypeScript
17 lines
346 B
TypeScript
import { OpenAPIRegistry } from "@asteasolutions/zod-to-openapi";
|
|
|
|
export const registry = new OpenAPIRegistry();
|
|
|
|
export const bearerAuth = registry.registerComponent(
|
|
"securitySchemes",
|
|
"Bearer Auth",
|
|
{
|
|
type: "http",
|
|
scheme: "bearer"
|
|
}
|
|
);
|
|
|
|
export enum OpenAPITags {
|
|
Site = "Site",
|
|
Org = "Organization"
|
|
}
|