You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "liubao (JIRA)" <ji...@apache.org> on 2018/06/25 12:13:00 UTC

[jira] [Resolved] (SCB-684) Following swagger conventions

     [ https://issues.apache.org/jira/browse/SCB-684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

liubao resolved SCB-684.
------------------------
    Resolution: Fixed

Only test cases and comments are given. no code change.

> 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
>            Priority: Major
>             Fix For: Java-chassis-1.0.0
>
>
> 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)