Files
SnowLuma/.pnpm-store/v11/files/5b/0b2b6db97ed56fbc81bdfd8877b99b6a5c87b1306e97d6f7eaa8a513b8ad31b090992f13052f757f15fbea84b3e1edf12dd8800727ab6a74c2a10ab48d7d75
TanTan 2a69b23b47
Dev Build / cleanup (push) Waiting to run
Dev Build / typecheck (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:27:07 +08:00

11 lines
204 B
Plaintext

export function parseNullDef(refs) {
return refs.target === "openApi3"
? {
enum: ["null"],
nullable: true,
}
: {
type: "null",
};
}