ts-class-to-openapi 1.1.3 → 1.2.1
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/index.esm.js +187 -39
- package/dist/index.js +187 -39
- package/dist/run.js +191 -44
- package/dist/types.d.ts +3 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -62,6 +62,9 @@ interface PropertyInfo {
|
|
|
62
62
|
originalProperty: ts.PropertyDeclaration;
|
|
63
63
|
/** Whether the property is a reference to another or yourselves schema */
|
|
64
64
|
isRef?: boolean;
|
|
65
|
+
isTypeLiteral?: boolean;
|
|
66
|
+
/** The class declaration reference when the property is a type literal with a class argument */
|
|
67
|
+
typeLiteralClassReference?: ts.ClassDeclaration;
|
|
65
68
|
}
|
|
66
69
|
/**
|
|
67
70
|
* Configuration options for SchemaTransformer memory management
|
package/package.json
CHANGED