deploy: change documentation provider using swagger
This commit is contained in:
@@ -7,7 +7,7 @@ type OpenApiDocumentation = Omit<Partial<OpenAPIV3.Document<OpenApiDocWithTagGro
|
|||||||
|
|
||||||
export const swaggerPlugin = openapi({
|
export const swaggerPlugin = openapi({
|
||||||
path: '/swagger',
|
path: '/swagger',
|
||||||
provider: 'scalar',
|
provider: 'swagger-ui',
|
||||||
mapJsonSchema: {
|
mapJsonSchema: {
|
||||||
zod: z.toJSONSchema,
|
zod: z.toJSONSchema,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user