如何在Dredd中传递URI参数
问题描述:
我是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文档。任何帮助将会受到赞赏!
答
没关系,能够找到一个答案,必须在swagger.yaml中添加x-example。