mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-04 16:26:16 +00:00
added credit
This commit is contained in:
@@ -28,6 +28,7 @@ interface Schema extends FastifySchema {
|
|||||||
hide?: boolean;
|
hide?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Credit: https://github.com/StefanTerdell/zod-to-json-schema
|
||||||
const jsonDescription: PostProcessCallback = (jsonSchema, def) => {
|
const jsonDescription: PostProcessCallback = (jsonSchema, def) => {
|
||||||
if (def.description) {
|
if (def.description) {
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user