forked from loafle/openapi-generator-original
fix petstore security spec to remove validation errors (#739)
This commit is contained in:
parent
f6c21057e1
commit
1ab4fe43b5
@ -25,7 +25,7 @@ paths:
|
|||||||
tags:
|
tags:
|
||||||
- fake
|
- fake
|
||||||
summary: To test code injection */ ' " =end -- \r\n \n \r
|
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
|
operationId: testCodeInject */ ' " =end -- \r\n \n \r
|
||||||
consumes:
|
consumes:
|
||||||
- application/json
|
- application/json
|
||||||
|
@ -1 +1 @@
|
|||||||
3.1.2-SNAPSHOT
|
3.2.0-SNAPSHOT
|
@ -43,7 +43,7 @@ class FakeApi extends AbstractApiController {
|
|||||||
/**
|
/**
|
||||||
* PUT testCodeInjectEndRnNR
|
* PUT testCodeInjectEndRnNR
|
||||||
* Summary: To test code injection *_/ ' \" =end -- \\r\\n \\n \\r
|
* 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\ServerRequestInterface $request Request
|
||||||
* @param \Psr\Http\Message\ResponseInterface $response Response
|
* @param \Psr\Http\Message\ResponseInterface $response Response
|
||||||
|
@ -19,8 +19,8 @@
|
|||||||
</testsuites>
|
</testsuites>
|
||||||
<filter>
|
<filter>
|
||||||
<whitelist processUncoveredFilesFromWhitelist="true">
|
<whitelist processUncoveredFilesFromWhitelist="true">
|
||||||
<directory suffix=".php">./lib//Api</directory>
|
<directory suffix=".php">./lib/Api</directory>
|
||||||
<directory suffix=".php">./lib//Model</directory>
|
<directory suffix=".php">./lib/Model</directory>
|
||||||
</whitelist>
|
</whitelist>
|
||||||
</filter>
|
</filter>
|
||||||
</phpunit>
|
</phpunit>
|
Loading…
x
Reference in New Issue
Block a user