fix petstore security spec to remove validation errors (#739)

This commit is contained in:
William Cheng 2018-08-06 17:02:02 +08:00 committed by GitHub
parent f6c21057e1
commit 1ab4fe43b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View File

@ -25,7 +25,7 @@ paths:
tags:
- fake
summary: To test code injection */ ' " =end -- \r\n \n \r
descriptions: To test code injection */ ' " =end -- \r\n \n \r
description: To test code injection */ ' " =end -- \r\n \n \r
operationId: testCodeInject */ ' " =end -- \r\n \n \r
consumes:
- application/json

View File

@ -1 +1 @@
3.1.2-SNAPSHOT
3.2.0-SNAPSHOT

View File

@ -43,7 +43,7 @@ class FakeApi extends AbstractApiController {
/**
* PUT testCodeInjectEndRnNR
* Summary: To test code injection *_/ ' \" =end -- \\r\\n \\n \\r
* Notes:
* Notes: To test code injection *_/ ' \" =end -- \\r\\n \\n \\r
*
* @param \Psr\Http\Message\ServerRequestInterface $request Request
* @param \Psr\Http\Message\ResponseInterface $response Response

View File

@ -19,8 +19,8 @@
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./lib//Api</directory>
<directory suffix=".php">./lib//Model</directory>
<directory suffix=".php">./lib/Api</directory>
<directory suffix=".php">./lib/Model</directory>
</whitelist>
</filter>
</phpunit>