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 do have a simple openapi.yaml with one Route "getAddress" and one Schema "Address".
I want to export the SDK as class, so i created a config file (see below).
When I run the following command, types are generated with "Address" schema, but sdk is no class(i, o and c options are in the config file as well):
but when I reduce the command to the neccessary properties (everything else is in the config file), the "Address" schema is missing in the types.gen.ts, but sdk is exported as class
if I correctly understand the debug logs, the config-file (when adding with -f ) is acknowledged, but ignored.
However: when I just exec npx @hey-api/openapi-ts -d
the config file is found and used (sdk exported as class), but the "Address" Schema is still missing.
Uh oh!
There was an error while loading. Please reload this page.
Description
Hi there.
I do have a simple openapi.yaml with one Route "getAddress" and one Schema "Address".
I want to export the SDK as class, so i created a config file (see below).
When I run the following command, types are generated with "Address" schema, but sdk is no class (i, o and c options are in the config file as well):
but when I reduce the command to the neccessary properties (everything else is in the config file), the "Address" schema is missing in the
types.gen.ts
, but sdk is exported as classAm I missing something in the openapi-ts.config.ts file to generate the schema?
Thanks a lot!
kind regards =)
Reproducible example or configuration
OpenAPI specification (optional)
No response
System information (optional)
"@hey-api/openapi-ts": "^0.67.3"
The text was updated successfully, but these errors were encountered: