Replies: 2 comments
-
@Mr-Jami Does the same flag not create the expected output? |
Beta Was this translation helpful? Give feedback.
0 replies
-
import { defineConfig } from '@hey-api/openapi-ts';
export default defineConfig({
services: {
asClass: true, // <----------------
},
}); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey everyone,
I used https://www.npmjs.com/package/openapi-typescript-codegen for a while and I just read about it being deprecated.
Thankfully @hey-api provides an alternative. However I am somehow struggling with generatin an API-Client for Angular itself, like I used to do with the old generator.
For the old generator, I could add the flag "--client angular" to the command and it generated an Angular API-Client. How do I do it with openapi-ts?
Beta Was this translation helpful? Give feedback.
All reactions