Skip to content

[aspnet] Honor casing of properties from definition#3550

Merged
wing328 merged 1 commit intoswagger-api:masterfrom
jimschubert:aspnet/models-casing
Aug 9, 2016
Merged

[aspnet] Honor casing of properties from definition#3550
wing328 merged 1 commit intoswagger-api:masterfrom
jimschubert:aspnet/models-casing

Conversation

@jimschubert
Copy link
Copy Markdown
Contributor

See #3262

This would replace #3263, which provides a correct implementation for JSON endpoints only. Although generated code for the aspnet5 generator outputs to JSON, we still need to support all output types (i.e. from the produces definition of the api endpoint).

I've also fixed the formatting in the ToString method for models and changed the generic description on enums which was previously worded like an auto-implemented property description.

@wing328
Copy link
Copy Markdown
Contributor

wing328 commented Aug 9, 2016

@jimschubert thanks for the PR. The change looks good to me.

@wing328 wing328 merged commit 87c3118 into swagger-api:master Aug 9, 2016
@jimschubert jimschubert deleted the aspnet/models-casing branch November 6, 2016 02:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants