Refactor routing in App component to enhance navigation and improve error handling by integrating dynamic routes and updating the NotFound route.
This commit is contained in:
10
node_modules/zod-to-json-schema/dist/esm/parsers/null.js
generated
vendored
Normal file
10
node_modules/zod-to-json-schema/dist/esm/parsers/null.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
export function parseNullDef(refs) {
|
||||
return refs.target === "openApi3"
|
||||
? {
|
||||
enum: ["null"],
|
||||
nullable: true,
|
||||
}
|
||||
: {
|
||||
type: "null",
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user