-
Notifications
You must be signed in to change notification settings - Fork 279
Closed
Labels
priority:p1High priority but not blocking. Causes major but not critical loss of functionality SLA <=7daysHigh priority but not blocking. Causes major but not critical loss of functionality SLA <=7daystype:bugA broken experienceA broken experience
Milestone
Description
Serializing an OpenAPI document as V2 throws an error "Value cannot be null. (Parameter 'source')" when InlineLocalReferences = true e.g.,
OpenApiWriterBase writer = new OpenApiYamlWriter(sr,
new OpenApiWriterSettings { InlineLocalReferences = true});
The error gets thrown when serializing the OpenAPI document as V2, i.e., OpenApiDocument.SerializeAsV2(writer)
This affects both OpenApiJsonWriter and OpenApiYamlWriter classes.
This affects the latest version of Microsoft.OpenAPI.Readers v1.3.1
Metadata
Metadata
Assignees
Labels
priority:p1High priority but not blocking. Causes major but not critical loss of functionality SLA <=7daysHigh priority but not blocking. Causes major but not critical loss of functionality SLA <=7daystype:bugA broken experienceA broken experience