11 references to ResolveReferenceForSchema
Microsoft.AspNetCore.OpenApi (11)
Transformers\Implementations\OpenApiSchemaReferenceTransformer.cs (11)
36ResolveReferenceForSchema(schema.Clone(), schemasByReference, isTopLevel: true));
51parameter.Schema = ResolveReferenceForSchema(parameter.Schema, schemasByReference);
59content.Value.Schema = ResolveReferenceForSchema(content.Value.Schema, schemasByReference);
71content.Value.Schema = ResolveReferenceForSchema(content.Value.Schema, schemasByReference);
119schema.AllOf[i] = ResolveReferenceForSchema(schema.AllOf[i], schemasByReference);
127schema.OneOf[i] = ResolveReferenceForSchema(schema.OneOf[i], schemasByReference);
135schema.AnyOf[i] = ResolveReferenceForSchema(schema.AnyOf[i], schemasByReference);
141schema.AdditionalProperties = ResolveReferenceForSchema(schema.AdditionalProperties, schemasByReference);
146schema.Items = ResolveReferenceForSchema(schema.Items, schemasByReference);
153schema.Properties[property.Key] = ResolveReferenceForSchema(property.Value, schemasByReference);
159schema.Not = ResolveReferenceForSchema(schema.Not, schemasByReference);