openapi-designer icon indicating copy to clipboard operation
openapi-designer copied to clipboard

Path Parameters as references break the website and cause data loss

Open beardo01 opened this issue 6 years ago • 2 comments

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!

beardo01 avatar Mar 21 '18 08:03 beardo01

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?

JeHugawa avatar Jul 10 '18 08:07 JeHugawa

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

fjenquin avatar Oct 12 '18 09:10 fjenquin