swr-request-generator
swr-request-generator copied to clipboard
[Feature request] Make use of summary/description fields in OpenAPI spec to provide comments.
Hi, First of all, thanks for writing this plugin.
I'm currently working in a multi-disciplinary team of front- and backenders, and it would be really useful if the generator also generates comments in the Typescript result (both for the types and the endpoints). The OpenAPI specification supports this with the help of "summary" and "description" fields.
Hi @SudoHenk , it will be useful if you can provide a piece of data to describe what results you want from 'summary' and 'description' fields. just like:
- a json/yaml data for summary and description for a request and schema
- what should commants like in the code