specmatic
specmatic copied to clipboard
Headers and queries with multiple/null values are not fully supported
HTTP allows multiple headers/queries with the same name to be sent, as well as for there to be null values - eg.
/path?query=1&query&query=3
This is problematic if we are capturing things like Cookie headers which are often sent in multiple entities.
The types inside the Specmatic codebase only support Map<String, String> instead of Map<String, List<String?>.
Thanks for reporting this @daviddenton. We'll have a look at this and get back to you.
bump