Open pippijn opened 3 weeks ago
Thanks for reporting, I will look into it soon. Can you maybe post a minimal spec that produces this error? Then it is a bit easier for me to confirm and fix it.
$ref
): working.openapi.jsonI haven't tested the not-working one for correctness, but I think it's correct. I'll check in a few hours.
Ah yes, the problem is that we don't resolve and refs that don't point to #/components/schemas/*
. I initially thought you meant a $ref
inside the schema of a parameter.
How to use GitHub
Steps to reproduce
"parameters"
with a reference in it.dart run build_runner build
Expected behaviour
It should behave the same as if the
$ref
had been inlined.Actual behaviour