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 default property to x-ms-enum in schema and update documentation #2594

Closed
wants to merge 1 commit into from

Conversation

amarzavery
Copy link
Contributor

@amarzavery amarzavery commented Sep 20, 2017

Corresponding PR in the modeler Azure/autorest.modeler#9
This PR updates the schema and documentation for x-ms-enum

@amarzavery amarzavery changed the title Add default property to x-ms-enum Add default property to x-ms-enum in schema and update documentation Sep 20, 2017
@@ -97,6 +98,7 @@ accountType:
x-ms-enum:
name: AccountType
modelAsString: false
default: Standard_LRS
Copy link
Member

Choose a reason for hiding this comment

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

I don't think we should have default on the enum definition itself, I think it belongs to the property.

We should have a call today and chat about it.

@amarzavery
Copy link
Contributor Author

closing this PR as we do not need default property in x-ms-enum extension

@amarzavery amarzavery closed this Sep 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants