misc: added flag to CLI

This commit is contained in:
Sheen Capadngan
2025-06-11 04:11:51 +08:00
parent 8b443e0957
commit fe40ba497b
5 changed files with 37 additions and 9 deletions
@@ -36,7 +36,8 @@ export const registerDynamicSecretLeaseRouter = async (server: FastifyZodProvide
ctx.addIssue({ code: z.ZodIssueCode.custom, message: "TTL must be less than a day" });
}),
path: z.string().trim().default("/").transform(removeTrailingSlash).describe(DYNAMIC_SECRET_LEASES.CREATE.path),
environmentSlug: z.string().min(1).describe(DYNAMIC_SECRET_LEASES.CREATE.path)
environmentSlug: z.string().min(1).describe(DYNAMIC_SECRET_LEASES.CREATE.path),
config: z.any().optional()
}),
response: {
200: z.object({