Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for underlying type for EnumType #11

Merged
merged 2 commits into from
Sep 21, 2017
Merged

Conversation

amarzavery
Copy link
Contributor

This should enable Autorest to support non string enums as well. In the template (.cshtml) file one can check for the underlying type and then wrap the EnumValue.SerializedName in quotes accordingly.

@msftclas
Copy link

@amarzavery,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

Copy link
Contributor

@olydis olydis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

smooth

@olydis olydis merged commit a551042 into Azure:master Sep 21, 2017
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.

3 participants