Dear all I'm not so experienced in YAML and Swagger UI in general but I'm using it for my API since 2 years. I'm using Swaggerhub and put my YAML code there, afterwards I export it to python-flask and download it to my PC. The PC runs the Connexionframework which automatically handles HTTP requests based on OpenAPI Specification (formerly known as Swagger Spec) . Many thanks for any feedback in advance.
I want to setup 2 DropDown Boxes where the second box displays items which are depended from the first DropDown box selection.
If customer selects 'PRO', the second box should switch to values [Switzerland,Germany] If customer selects 'ITE', the second box should switch to values [France,Italy]
The functionality you are looking for does not currently exist, and it is a Swagger/OAS limitation. I’m attaching a link below for a GitHub OAS ticket about the exact functionality you are looking for. The ticket offers some insight into the difficulties/challenges of getting this feature added to the OAS standard. Towards the bottom of the ticket, they offer some work arounds that you can add to your workflow to resolve these issues.