Skip to content

[OpenAPI] Add endpoint for list of deployment models #401

[OpenAPI] Add endpoint for list of deployment models

[OpenAPI] Add endpoint for list of deployment models #401

Re-run triggered September 14, 2024 07:12
Status Success
Total duration 2m 52s
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/GetDeploymentModelsOpenApiTest.cs#L202
Theory method 'Given_Resource_When_Invoked_Endpoint_Then_It_Should_Return_Property' on test class 'GetDeploymentModelsOpenApiTests' 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/GetDeploymentModelsOpenApiTest.cs#L202
Theory method 'Given_Resource_When_Invoked_Endpoint_Then_It_Should_Return_Property' on test class 'GetDeploymentModelsOpenApiTests' 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/GetDeploymentModelsOpenApiTest.cs#L222
Theory method 'Given_Resource_When_Invoked_Endpoint_Then_It_Should_Return_Type' on test class 'GetDeploymentModelsOpenApiTests' 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.
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.