ts-class-to-openapi 1.0.6 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/__test__/entities/circular-reference-cases.d.ts +1 -0
- package/dist/__test__/entities/circular-reference-classes.d.ts +110 -0
- package/dist/__test__/entities/complex-circular-dependencies.d.ts +71 -0
- package/dist/__test__/entities/deep-nested-classes.d.ts +1 -0
- package/dist/__test__/entities/generic-circular-classes.d.ts +57 -0
- package/dist/__test__/test.d.ts +1 -4
- package/dist/__test__/testCases/circular-references.test.d.ts +1 -0
- package/dist/index.esm.js +99 -23
- package/dist/index.js +99 -23
- package/dist/run.js +100 -24
- package/dist/types.d.ts +2 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -60,6 +60,8 @@ interface PropertyInfo {
|
|
|
60
60
|
isArray?: boolean;
|
|
61
61
|
/** The original TypeScript property declaration (optional) */
|
|
62
62
|
originalProperty: ts.PropertyDeclaration;
|
|
63
|
+
/** Whether the property is a reference to another or yourselves schema */
|
|
64
|
+
isRef?: boolean;
|
|
63
65
|
}
|
|
64
66
|
/**
|
|
65
67
|
* Configuration options for SchemaTransformer memory management
|
package/package.json
CHANGED