Uploaded image for project: 'Apache ServiceComb'
  1. Apache ServiceComb
  2. SCB-684

Following swagger conventions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • java-chassis-1.0.0
    • Java-Chassis
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              liubao68 liubao
              liubao68 liubao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: