shindonghwi
shindonghwi
## Summary - Adds support for parsing `{}` as an empty object in example values - Fixes the error `object is unsupported type in example value {}` when using `map[string]struct{}`...
Replace `interface{}` with `any` type alias for Go 1.18+ style consistency. No functional changes.
`_find_no_duplicates()` was checking `if toReturn:` which treats empty string as falsy. This causes `KeyError` when retrieving a cookie with an empty string value: ```python jar = RequestsCookieJar() jar.set("empty", "") jar["empty"]...
Found that `extract_zipped_paths()` opens a ZipFile but never closes it. When member is not found and returns early, the ZipFile remains open. Fixed by wrapping with context manager. ```python #...
## Summary - Fix `swag fmt --dir ../` not formatting files when using relative parent path - The `excludeDir` function incorrectly treated `..` as a hidden folder because it checked...
\`Headers._list\` stores tuples as \`(raw_key, lowercase_key, value)\`. In \`get_list()\` and \`__delitem__()\`, calling \`.lower()\` on \`item_key\` is redundant since it's already lowercase. ```python # Before if item_key.lower() == get_header_key # After...
In `_retainChildren`, the recursive call passes `i, j` instead of `2 * x + i, 2 * y + j`. This means when looking for z+2 fallback tiles, it searches...