You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently a Smithy spec always has its mixins flattened and erased when being converted to OpenAPI/JsonSchema. This makes it difficult to represent for example fields that are global to all or a subset of operations and should be generated as a ResponseBase class etc. As such I propose to allow opting out of mixin flattening and have them instead generated as an allOf schema in OpenAPI.
Currently a Smithy spec always has its mixins flattened and erased when being converted to OpenAPI/JsonSchema. This makes it difficult to represent for example fields that are global to all or a subset of operations and should be generated as a
ResponseBase
class etc. As such I propose to allow opting out of mixin flattening and have them instead generated as anallOf
schema in OpenAPI.Example Smithy:
Currently generates OpenAPI:
What I'd like the output to be:
The text was updated successfully, but these errors were encountered: