Bruce Johnston
Bruce Johnston
This would be very useful for data plane APIs. It would also be useful for the same thing to work for request bodies as well.
A note for when this issue comes back... For our scenarios, string would be better than `JObject` (or the equivalent in other languages) because our data plane SDK needs type...
@devigned @Azure/adx-autorest-contributors Thoughts about having AutoRest support `x-nullable`? From the discussion [here](https://github.com/OAI/OpenAPI-Specification/issues/229) it seems there is consensus that it will be standardized in OpenAPI at some point. `x-nullable` would solve...
👍 to `x-nullable`. Glad to hear you're working on it!
:tada: That's great news @fearthecowboy! Using `x-nullable` will allow us to replace a lot of custom-tweaked model classes with generated ones. Thanks!
@fearthecowboy I disagree. The `CustomInitialize` method works great and is minimally invasive. With your proposal, we'd have to change the name of our client in our Swagger specs and introduce...
> We're leaning towards enabling a means of having the generator create the type as internal partial , Also, this won't work because you can't have a public type inherit...
That would be one way to solve it. Thanks for the suggestion. If it turns out that AutoRest already does this, I'll close this issue.
@tpatel11 It might help if you explain what target language you're discussing. I don't recognize this construct: ``` Enum{ string value = int value, string value = int value }...