-
Notifications
You must be signed in to change notification settings - Fork 43
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
should armId
types be emitted as azcore/arm.ResourceID
#1119
Comments
@tadelesh do you know how the OpenAPI->tsp converted will handle converting |
Related: #914 |
For m4 "arm-id" type, converter will convert it to |
armId
types be emitted as azcore/arm.ResourceID
armId
types be emitted as azcore/arm.ResourceID
We could add a switch to generate using |
+1 @matthchr @jim-minter FYI |
I'm not opposed to this idea (I added the x-ms-arm-id-details extension + format:arm-id hoping for something like this in SDKs and BICEP once the data-fidelity in the RPs API specs was there). With that said, what's the behavior going to be in the SDK if the RP violates its contract and returns a non-ARM-ID for something that should be an ARM ID? |
same as whatever happens today if you return a json that does not match the contract? |
It's currently emitted as a string for back-compat with OpenAPI.
The text was updated successfully, but these errors were encountered: