2016-12-13 105 views
1

我是Dredd的新手,想運行uber.yaml找到here。不過,我一直運行到以下錯誤(S):如何在Dredd中傳遞URI參數

info: Configuration './dredd.yml' found, ignoring other arguments. 
error: Compilation error in file 'uber.yaml': Required URI parameter 'latitude' 
has no example or default value. (Products > /v1/products > Product Types) 

不知道如何讓過去這些,是不是能找到什麼,我一直在尋找使用的Dredd文檔。任何幫助將會受到讚賞!

回答

1

沒關係,能夠找到一個答案,必須在swagger.yaml中添加x-example。