public static bool IsOpenApiSchemaObject()

in src/Microsoft.Azure.WebJobs.Extensions.OpenApi.Core/Extensions/OpenApiSchemaExtensions.cs [303:326]


        public static bool IsOpenApiSchemaObject(this OpenApiSchema schema)
        {
            if (schema.Type != "object")
            {
                return false;
            }

            if (!schema.Format.IsNullOrWhiteSpace())
            {
                return false;
            }

            if (!schema.Items.IsNullOrDefault())
            {
                return false;
            }

            if (!schema.AdditionalProperties.IsNullOrDefault())
            {
                return false;
            }

            return true;
        }