11 lines
No EOL
237 B
JavaScript
11 lines
No EOL
237 B
JavaScript
export function parseNullDef(refs) {
|
|
return refs.target === 'openApi3' ?
|
|
{
|
|
enum: ['null'],
|
|
nullable: true,
|
|
}
|
|
: {
|
|
type: 'null',
|
|
};
|
|
}
|
|
//# sourceMappingURL=null.mjs.map
|