我使用DREDD根据它的规范(考虑用Openapi3编写,)来测试我的Api。不,我有一个端点,如果设置了Accept-header,它就会生成CSV-data。, cell2"]显然,有些地方被误解了,Dredd希望JSON仍然存在。此外,API也不会被告知生成CSV版本。Parameter Object' 'name' in location 'header' should not be '
对我的API使用节点dredd。我选择使用yml文件,因为这是我的团队熟悉的std。: Returns a single station $ref: '#/definitions/station' $ref: '#/definitions/station' description: Failed validation
在<em