V1 with working cmdline interface for easy of using GIT
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.parseNullDef = void 0;
|
||||
function parseNullDef(refs) {
|
||||
return refs.target === 'openApi3' ?
|
||||
{
|
||||
enum: ['null'],
|
||||
nullable: true,
|
||||
}
|
||||
: {
|
||||
type: 'null',
|
||||
};
|
||||
}
|
||||
exports.parseNullDef = parseNullDef;
|
||||
//# sourceMappingURL=null.js.map
|
||||
Reference in New Issue
Block a user