Is it possible to make functions and types conform to the Swift naming convention?
Mx-Iris opened this issue · 2 comments
Mx-Iris commented
Is it possible to make functions and types conform to the Swift naming convention?
wei18 commented
It would be possible if we modify functions and types in the OAS each time before swift code generated.
For now, there are some discussions in the swift-openapi-generator,
please refer to the following issues for more ino.
Mx-Iris commented
It would be possible if we modify functions and types in the OAS each time before swift code generated.如果我们在生成Swift代码之前每次修改OAS中的函数和类型,那么这是可能的。
For now, there are some discussions in the swift-openapi-generator,目前,swift-openapi-generator中有一些讨论 please refer to the following issues for more ino.请参考以下问题以获取更多信息。
- Generator plugin for customizing the OpenAPI -> Swift name creation apple/swift-openapi-generator#112自定义OpenAPI生成器插件-> Swift名称创建apple/swift-openapi-generator#112
- Generated models and types should follow Swift conventions apple/swift-openapi-generator#107生成的模型和类型应遵循Swift的约定 apple/swift-openapi-generator#107
I see. Thanks for your answer