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 c49152f commit 3d34561Copy full SHA for 3d34561
src/model/model-to-json-schema.ts
@@ -98,7 +98,8 @@ export namespace ModelToJsonSchema {
98
return { ...schema, patternProperties }
99
}
100
function Ref(schema: Types.TRef): Types.TSchema {
101
- return schema
+ const $ref = schema.$ref
102
+ return { ...schema, $ref: `#/definitions/${$ref}` }
103
104
function This(schema: Types.TThis): Types.TSchema {
105
return schema
0 commit comments