richhollis / swagger-docs

Generates swagger-ui json files for Rails APIs with a simple DSL.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is it possible to override nickname?

charliepugh92 opened this issue · comments

Hi, I am working on using swagger-docs in my Rails API in order to use swagger-codegen in order to generate client sdks. Swagger-Codegen uses the nickname property on the generated api .json files to generate method names, and with the defaults used in Swagger-Docs, they come out looking pretty bad.

Is there a way to override the auto-generated nickname property with swagger-docs?