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

Suggestion: Ability to dasherize model properties?

yigitozkavci opened this issue · comments

Hi. I am using ActiveModelSerializers with jsonapi adapter, hence all my json properties are in dasherized format. When documenting, underscored properties differ from what they actually are. Is there a workaround for it, or should we implement one? Thanks.