Ask a Question

Swagger definition 2.0.0 - Property Choice

nmrao
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
RonRatovsky
Moderator

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.


Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓

@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.

@RonRatovsky 

 

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



Regards,
Rao.

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.


Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓

Thank you @RonRatovsky. Understand that.


Regards,
Rao.
cancel
Showing results for 
Search instead for 
Did you mean: