Open KalleOlaviNiemitalo opened 4 years ago
The extension parser itself cannot set OpenApiException.Pointer because it does not have enough information.
I'd really prefer having a line number in the diagnostic but I'm not sure whether that could be implemented cleanly.
To reproduce
Microsoft.OpenApi.Readers 1.2.2
OpenAPI 2.0 document:
Read with an extension parser that throws OpenApiException:
Expected result
Testing [#/definitions/demo/x-tag]
Actual result
Testing [#/definitions/x-tag]