Merge pull request #12407 from chlins/fix/p2p-preheat-policy-swagger-yaml

fix: adjust p2p preheat policy swagger yaml definitions
This commit is contained in:
Steven Zou 2020-07-07 19:53:59 +08:00 committed by GitHub
commit a78ab897d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -832,9 +832,7 @@ paths:
$ref: '#/definitions/PreheatPolicy' $ref: '#/definitions/PreheatPolicy'
responses: responses:
'201': '201':
description: Create policy success $ref: '#/responses/201'
schema:
$ref: '#/responses/201'
'400': '400':
$ref: '#/responses/400' $ref: '#/responses/400'
'401': '401':