Gen Call REST future support for mixed types
search cancel

Gen Call REST future support for mixed types

book

Article ID: 396199

calendar_today

Updated On:

Products

Gen Gen - Workstation Toolset

Issue/Introduction

On the Call REST documentation page OpenAPI Spec Caveat for Gen the Schemas section states the following:

"Gen supports the following values for the type keyword: string, number, integer, boolean, array, and object. Gen does not support mixed types, so any definitions using oneOf and anyOf keywords are ignored. There is no support for the polymorphic definitions in the OpenAPI spec."

Are there any future plans to extend support for mixed types to Call REST?

Environment

Gen 8.6 Call REST feature

Resolution

The Gen product team advised that are no specific plans at this time for Call REST to support mixed types in the future.

The advice is to add a new idea for this functionality to the Ideas Community (Category=Gen).
The direct link for the "Category=Gen" page is https://community.broadcom.com/ideation/allideas?Page=1&CommunityKeys=&CategoryKeys=71fe8ebb-feb6-4502-9027-713351a608fa&StatusKeys=&Sort=MostRecent

If the same idea does not already exist please add it.
NOTE: When adding the idea it would be very helpful to include some details of the use case driving the request to support the mixed types. That helps other users understand why/how this could be a need that they have, as well as helping the Gen product team's understanding and guide their approach to implementation.