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
I have an Enum in my interface, and it is explicitly inline into the generated schema via JSON Schemas generatortypia.json.application.
Is it possible to somehow tell the transpiler ( typescript type => json schema) so that it moves the Enum to components schemas ("$ref": "#/components/schemas/SomeEnum"), because the Enum can be very large (for example, a country code) and appear in many places in the schema
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Question
I have an Enum in my interface, and it is explicitly inline into the generated schema via JSON Schemas generator
typia.json.application
.Is it possible to somehow tell the transpiler ( typescript type => json schema) so that it moves the Enum to components schemas ("$ref": "#/components/schemas/SomeEnum"), because the Enum can be very large (for example, a country code) and appear in many places in the schema
The text was updated successfully, but these errors were encountered: