Add validation rule that example/examples are mutually exclusive #548
static-analysis.yml
on: pull_request
static-analysis
27s
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.
|