microsoft/restler-fuzzer

handling different string formats in RESTler

Offen

#369 geöffnet am 08.10.2021

 (3 Kommentare) (1 Reaktion) (1 zugewiesene Person)Python (329 Forks)auto 404
enhancementhelp wanted

Repository-Metriken

Stars
 (2.929 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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"]
}

Contributor Guide