Jacob Cohen

Results 14 comments of Jacob Cohen

Changing ClientConfig from an interface to a type worked for this case https://github.com/storybookjs/storybook/issues/12064#issuecomment-1488872947 (so the type isn't exposed), but now it give the following errors ```Default export of the module...

Ya it looks like a TypeScript issue https://github.com/Microsoft/TypeScript/issues/23280#issuecomment-379859847 Edit: That is the cause of the bug is UserConfig type aliases the interface ClientConfig https://github.com/hey-api/openapi-ts/blob/7e84960713160fc942c6e5a109e7d9687fb9dafc/packages/openapi-ts/src/types/config.ts#L237 This seems to be an unresolved...

Yes I would hope the generator could be used as a dependency for the Fastify codegen for others to use. My project is an older openapi-ts build, most of the...

Understandable! This would require a good deal of refactoring and I see there is a lot of work being done. Thank you for your replies

Most of my changes were to the [types generator](https://heyapi.vercel.app/openapi-ts/output.html#typescript-interfaces). The changes were: - Use operation id instead of paths to map types - Reshape the operation parameters to match Fastify...

Fastify natively only handles text/plain and application/json to remain lightweight. Additionally support is through plugins and custom parsers. https://fastify.dev/docs/latest/Reference/ContentTypeParser/

I can dedicate time to help now if it's wanted, but I can understand if other features are a priority right now (I can see there is active development of...

I could help here, however, I am not familiar with Angular. Is the same HttpClient reused throughout the application? Would it be preferable to have as an input per service...

Given that HttpClient is a singleton I think we would prefer to not pass the HttpClient in every service method. I'm not sure how replacing the arrow function with the...

I see that now OpenAPIConfig wasn't used before because the configuration happens in the HttpClient. Your proposal seems to be a part of a larger effort for better Angular support...