We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a900c56 commit bf96a0eCopy full SHA for bf96a0e
src/Convertor.js
@@ -87,6 +87,10 @@ class Convertor {
87
88
this.removeEmpty(this.schema)
89
90
+ // force remove definitions
91
+ if (this.schema.definitions)
92
+ delete this.schema.definitions
93
+
94
if (Object.keys(this.components).includes('main') === false) {
95
Object.assign(this.components.schemas, {'main': this.schema})
96
} else {
0 commit comments