cancel
Showing results for 
Search instead for 
Did you mean: 

Swagger definition 2.0.0 - Property Choice

Community Hero

Swagger definition 2.0.0 - Property Choice

In SOAP, xsd supports Choice element and one of the element is mandatory.

It seems that the same can be achieved in OAS 3.0 as per documentation

The problem to use OAS 3.0 is lack of tooling support including SOAPUI.

However, how can the above be achieved in Swagger definition in 2.0.0?

 

 

 

 



Regards,
Rao.
5 REPLIES 5
Highlighted
Moderator

Re: Swagger definition 2.0.0 - Property Choice

Hi Rao,

 

'anyOf', 'oneOf' and 'not' were added in OAS3 and did not exist in previous versions. If you need to need to use them, then the only option is to stay with OAS3.

Community Hero

Re: Swagger definition 2.0.0 - Property Choice

@RonRatovsky,

Thank for you the reply, was away and could not reply earlier.

Understand that part.

But like I mentioned, there is no tooling support to use OAS3 which is main concern.


Regards,
Rao.
Community Hero

Re: Swagger definition 2.0.0 - Property Choice

@RonRatovsky 

 

Any time lines for OAS 3 support in SoapUI Open Source editon?



Regards,
Rao.
Moderator

Re: Swagger definition 2.0.0 - Property Choice

Unfortunately, I don't know. I lead the Swagger projects, but not quite involved in SoapUI. Perhaps it'd be better to ask for more information in their forums.

Community Hero

Re: Swagger definition 2.0.0 - Property Choice

Thank you @RonRatovsky. Understand that.


Regards,
Rao.
New Here?
Join us and watch the welcome video:
Top Kudoed Authors