Skip to content

Add validation rule that example/examples are mutually exclusive #548

Add validation rule that example/examples are mutually exclusive

Add validation rule that example/examples are mutually exclusive #548

Triggered via pull request March 22, 2024 03:52
Status Failure
Total duration 34s
Artifacts

static-analysis.yml

on: pull_request
static-analysis
27s
static-analysis
Fit to window
Zoom out
Zoom in

Annotations

5 errors
static-analysis: src/Processors/MergeJsonContent.php#L1
Ignored error pattern #^Property OpenApi\\Annotations\\Schema\:\:\$examples \(array\<string, OpenApi\\Annotations\\Examples\>\) does not accept string\.$# in path /home/runner/work/swagger-php/swagger-php/src/Processors/MergeJsonContent.php was not matched in reported errors.
static-analysis: src/Processors/MergeJsonContent.php#L48
Property OpenApi\Annotations\Schema::$examples (array<OpenApi\Annotations\Examples>) does not accept string.
static-analysis: src/Processors/MergeXmlContent.php#L1
Ignored error pattern #^Property OpenApi\\Annotations\\Schema\:\:\$examples \(array\<string, OpenApi\\Annotations\\Examples\>\) does not accept string\.$# in path /home/runner/work/swagger-php/swagger-php/src/Processors/MergeXmlContent.php was not matched in reported errors.
static-analysis: src/Processors/MergeXmlContent.php#L48
Property OpenApi\Annotations\Schema::$examples (array<OpenApi\Annotations\Examples>) does not accept string.
static-analysis
Process completed with exit code 1.