1

I have two services sharing the same path but with differnt HTTP method enter image description here

And here is the diffination

swagger: '2.0'
paths:

  /path/{Id}:
    get:
      summary: Get paramName
      parameters:
        - name: Id
          in: path
          required: true
          type: string
      responses:
        '200':
          description: Success  
  /path/{someOtherParamNameButTheVerbIsPost}:
    post:
      summary: Do something
      parameters:
        - name: someOtherParamNameButTheVerbIsPost
          in: path
          required: true
          type: string
      responses:
        '200':
          description: Success

When check this schema for errors it returns this one

enter image description here

Unfortunately it is not possible to modify the definition manually as it is auto generated.

Any suggestion (or workaround) to fix this issue?

Melad Basilius
  • 3,847
  • 10
  • 44
  • 81

0 Answers0