apinf / openapi-designer

Design interface for creating Open API (Swagger) specification files
https://openapi.design
MIT License
69 stars 18 forks source link

Path Parameters as references break the website and cause data loss #354

Open beardo01 opened 6 years ago

beardo01 commented 6 years ago

Hey team,

If you create a Parameter of location "Path" under the Definitions tab and then reference it in a path under the Paths tab the website breaks and you lose whatever data you are currently working with.

Very frustrating bug to find!

JeHugawa commented 6 years ago

Hey @beardo01, thanks for sharing this. I wasn't able to recreate this issue even when i tested it multiple times. Could you perhaps send the API file so i could test it myself, or maybe look if there's other important details to recreate this issue?

fjenquin commented 6 years ago

Hi,

I also have the same issue. It seems I didn't get it if path parameter only referenced in GET but it comes if references also in other methods (in this case in PATCH). See sample json file: test.txt