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
{{ message }}
Repository navigation
Add the ability to read OpenAPI description fragments #256
In the work that I am doing to support Swashbuckle and Azure API Management I have run into scenarios where I need to parse a string of OAS compatible text into a some IOpenAPIElement. For Examples I need to create an IOpenApiAny instance. For schema fragments I need to create an OpenApiSchema from a string.
I am working on PR and will link to this issue when I push it.
Currently I am attempting to create a new method on OpenApiStreamReader that looks like:
public T ReadFragment<T>(Stream input, OpenApiSpecVersion version, out OpenApiDiagnostic diagnostic)
where T : IOpenApiElement, new()
{ … }
Activity