cowboy_swagger icon indicating copy to clipboard operation
cowboy_swagger copied to clipboard

Use normalized JSON representation internally

Open richcarl opened this issue 1 year ago • 0 comments

Allows the input spec to use either atoms or binaries as map keys. E.g., if parsing an external JSON file instead of using inline Erlang maps in the handler modules, the default behaviour would be not to create atoms for keys. Similarly, all string values are normalized to binaries. This makes it easy to look up a key and check its value.

richcarl avatar Oct 14 '22 12:10 richcarl