You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for your quick update. But seems the recent update of dependency now cause issue with type of generated schemas which is not assignable to additionalProperties: Partial<OpenAPIObject> in routing-controllers-openapi .
error TS2345: Argument of type '{ components: { schemas: { [key: string]: SchemaObject; }; }; }' is not assignable to parameter of type 'Partial'.
Types of property 'components' are incompatible.
Type '{ schemas: { [key: string]: SchemaObject; }; }' is not assignable to type 'ComponentsObject'.
Types of property 'schemas' are incompatible.
Type '{ [key: string]: SchemaObject; }' is not assignable to type '{ [schema: string]:SchemaObject; }'.
Could you check please?
The text was updated successfully, but these errors were encountered:
Hey Aleksi,
Thank you for your quick update. But seems the recent update of dependency now cause issue with type of generated schemas which is not assignable to
additionalProperties: Partial<OpenAPIObject>
inrouting-controllers-openapi
.The code above now generates outputs with error:
Could you check please?
The text was updated successfully, but these errors were encountered: