Skip to content

Update nuget.yml

Update nuget.yml #3

Triggered via push September 4, 2023 07:20
Status Success
Total duration 2m 36s
Artifacts

nuget.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: src/TBC.OpenAPI.SDK.DBI/Models/SecurityConfig.cs#L28
Do not nest type UsernameToken. Alternatively, change its accessibility so that it is not externally visible.
build: src/TBC.OpenAPI.SDK.DBI/Models/ServiceConfig.cs#L11
Exception type System.Exception is not sufficiently specific
build: src/TBC.OpenAPI.SDK.DBI/Models/SecurityConfig.cs#L22
In externally visible method 'SecurityConfig.SecurityConfig(SecurityCredentials securityCredentials)', validate parameter 'securityCredentials' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument.
build: src/TBC.OpenAPI.SDK.DBI/Extensions/ServiceCollectionExtension.cs#L18
In externally visible method 'IServiceCollection ServiceCollectionExtension.AddDBIServices(IServiceCollection services, ServiceSettings settings)', validate parameter 'settings' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument.
build: src/TBC.OpenAPI.SDK.DBI/Models/SecurityConfig.cs#L28
Do not nest type UsernameToken. Alternatively, change its accessibility so that it is not externally visible.
build: src/TBC.OpenAPI.SDK.DBI/Models/ServiceConfig.cs#L11
Exception type System.Exception is not sufficiently specific
build: src/TBC.OpenAPI.SDK.DBI/Models/SecurityConfig.cs#L22
In externally visible method 'SecurityConfig.SecurityConfig(SecurityCredentials securityCredentials)', validate parameter 'securityCredentials' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument.
build: src/TBC.OpenAPI.SDK.DBI/Extensions/ServiceCollectionExtension.cs#L18
In externally visible method 'IServiceCollection ServiceCollectionExtension.AddDBIServices(IServiceCollection services, ServiceSettings settings)', validate parameter 'settings' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument.
build: src/TBC.OpenAPI.SDK.DBI/Models/SecurityConfig.cs#L28
Do not nest type UsernameToken. Alternatively, change its accessibility so that it is not externally visible.
build: src/TBC.OpenAPI.SDK.DBI/Models/ServiceConfig.cs#L11
Exception type System.Exception is not sufficiently specific