microsoft/restler-fuzzer

handling different string formats in RESTler

开放

#369 创建于 2021年10月8日

 (3 条评论) (1 个反应) (1 位负责人)Python (329 个派生)auto 404
enhancementhelp wanted

仓库指标

星标
 (2,929 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Any value can be used as the "format" value for string types in an OpenAPI specification. To better support domain-specific formats, RESTler could handle this in a generic way by generating a new dictionary entry, which the user could then populate. If empty, it would be treated as a restler_fuzzable_string.

For example: restler_custom_payload_format("date") restler_custom_payload_format("uri")

and in the dictionary:

"restler_custom_payload_format": {
  "date": ["2021-10-02"],
  "uri": ["https://example.com"]
}

贡献者指南