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
First of all, I want to thank you for this great lib! :)
To make it even better, I suggest exporting component types and paths like open-api-generator does.
Proposal
The first attempt to implement this is here #1260.
The idea is to generate types like this:
Components:
It would be also nice to generate types for requestBody and responses, but not sure how to properly handle content type (application/json, application/yaml etc.)
We also need to resolve the duplication issue described in this comment #1260 (comment). This can be solved by adding a number as a suffix to the duplicate name.
Description
First of all, I want to thank you for this great lib! :)
To make it even better, I suggest exporting component types and paths like open-api-generator does.
Proposal
The first attempt to implement this is here #1260.
The idea is to generate types like this:
Components:
Paths:
It would be also nice to generate types for
requestBody
andresponses
, but not sure how to properly handle content type (application/json
,application/yaml
etc.)We also need to resolve the duplication issue described in this comment #1260 (comment). This can be solved by adding a number as a suffix to the duplicate name.
Checklist
The text was updated successfully, but these errors were encountered: