GraphQL-Plugin-Convert-OpenAPI
view release on metacpan or search on metacpan
t/01-corpus.json view on Meta::CPAN
"contact": {
"name": "CPAN Testers core team",
"email": "admin@cpantesters.org",
"url": "http://cpantesters.org"
},
"license": {
"name": "perl",
"url": "https://dev.perl.org/licenses/"
}
},
"host": "api.cpantesters.org",
"basePath": "/v3",
"schemes": [ "http" ],
"consumes": [ "application/json" ],
"produces": [ "application/json" ],
"tags": [
{
"name": "Summary",
"description": "Summary test report data"
},
{
"name": "Release",
"description": "Per-release test summary data"
},
{
"name": "Upload",
"description": "CPAN uploads data"
},
{
"name": "Report",
"description": "CPAN report submissions"
}
],
"paths": {
"/report": {
"post": {
"tags": ["Report"],
"description": "Submit a new report to CPAN Testers",
"x-mojo-to": {
"controller": "Report",
"action": "report_post"
},
"operationId": "v3_report_post",
"parameters": [{
"name": "report",
"in": "body",
"required": true,
"schema": { "$ref": "#/definitions/NewReport" }
}],
"responses": {
"201": {
"description": "report was created",
"schema": { "$ref": "#/definitions/AcceptedReports" }
},
"303": {
"description": "duplicate report",
"schema": { "$ref": "#/definitions/Error" }
},
"401": {
"description": "invalid credentials",
"schema": { "$ref": "#/definitions/Error" }
},
"400": {
"description": "report contains errors",
"schema": { "$ref": "#/definitions/Error" }
},
"default": {
"description": "unexpected error",
"schema": { "$ref": "#/definitions/Error" }
}
}
}
},
"/report/{id}": {
"get": {
"tags": ["Report"],
"description": "Fetch report data from CPAN Testers",
"x-mojo-to": {
"controller": "Report",
"action": "report_get"
},
"operationId": "v3_report_get",
"parameters": [{
"name": "id",
"in": "path",
"description": "The CPAN Testers report id (like 01be7be2-2aec-11e7-a074-e1beba07c9dd)",
"type": "string",
"required": true
}],
"responses": {
"200": {
"description": "Report details",
"schema": { "$ref": "#/definitions/Report" }
},
"400": {
"description": "report id is invalid",
"schema": { "$ref": "#/definitions/Error" }
},
"404": {
"description": "The specified report was not found",
"schema": { "$ref": "#/definitions/Error" }
}
}
}
},
"/summary/{dist}/{version}": {
"get": {
"tags": [ "Summary" ],
"operationId": "v3_summary",
"summary": "Get test report summary info for a specific version of a distribution",
"x-mojo-to": {
"controller": "Summary",
"action": "summary"
},
"parameters": [
{
"name": "dist",
"in": "path",
( run in 0.698 second using v1.01-cache-2.11-cpan-02777c243ea )