3 references to GetCustomAttributes
Microsoft.AspNetCore.OpenApi (3)
Schemas\JsonSchemaMapper\JsonSchemaGenerationContext.cs (2)
57GetCustomAttributes(typeof(TAttribute), inherit).Any(); 67(TAttribute?)GetCustomAttributes(typeof(TAttribute), inherit).FirstOrDefault();
Services\Schemas\OpenApiSchemaService.cs (1)
58if (context.GetCustomAttributes(typeof(ValidationAttribute)) is { } validationAttributes)