5 references to SchemasByReference
Microsoft.AspNetCore.OpenApi (5)
Services\Schemas\OpenApiSchemaStore.cs (4)
165if (SchemasByReference.TryGetValue(schema, out var referenceId) || captureSchemaByRef) 200SchemasByReference[schema] = $"{targetReferenceId}{counter}"; 205SchemasByReference[schema] = targetReferenceId; 211SchemasByReference[schema] = baseTypeSchemaId is not null ? targetReferenceId : null;
Transformers\Implementations\OpenApiSchemaReferenceTransformer.cs (1)
20var schemasByReference = schemaStore.SchemasByReference;