17 references to SchemaId
Microsoft.AspNetCore.OpenApi (17)
Comparers\OpenApiSchemaComparer.cs (2)
82if (x.Annotations.TryGetValue(OpenApiConstants.SchemaId, out var xSchemaId) 83&& y.Annotations.TryGetValue(OpenApiConstants.SchemaId, out var ySchemaId))
Extensions\JsonNodeSchemaExtensions.cs (3)
197schema[OpenApiConstants.SchemaId] = createSchemaReferenceId(context.TypeInfo); 402schema[OpenApiConstants.SchemaId] = schemaReferenceId; 408schema[OpenApiConstants.SchemaId] = "Base";
Schemas\OpenApiJsonSchema.Helpers.cs (2)
313case OpenApiConstants.SchemaId: 316schema.Annotations.Add(OpenApiConstants.SchemaId, reader.GetString());
Services\Schemas\OpenApiSchemaService.cs (2)
70[OpenApiConstants.SchemaId] = "IFormFile" 82[OpenApiConstants.SchemaId] = "IFormFile"
Services\Schemas\OpenApiSchemaStore.cs (7)
25[OpenApiConstants.SchemaId] = "IFormFile" 34[OpenApiConstants.SchemaId] = "IFormFile" 36[OpenApiConstants.SchemaId] = "IFormFileCollection" 42[OpenApiConstants.SchemaId] = "Stream" 48[OpenApiConstants.SchemaId] = "PipeReader" 118var baseTypeSchemaId = schema.Annotations is not null && schema.Annotations.TryGetValue(OpenApiConstants.SchemaId, out var schemaId) 217if (schema.Annotations?.TryGetValue(OpenApiConstants.SchemaId, out var referenceIdObject) == true
Transformers\Implementations\OpenApiSchemaReferenceTransformer.cs (1)
110&& schema.Annotations.TryGetValue(OpenApiConstants.SchemaId, out var schemaId))