public void HasFormatTypeFromDataAnnotationsNamespace(bool expected, OpenApiSchema openApiSchema)
        {
            // Act
            var actual = openApiSchema.HasFormatTypeFromDataAnnotationsNamespace();

            // Assert
            Assert.Equal(expected, actual);
        }
 private static bool ShouldUseDataAnnotationsNamespace(OpenApiSchema schema)
 => schema.Required.Any() || schema.HasFormatTypeFromDataAnnotationsNamespace();