Erwin Waltenspühl

Results 11 comments of Erwin Waltenspühl

oneOf/anyOf at the top level ![oneOf](https://user-images.githubusercontent.com/18028279/64889887-a4bb5d80-d66e-11e9-80a4-ef7b0676ca14.gif) ``` yaml openapi: 3.0.1 info: title: OneOf examples license: name: Apache 2.0 url: 'http://www.apache.org/licenses/LICENSE-2.0.html' version: 1.0.0 servers: - url: localhost paths: /delivery-addresses/{id}: parameters: -...

> Interesting. I tried your branch on [my spec](https://github.com/DataBiosphere/azul/pull/1225/files#diff-867d88f58f5257949ab2cb53225eb5afR191) and couldn't get it to work. Is it because the children of my `oneOf` are `$ref` or because the parent schema...

> Interesting. I tried your branch on [my spec](https://github.com/DataBiosphere/azul/pull/1225/files#diff-867d88f58f5257949ab2cb53225eb5afR191) and couldn't get it to work. Is it because the children of my `oneOf` are `$ref` or because the parent schema...

> Cool! What do you think about adding support for discriminator? With my spec this would eliminate the issue that the example value for `integration_type` does not change depending on...

> I would still consider generating multiple items and to round-rob through the `oneOf` alternatives. I agree, it could be a solution. >BTW: I would also consider using a random...

Hi Hannes, with the latest update, discriminators of the super-schema are supported too :)

Hi @shockey, The pull request has basically two parts: 1. The sampleFromSchema function (scr/core/plugins/sample/fn) - which I've improved to handle various oneOf/anfOf use cases 2. The visualisation part - which...

> > Hi !, > > Great job you've done here! > So sorry I'm kinda new to swagger and I need to see if the multiple payload in a...

> I am still getting **(no example available)** even after trying to follow the examples above. The schema shows the structure but there are no examples shown or options to...

> I was actually testing it on the [editor](https://editor.swagger.io/). But I have also tested it locally with the option and still shows **(no example available)**. Am I missing something in...