You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following document produces a parsing error due to the backslash in the basePath property. It is valid JSON, however, so I feel like the library should handle this without error. I believe this is a limitation/bug in SharpYaml parser being used within OpenAPI.NET.
var openApiStringReader = new OpenApiStringReader();
OpenApiDocument openApiDocument = openApiStringReader.Read( serializedDocument, out OpenApiDiagnostic openApiDiagnostic );
Error from OpenApiDiagnostic
(Lin: 7, Col: 13, Chr: 140) - (Lin: 7, Col: 14, Chr: 141): While parsing a quoted scalar, find unknown escape character.
The text was updated successfully, but these errors were encountered:
The following document produces a parsing error due to the backslash in the basePath property. It is valid JSON, however, so I feel like the library should handle this without error. I believe this is a limitation/bug in SharpYaml parser being used within OpenAPI.NET.
Document
Repro Code
Error from OpenApiDiagnostic
(Lin: 7, Col: 13, Chr: 140) - (Lin: 7, Col: 14, Chr: 141): While parsing a quoted scalar, find unknown escape character.
The text was updated successfully, but these errors were encountered: