How to format hash-based parameters in the URL when creating Blueprint API doc?
问题 With the Rails Way of adding hashes in the parameter of an URL like so: http://api.example.com?person[first]=Jane&person[last]=Doe&person[email]=jane@doe.com How do I format the API Blueprint doc to accommodate a list of available hashes? Parameters person[first] (required, string, Jane ) ... First name This is not legal when I execute the document. Any ideas or tips are welcome! 回答1: Per https://tools.ietf.org/html/rfc3986#section-3.2.2, you must escape [] in URIs. As such, you need to do: