Skip to content

[OpenAPI] Add endpoint for create new admin resource details #307 #405

[OpenAPI] Add endpoint for create new admin resource details #307

[OpenAPI] Add endpoint for create new admin resource details #307 #405

Triggered via pull request September 14, 2024 07:17
Status Success
Total duration 2m 53s
Artifacts

azure-dev-build-only.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build-test: src/AzureOpenAIProxy.ApiApp/Repositories/AdminEventRepository.cs#L45
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build-test: src/AzureOpenAIProxy.ApiApp/Repositories/AdminEventRepository.cs#L51
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build-test: src/AzureOpenAIProxy.ApiApp/Repositories/AdminEventRepository.cs#L57
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build-test: src/AzureOpenAIProxy.ApiApp/Repositories/AdminEventRepository.cs#L63
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build-test: test/AzureOpenAIProxy.ApiApp.Tests/Extensions/ServiceCollectionExtensionsTests.cs#L316
Possible null reference argument for parameter 'value' in 'void Dictionary<string, string>.Add(string key, string value)'.
build-test: test/AzureOpenAIProxy.AppHost.Tests/ApiApp/Endpoints/AdminCreateResourcesOpenApiTests.cs#L185
Theory method 'Given_Resource_When_Invoked_Endpoint_Then_It_Should_Return_Required' on test class 'AdminCreateResourcesOpenApiTests' does not use parameter 'type'. Use the parameter, or remove the parameter and associated data. (https://xunit.net/xunit.analyzers/rules/xUnit1026)
build-test: test/AzureOpenAIProxy.AppHost.Tests/ApiApp/Endpoints/AdminCreateResourcesOpenApiTests.cs#L206
Theory method 'Given_Resource_When_Invoked_Endpoint_Then_It_Should_Return_Property' on test class 'AdminCreateResourcesOpenApiTests' does not use parameter 'isRequired'. Use the parameter, or remove the parameter and associated data. (https://xunit.net/xunit.analyzers/rules/xUnit1026)
build-test: test/AzureOpenAIProxy.AppHost.Tests/ApiApp/Endpoints/AdminCreateResourcesOpenApiTests.cs#L206
Theory method 'Given_Resource_When_Invoked_Endpoint_Then_It_Should_Return_Property' on test class 'AdminCreateResourcesOpenApiTests' does not use parameter 'type'. Use the parameter, or remove the parameter and associated data. (https://xunit.net/xunit.analyzers/rules/xUnit1026)
build-test: test/AzureOpenAIProxy.AppHost.Tests/ApiApp/Endpoints/AdminCreateResourcesOpenApiTests.cs#L227
Theory method 'Given_Resource_When_Invoked_Endpoint_Then_It_Should_Return_Type' on test class 'AdminCreateResourcesOpenApiTests' does not use parameter 'isRequired'. Use the parameter, or remove the parameter and associated data. (https://xunit.net/xunit.analyzers/rules/xUnit1026)
build-test: src/AzureOpenAIProxy.ApiApp/Repositories/AdminEventRepository.cs#L45
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.