Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

[WIP] Make enum sealed even without x-ms-enum #384

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

timotheeguerin
Copy link
Member

@timotheeguerin timotheeguerin commented Jan 21, 2021

fix Azure/autorest#3797

Todo:

  • Verify this is not going to cause any unexpected result on existing specs
  • Tests

@azure-pipelines
Copy link

You may test this build by running autorest --reset and then either:


add --use: to the command line:

autorest --use:https://tinyurl.com/y2sgapro ...


or use the following in your autorest configuration:

use-extension:
  "@autorest/modelerfour": "https://tinyurl.com/y2sgapro" 

If this build is good for you, give this comment a thumbs up. (👍)

And you should run autorest --reset again once you're finished testing to remove it.

@Azure Azure deleted a comment from azure-pipelines bot Jan 21, 2021
@timotheeguerin timotheeguerin changed the title Make enum sealed even without x-ms-enum [WIP] Make enum sealed even without x-ms-enum Jan 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SchemaType is set incorrectly for Simple Enum - SealedChoice vs Choice
1 participant