diff --git a/src/libs/Browserbase/Generated/Browserbase.AnyOf.6.Json.g.cs b/src/libs/Browserbase/Generated/Browserbase.AnyOf.5.Json.g.cs similarity index 90% rename from src/libs/Browserbase/Generated/Browserbase.AnyOf.6.Json.g.cs rename to src/libs/Browserbase/Generated/Browserbase.AnyOf.5.Json.g.cs index bbf820c..5329ff2 100644 --- a/src/libs/Browserbase/Generated/Browserbase.AnyOf.6.Json.g.cs +++ b/src/libs/Browserbase/Generated/Browserbase.AnyOf.5.Json.g.cs @@ -2,7 +2,7 @@ namespace Browserbase { - public readonly partial struct AnyOf + public readonly partial struct AnyOf { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -34,14 +34,14 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::Browserbase.AnyOf? FromJson( + public static global::Browserbase.AnyOf? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::Browserbase.AnyOf), - jsonSerializerContext) as global::Browserbase.AnyOf?; + typeof(global::Browserbase.AnyOf), + jsonSerializerContext) as global::Browserbase.AnyOf?; } /// @@ -51,11 +51,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::Browserbase.AnyOf? FromJson( + public static global::Browserbase.AnyOf? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.Deserialize>( + return global::System.Text.Json.JsonSerializer.Deserialize>( json, jsonSerializerOptions); } @@ -63,14 +63,14 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask?> FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask?> FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::Browserbase.AnyOf), - jsonSerializerContext).ConfigureAwait(false)) as global::Browserbase.AnyOf?; + typeof(global::Browserbase.AnyOf), + jsonSerializerContext).ConfigureAwait(false)) as global::Browserbase.AnyOf?; } /// @@ -80,11 +80,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask?> FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask?> FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.DeserializeAsync?>( + return global::System.Text.Json.JsonSerializer.DeserializeAsync?>( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/Browserbase/Generated/Browserbase.AnyOf.6.g.cs b/src/libs/Browserbase/Generated/Browserbase.AnyOf.5.g.cs similarity index 75% rename from src/libs/Browserbase/Generated/Browserbase.AnyOf.6.g.cs rename to src/libs/Browserbase/Generated/Browserbase.AnyOf.5.g.cs index 04d198d..fd186b9 100644 --- a/src/libs/Browserbase/Generated/Browserbase.AnyOf.6.g.cs +++ b/src/libs/Browserbase/Generated/Browserbase.AnyOf.5.g.cs @@ -6,7 +6,7 @@ namespace Browserbase /// /// /// - public readonly partial struct AnyOf : global::System.IEquatable> + public readonly partial struct AnyOf : global::System.IEquatable> { /// /// @@ -192,52 +192,15 @@ public bool TryPickValue5( public T5 PickValue5() => IsValue5 ? Value5! : throw new global::System.InvalidOperationException($"Expected union variant 'Value5' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public T6? Value6 { get; init; } -#else - public T6? Value6 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value6))] -#endif - public bool IsValue6 => Value6 != null; - - /// - /// - /// - public bool TryPickValue6( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out T6? value) - { - value = Value6; - return IsValue6; - } - - /// - /// - /// - public T6 PickValue6() => IsValue6 - ? Value6! - : throw new global::System.InvalidOperationException($"Expected union variant 'Value6' but the value was {ToString()}."); /// /// /// - public static implicit operator AnyOf(T1 value) => new AnyOf((T1?)value); + public static implicit operator AnyOf(T1 value) => new AnyOf((T1?)value); /// /// /// - public static implicit operator T1?(AnyOf @this) => @this.Value1; + public static implicit operator T1?(AnyOf @this) => @this.Value1; /// /// @@ -250,17 +213,17 @@ public AnyOf(T1? value) /// /// /// - public static AnyOf FromValue1(T1? value) => new AnyOf(value); + public static AnyOf FromValue1(T1? value) => new AnyOf(value); /// /// /// - public static implicit operator AnyOf(T2 value) => new AnyOf((T2?)value); + public static implicit operator AnyOf(T2 value) => new AnyOf((T2?)value); /// /// /// - public static implicit operator T2?(AnyOf @this) => @this.Value2; + public static implicit operator T2?(AnyOf @this) => @this.Value2; /// /// @@ -273,17 +236,17 @@ public AnyOf(T2? value) /// /// /// - public static AnyOf FromValue2(T2? value) => new AnyOf(value); + public static AnyOf FromValue2(T2? value) => new AnyOf(value); /// /// /// - public static implicit operator AnyOf(T3 value) => new AnyOf((T3?)value); + public static implicit operator AnyOf(T3 value) => new AnyOf((T3?)value); /// /// /// - public static implicit operator T3?(AnyOf @this) => @this.Value3; + public static implicit operator T3?(AnyOf @this) => @this.Value3; /// /// @@ -296,17 +259,17 @@ public AnyOf(T3? value) /// /// /// - public static AnyOf FromValue3(T3? value) => new AnyOf(value); + public static AnyOf FromValue3(T3? value) => new AnyOf(value); /// /// /// - public static implicit operator AnyOf(T4 value) => new AnyOf((T4?)value); + public static implicit operator AnyOf(T4 value) => new AnyOf((T4?)value); /// /// /// - public static implicit operator T4?(AnyOf @this) => @this.Value4; + public static implicit operator T4?(AnyOf @this) => @this.Value4; /// /// @@ -319,17 +282,17 @@ public AnyOf(T4? value) /// /// /// - public static AnyOf FromValue4(T4? value) => new AnyOf(value); + public static AnyOf FromValue4(T4? value) => new AnyOf(value); /// /// /// - public static implicit operator AnyOf(T5 value) => new AnyOf((T5?)value); + public static implicit operator AnyOf(T5 value) => new AnyOf((T5?)value); /// /// /// - public static implicit operator T5?(AnyOf @this) => @this.Value5; + public static implicit operator T5?(AnyOf @this) => @this.Value5; /// /// @@ -342,30 +305,7 @@ public AnyOf(T5? value) /// /// /// - public static AnyOf FromValue5(T5? value) => new AnyOf(value); - - /// - /// - /// - public static implicit operator AnyOf(T6 value) => new AnyOf((T6?)value); - - /// - /// - /// - public static implicit operator T6?(AnyOf @this) => @this.Value6; - - /// - /// - /// - public AnyOf(T6? value) - { - Value6 = value; - } - - /// - /// - /// - public static AnyOf FromValue6(T6? value) => new AnyOf(value); + public static AnyOf FromValue5(T5? value) => new AnyOf(value); /// /// @@ -375,8 +315,7 @@ public AnyOf( T2? value2, T3? value3, T4? value4, - T5? value5, - T6? value6 + T5? value5 ) { Value1 = value1; @@ -384,14 +323,12 @@ public AnyOf( Value3 = value3; Value4 = value4; Value5 = value5; - Value6 = value6; } /// /// /// public object? Object => - Value6 as object ?? Value5 as object ?? Value4 as object ?? Value3 as object ?? @@ -407,8 +344,7 @@ Value1 as object Value2?.ToString() ?? Value3?.ToString() ?? Value4?.ToString() ?? - Value5?.ToString() ?? - Value6?.ToString() + Value5?.ToString() ; /// @@ -416,7 +352,7 @@ Value1 as object /// public bool Validate() { - return IsValue1 || IsValue2 || IsValue3 || IsValue4 || IsValue5 || IsValue6; + return IsValue1 || IsValue2 || IsValue3 || IsValue4 || IsValue5; } /// @@ -428,7 +364,6 @@ public bool Validate() global::System.Func? value3 = null, global::System.Func? value4 = null, global::System.Func? value5 = null, - global::System.Func? value6 = null, bool validate = true) { if (validate) @@ -456,10 +391,6 @@ public bool Validate() { return value5(Value5!); } - else if (IsValue6 && value6 != null) - { - return value6(Value6!); - } return default(TResult); } @@ -477,8 +408,6 @@ public void Match( global::System.Action? value4 = null, global::System.Action? value5 = null, - - global::System.Action? value6 = null, bool validate = true) { if (validate) @@ -506,10 +435,6 @@ public void Match( { value5?.Invoke(Value5!); } - else if (IsValue6) - { - value6?.Invoke(Value6!); - } } /// @@ -521,7 +446,6 @@ public void Switch( global::System.Action? value3 = null, global::System.Action? value4 = null, global::System.Action? value5 = null, - global::System.Action? value6 = null, bool validate = true) { if (validate) @@ -549,10 +473,6 @@ public void Switch( { value5?.Invoke(Value5!); } - else if (IsValue6) - { - value6?.Invoke(Value6!); - } } /// @@ -572,8 +492,6 @@ public override int GetHashCode() typeof(T4), Value5, typeof(T5), - Value6, - typeof(T6), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -587,30 +505,29 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null /// /// /// - public bool Equals(AnyOf other) + public bool Equals(AnyOf other) { return global::System.Collections.Generic.EqualityComparer.Default.Equals(Value1, other.Value1) && global::System.Collections.Generic.EqualityComparer.Default.Equals(Value2, other.Value2) && global::System.Collections.Generic.EqualityComparer.Default.Equals(Value3, other.Value3) && global::System.Collections.Generic.EqualityComparer.Default.Equals(Value4, other.Value4) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value5, other.Value5) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value6, other.Value6) + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value5, other.Value5) ; } /// /// /// - public static bool operator ==(AnyOf obj1, AnyOf obj2) + public static bool operator ==(AnyOf obj1, AnyOf obj2) { - return global::System.Collections.Generic.EqualityComparer>.Default.Equals(obj1, obj2); + return global::System.Collections.Generic.EqualityComparer>.Default.Equals(obj1, obj2); } /// /// /// - public static bool operator !=(AnyOf obj1, AnyOf obj2) + public static bool operator !=(AnyOf obj1, AnyOf obj2) { return !(obj1 == obj2); } @@ -620,7 +537,7 @@ public bool Equals(AnyOf other) /// public override bool Equals(object? obj) { - return obj is AnyOf o && Equals(o); + return obj is AnyOf o && Equals(o); } } } diff --git a/src/libs/Browserbase/Generated/Browserbase.JsonConverters.AnyOf6.g.cs b/src/libs/Browserbase/Generated/Browserbase.JsonConverters.AnyOf5.g.cs similarity index 82% rename from src/libs/Browserbase/Generated/Browserbase.JsonConverters.AnyOf6.g.cs rename to src/libs/Browserbase/Generated/Browserbase.JsonConverters.AnyOf5.g.cs index 2014101..5c50289 100644 --- a/src/libs/Browserbase/Generated/Browserbase.JsonConverters.AnyOf6.g.cs +++ b/src/libs/Browserbase/Generated/Browserbase.JsonConverters.AnyOf5.g.cs @@ -3,10 +3,10 @@ namespace Browserbase.JsonConverters { /// - public class AnyOfJsonConverter : global::System.Text.Json.Serialization.JsonConverter> + public class AnyOfJsonConverter : global::System.Text.Json.Serialization.JsonConverter> { /// - public override global::Browserbase.AnyOf Read( + public override global::Browserbase.AnyOf Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -81,17 +81,6 @@ public class AnyOfJsonConverter : global::System.Text.Js } } } - var __score5 = 0; - { - var __ti = typeInfoResolver.GetTypeInfo(typeof(T6), options); - if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object) - { - foreach (var __prop in __ti.Properties) - { - if (__jsonProps.Contains(__prop.Name)) __score5++; - } - } - } var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } @@ -99,14 +88,12 @@ public class AnyOfJsonConverter : global::System.Text.Js if (__score2 > __bestScore) { __bestScore = __score2; __bestIndex = 2; } if (__score3 > __bestScore) { __bestScore = __score3; __bestIndex = 3; } if (__score4 > __bestScore) { __bestScore = __score4; __bestIndex = 4; } - if (__score5 > __bestScore) { __bestScore = __score5; __bestIndex = 5; } T1? value1 = default; T2? value2 = default; T3? value3 = default; T4? value4 = default; T5? value5 = default; - T6? value6 = default; if (__bestIndex >= 0) { if (__bestIndex == 0) @@ -193,26 +180,9 @@ public class AnyOfJsonConverter : global::System.Text.Js { } } - - else if (__bestIndex == 5) - { - try - { - - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T6), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T6).Name}"); - value6 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); - } - catch (global::System.Text.Json.JsonException) - { - } - catch (global::System.InvalidOperationException) - { - } - } } - if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null) + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null) { try { @@ -229,7 +199,7 @@ public class AnyOfJsonConverter : global::System.Text.Js } } - if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null) + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null) { try { @@ -246,7 +216,7 @@ public class AnyOfJsonConverter : global::System.Text.Js } } - if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null) + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null) { try { @@ -263,7 +233,7 @@ public class AnyOfJsonConverter : global::System.Text.Js } } - if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null) + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null) { try { @@ -280,7 +250,7 @@ public class AnyOfJsonConverter : global::System.Text.Js } } - if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null) + if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null) { try { @@ -297,24 +267,7 @@ public class AnyOfJsonConverter : global::System.Text.Js } } - if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null) - { - try - { - - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T6), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T6).Name}"); - value6 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); - } - catch (global::System.Text.Json.JsonException) - { - } - catch (global::System.InvalidOperationException) - { - } - } - - var __value = new global::Browserbase.AnyOf( + var __value = new global::Browserbase.AnyOf( value1, value2, @@ -323,9 +276,7 @@ public class AnyOfJsonConverter : global::System.Text.Js value4, - value5, - - value6 + value5 ); return __value; @@ -334,7 +285,7 @@ public class AnyOfJsonConverter : global::System.Text.Js /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::Browserbase.AnyOf value, + global::Browserbase.AnyOf value, global::System.Text.Json.JsonSerializerOptions options) { options = options ?? throw new global::System.ArgumentNullException(nameof(options)); @@ -370,12 +321,6 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T5).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value5!, typeInfo); } - else if (value.IsValue6) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T6), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T6).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value6!, typeInfo); - } } } } \ No newline at end of file diff --git a/src/libs/Browserbase/Generated/Browserbase.JsonSerializerContext.g.cs b/src/libs/Browserbase/Generated/Browserbase.JsonSerializerContext.g.cs index c6696ab..2c15bb8 100644 --- a/src/libs/Browserbase/Generated/Browserbase.JsonSerializerContext.g.cs +++ b/src/libs/Browserbase/Generated/Browserbase.JsonSerializerContext.g.cs @@ -91,7 +91,7 @@ namespace Browserbase typeof(global::Browserbase.JsonConverters.AllOfJsonConverter), - typeof(global::Browserbase.JsonConverters.AnyOfJsonConverter, object>), + typeof(global::Browserbase.JsonConverters.AnyOfJsonConverter, object>), typeof(global::Browserbase.JsonConverters.AnyOfJsonConverter), @@ -141,7 +141,7 @@ namespace Browserbase [global::System.Text.Json.Serialization.JsonSerializable(typeof(object))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Browserbase.Invocation))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Browserbase.InvocationStatus), TypeInfoPropertyName = "InvocationStatus2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Browserbase.AnyOf, object>), TypeInfoPropertyName = "AnyOfStringDoubleBooleanObjectIListObjectObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Browserbase.AnyOf, object>), TypeInfoPropertyName = "AnyOfStringDoubleBooleanIListObjectObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(bool))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Browserbase.InvocationLog))] @@ -244,7 +244,7 @@ namespace Browserbase [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Browserbase.SessionsUploadFileResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Browserbase.AnyOf, object>))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Browserbase.AnyOf, object>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] diff --git a/src/libs/Browserbase/Generated/Browserbase.JsonSerializerContextTypes.g.cs b/src/libs/Browserbase/Generated/Browserbase.JsonSerializerContextTypes.g.cs index a489ce2..12aa888 100644 --- a/src/libs/Browserbase/Generated/Browserbase.JsonSerializerContextTypes.g.cs +++ b/src/libs/Browserbase/Generated/Browserbase.JsonSerializerContextTypes.g.cs @@ -136,7 +136,7 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::Browserbase.AnyOf, object>? Type27 { get; set; } + public global::Browserbase.AnyOf, object>? Type27 { get; set; } /// /// /// @@ -549,7 +549,7 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::Browserbase.AnyOf, object>? ListType2 { get; set; } + public global::Browserbase.AnyOf, object>? ListType2 { get; set; } /// /// /// diff --git a/src/libs/Browserbase/Generated/Browserbase.Models.Invocation.g.cs b/src/libs/Browserbase/Generated/Browserbase.Models.Invocation.g.cs index 9c2473d..88e78e4 100644 --- a/src/libs/Browserbase/Generated/Browserbase.Models.Invocation.g.cs +++ b/src/libs/Browserbase/Generated/Browserbase.Models.Invocation.g.cs @@ -67,8 +67,8 @@ public sealed partial class Invocation /// Any JSON-serializable value that can be stored in a JSONB column /// [global::System.Text.Json.Serialization.JsonPropertyName("results")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Browserbase.JsonConverters.AnyOfJsonConverter, object>))] - public global::Browserbase.AnyOf, object>? Results { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Browserbase.JsonConverters.AnyOfJsonConverter, object>))] + public global::Browserbase.AnyOf, object>? Results { get; set; } /// /// @@ -147,7 +147,7 @@ public Invocation( global::System.DateTime expiresAt, string? region, object? @params, - global::Browserbase.AnyOf, object>? results, + global::Browserbase.AnyOf, object>? results, global::System.DateTime? endedAt) { this.Id = id; diff --git a/src/libs/Browserbase/openapi.yaml b/src/libs/Browserbase/openapi.yaml index 29c4d8c..2af035a 100644 --- a/src/libs/Browserbase/openapi.yaml +++ b/src/libs/Browserbase/openapi.yaml @@ -1425,6 +1425,7 @@ paths: headers = { + "X-BB-API-Key": "", "Content-Type": "application/json" } @@ -1463,6 +1464,7 @@ paths: HttpResponse response = Unirest.post("https://api.browserbase.com/v1/sessions") + .header("X-BB-API-Key", "") .header("Content-Type", "application/json") .body("{}") @@ -1983,12 +1985,12 @@ components: - type: string - type: number - type: boolean - - type: "null" - type: array items: {} - additionalProperties: true type: object properties: {} + nullable: true createdAt: type: string format: date-time