richhollis / swagger-docs

Generates swagger-ui json files for Rails APIs with a simple DSL.
MIT License
750 stars 150 forks source link

Suggestion: Ability to dasherize model properties? #150

Open yigitozkavci opened 8 years ago

yigitozkavci commented 8 years ago

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.