9 implementations of IOpenApiSchemaTransformer
Microsoft.AspNetCore.OpenApi (2)
Microsoft.AspNetCore.OpenApi.Microbenchmarks (1)
Microsoft.AspNetCore.OpenApi.Tests (6)
31 references to IOpenApiSchemaTransformer
Microsoft.AspNetCore.OpenApi (26)
Services\OpenApiDocumentService.cs (14)
66IOpenApiSchemaTransformer[] schemaTransformers = _options.SchemaTransformers.Count > 0
67? new IOpenApiSchemaTransformer[_options.SchemaTransformers.Count]
68: Array.Empty<IOpenApiSchemaTransformer>();
109internal void InitializeTransformers(IServiceProvider scopedServiceProvider, IOpenApiSchemaTransformer[] schemaTransformers, IOpenApiOperationTransformer[] operationTransformers)
138internal static async Task FinalizeTransformers(IOpenApiSchemaTransformer[] schemaTransformers, IOpenApiOperationTransformer[] operationTransformers)
218IOpenApiSchemaTransformer[] schemaTransformers,
239IOpenApiSchemaTransformer[] schemaTransformers,
273IOpenApiSchemaTransformer[] schemaTransformers,
322IOpenApiSchemaTransformer[] schemaTransformers,
356IOpenApiSchemaTransformer[] schemaTransformers,
394IOpenApiSchemaTransformer[] schemaTransformers,
460private async Task<OpenApiRequestBody?> GetRequestBodyAsync(ApiDescription description, IServiceProvider scopedServiceProvider, IOpenApiSchemaTransformer[] schemaTransformers, CancellationToken cancellationToken)
483IOpenApiSchemaTransformer[] schemaTransformers,
633IOpenApiSchemaTransformer[] schemaTransformers,
Services\Schemas\OpenApiSchemaService.cs (4)
129internal async Task<OpenApiSchema> GetOrCreateSchemaAsync(Type type, IServiceProvider scopedServiceProvider, IOpenApiSchemaTransformer[] schemaTransformers, ApiParameterDescription? parameterDescription = null, bool captureSchemaByRef = false, CancellationToken cancellationToken = default)
149internal async Task ApplySchemaTransformersAsync(OpenApiSchema schema, Type type, IServiceProvider scopedServiceProvider, IOpenApiSchemaTransformer[] schemaTransformers, ApiParameterDescription? parameterDescription = null, CancellationToken cancellationToken = default)
167var transformer = schemaTransformers[i];
176IOpenApiSchemaTransformer transformer,
Microsoft.AspNetCore.OpenApi.Tests (4)
Sample (1)