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

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

Open
Timothee Guerin (timotheeguerin) wants to merge 2 commits into
masterfrom
fix/enum-sealed
Open

[WIP] Make enum sealed even without x-ms-enum#384
Timothee Guerin (timotheeguerin) wants to merge 2 commits into
masterfrom
fix/enum-sealed

Conversation

@timotheeguerin

@timotheeguerin Timothee Guerin (timotheeguerin) commented Jan 21, 2021

Copy link
Copy Markdown
Member

fix Azure/autorest#3797

Todo:

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

@azure-pipelines

Copy link
Copy Markdown

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.

@timotheeguerin Timothee Guerin (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