cancel
Showing results for 
Search instead for 
Did you mean: 

Reference not show common parameters

Highlighted
New Member

Reference not show common parameters

Hello!

I create two files:
base.yaml:
paths:
   / test / {testID} /:
     parameters:
       - in: path
         name: testID
         required: true
         type: integer
     get: ...
     post: ...
     put: ...

test.yaml
paths:
   / test / {testID} /:
     $ ref: 'base.yaml # / paths / ~ 1test ~ 1 {testID} ~ 1'

I run base.yaml - everything is fine. I run test.yaml. Everything is displayed except the input line testID.

swagger 2.0
How can I get around the problem?

New Here?
Join us and watch the welcome video: