liubao created SCB-684: -------------------------- Summary: Following swagger conventions Key: SCB-684 URL: https://issues.apache.org/jira/browse/SCB-684 Project: Apache ServiceComb Issue Type: Improvement Components: Java-Chassis Reporter: liubao Assignee: liubao
Check with swagger validator, some warnings and errors are given: Errors Hide Semantic error at paths./add.post Operations with Parameters of "in: formData" must include "application/x-www-form-urlencoded" or "multipart/form-data" in their "consumes" property Jump to line 13 Semantic error at paths./add.post Operations with Parameters of "in: formData" must include "application/x-www-form-urlencoded" or "multipart/form-data" in their "consumes" property Jump to line 13 Schema error at paths['/reduce'].get.parameters[0] should NOT have additional properties additionalProperty: type, format, name, in, required Jump to line 36 Schema error at paths['/reduce'].get.parameters[0].required should be equal to one of the allowed values allowedValues: true Jump to line 36 Schema error at paths['/reduce'].get.paramete -- This message was sent by Atlassian JIRA (v7.6.3#76005)