Skip to content

Refactor Swagger Endpoint Validation and Implement Custom Options Handling #123

Refactor Swagger Endpoint Validation and Implement Custom Options Handling

Refactor Swagger Endpoint Validation and Implement Custom Options Handling #123

Triggered via pull request October 16, 2024 12:19
Status Failure
Total duration 46s
Artifacts

pull_request.yml

on: pull_request
build-and-test
35s
build-and-test
Fit to window
Zoom out
Zoom in

Annotations

1 error and 12 warnings
build-and-test
Process completed with exit code 1.
build-and-test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build-and-test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-dotnet@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build-and-test: src/MMLib.SwaggerForOcelot/Configuration/OcelotGatewayItSelfSwaggerGenOptions.cs#L30
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build-and-test: src/MMLib.SwaggerForOcelot/Configuration/OcelotGatewayItSelfSwaggerGenOptions.cs#L31
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build-and-test: src/MMLib.SwaggerForOcelot/Configuration/SwaggerForOcelotUIOptions.cs#L51
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build-and-test: src/MMLib.SwaggerForOcelot/ServiceDiscovery/SwaggerServiceDiscoveryProvider.cs#L140
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build-and-test: src/MMLib.SwaggerForOcelot/Repositories/EndPointsMonitor/SwaggerEndpointsMonitor.cs#L28
Non-nullable event 'OptionsChanged' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the event as nullable.
build-and-test: src/MMLib.SwaggerForOcelot/Repositories/EndPointsMonitor/ConsulSwaggerEndpointsMonitor.cs#L36
Non-nullable event 'OptionsChanged' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the event as nullable.
build-and-test: src/MMLib.SwaggerForOcelot/Extensions/JsonExtensions.cs#L24
The variable 'ex' is declared but never used
build-and-test: src/MMLib.SwaggerForOcelot/Configuration/OcelotGatewayItSelfSwaggerGenOptions.cs#L30
Missing XML comment for publicly visible type or member 'OcelotGatewayItSelfSwaggerGenOptions.GatewayDocsTitle'
build-and-test: src/MMLib.SwaggerForOcelot/Configuration/OcelotGatewayItSelfSwaggerGenOptions.cs#L31
Missing XML comment for publicly visible type or member 'OcelotGatewayItSelfSwaggerGenOptions.GatewayDocsOpenApiInfo'