Skip to content

Commit

Permalink
Consortium - Unable to add an organisation to the consortium (#1178)
Browse files Browse the repository at this point in the history
  • Loading branch information
dpatel017 authored Jan 22, 2025
1 parent 307b149 commit eb019ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</ItemGroup>
<ItemGroup>
<OpenApiReference Include="$(MSBuildProjectDirectory)/../../Services/CO.CDP.DataSharing.WebApi/OpenAPI/CO.CDP.DataSharing.WebApi.json" Namespace="CO.CDP.DataSharing.WebApiClient" ClassName="DataSharingClient">
<Options>/GenerateClientInterfaces:true /ClassStyle:Record /GenerateNativeRecords:true</Options>
<Options>/GenerateClientInterfaces:true /ClassStyle:Record /GenerateNativeRecords:true /GenerateNullableReferenceTypes:true</Options>
</OpenApiReference>
</ItemGroup>
</Project>
1 change: 1 addition & 0 deletions Services/CO.CDP.DataSharing.WebApi/Api/DataSharing.cs
Original file line number Diff line number Diff line change
Expand Up @@ -195,5 +195,6 @@ public static void DocumentDataSharingApi(this SwaggerGenOptions options, IConfi
options.OperationFilter<ProblemDetailsOperationFilter>(ErrorCodes.Exception4xxMap.HttpStatusCodeErrorMap());
options.ConfigureBearerSecurity();
options.ConfigureApiKeySecurity();
options.UseAllOfToExtendReferenceSchemas();
}
}

0 comments on commit eb019ec

Please sign in to comment.