Ask a Question

anyOf is replaced by oneOf

Mikl
Occasional Contributor

anyOf is replaced by oneOf

Hello,

 

For the Spring app, we have an open API documentation page.

One of the fields (storyBlocks) is a List of interface implementations.

 

On editor.swagger.io it is shown as array of "anyOf"

But on my documentation is array of "oneOf". it is also valid, but aneOf sounds more logical.

 

Is it a way to make it as it is on editor.swagger.io?

0 REPLIES 0
cancel
Showing results for 
Search instead for 
Did you mean: