Relative Content

Tag Archive for javaapiyamlswaggeropenapi

Setting parameter rules in swagger

I am starting to learn API documentation with YAML. I have the below YAML and my query params are id, firstName and lastName. The user should provide either id or any of firstName or lastName.