acacode / acacode/swagger-typescript-api

How to avoid type name start-case?

未关闭
#728 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
4.1k
派生
436
PR 合并指标
30 天内没有已合并 PR

描述

Issue Description:

All definition names are automatically converted to start case. As the [swagger doc](https://swagger.io/specification/) said:

> All field names in the specification are case sensitive

Expected Behavior:
I would like an option to control whether the tool converts definition names to start case or not.

Additional Information:

Version: 13.0.3
Steps to Reproduce: I found this issue when generating codes from [libpod's api](https://storage.googleapis.com/libpod-master-releases/swagger-latest.yaml), in which have two definitions called `networkCreate` and `NetworkCreate`.
I believe adding this configurability would enhance the usability and flexibility of the tool. Thank you for considering this enhancement!

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。