acacode / acacode/swagger-typescript-api

How to avoid type name start-case?

Aberta
#728 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
TypeScript
Estrelas
4.1k
Forks
436
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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!

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.