diff --git a/lib/fishjam_web/api_spec/component/HLS/S3.ex b/lib/fishjam_web/api_spec/component/HLS/S3.ex index 204c1b0d..00478775 100644 --- a/lib/fishjam_web/api_spec/component/HLS/S3.ex +++ b/lib/fishjam_web/api_spec/component/HLS/S3.ex @@ -27,6 +27,7 @@ defmodule FishjamWeb.ApiSpec.Component.HLS.S3 do description: "The name of the S3 bucket where your data will be stored." } }, - required: [:accessKeyId, :secretAccessKey, :region, :bucket] + required: [:accessKeyId, :secretAccessKey, :region, :bucket], + nullable: true }) end diff --git a/openapi.yaml b/openapi.yaml index 81eff8d8..3d8c9cc2 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -156,6 +156,7 @@ components: properties: credentials: description: An AWS S3 credential that will be used to send HLS stream. The stream will only be uploaded if credentials are provided + nullable: true properties: accessKeyId: description: An AWS access key identifier, linked to your AWS account. @@ -443,6 +444,7 @@ components: type: boolean s3: description: An AWS S3 credential that will be used to send HLS stream. The stream will only be uploaded if credentials are provided + nullable: true properties: accessKeyId: description: An AWS access key identifier, linked to your AWS account. @@ -500,6 +502,7 @@ components: x-struct: Elixir.FishjamWeb.ApiSpec.Component.SIP.SIPCredentials S3Credentials: description: An AWS S3 credential that will be used to send HLS stream. The stream will only be uploaded if credentials are provided + nullable: true properties: accessKeyId: description: An AWS access key identifier, linked to your AWS account.