refactor(codegen): better Swagger compression
Thanks for this - is there an issue this solves? Or was this something you noticed and think it's worthwhile doing?
Kusari Analysis Results:
✅ No Flagged Issues Detected
All values appear to be within acceptable risk parameters.
No pinned version dependency changes, code issues or exposed secrets detected!
[!NOTE] View full detailed analysis result for more information on the output and the checks that were run.
@kusari-inspector rerun - Trigger a re-analysis of this PR @kusari-inspector feedback [your message] - Send feedback to our AI and team See Kusari's documentation for setup and configuration. Commit: 7767cdfdac76959c4aec992a0650a5e15cf77197, performed at: 2025-09-28T17:35:41Z
Found this helpful? Give it a 👍 or 👎 reaction!
Thanks for this - is there an issue this solves? Or was this something you noticed and think it's worthwhile doing?
Hi! There’s no specific issue, these changes just provide a small performance boost:
- reduce GC load (depending on the array size)
- slightly reduce the size of the data in
swaggerSpec - slightly speed up the
decodeSpec()function
Kusari PR Analysis rerun based on - 7ceda9067b301d0917ff529cf5e9c54b244e8d61 performed at: 2025-06-15T13:56:55Z - link to updated analysis
Kusari PR Analysis rerun based on - 549d69f9524b48cc8a6bd4d62dfa540fec0a0e4e performed at: 2025-07-15T19:09:45Z - link to updated analysis
Kusari PR Analysis rerun based on - 65f9a844991800215ea8661b620b0e8fbc2980a1 performed at: 2025-07-17T09:44:18Z - link to updated analysis
Kusari PR Analysis rerun based on - 152681f21538a5b4935f8698c405f2f7aac72fca performed at: 2025-07-28T17:48:33Z - link to updated analysis
Kusari PR Analysis rerun based on - de8869aee90a290d7f23cda2a34ded61fb49aa77 performed at: 2025-08-29T15:40:28Z - link to updated analysis
Kusari PR Analysis rerun based on - 7767cdfdac76959c4aec992a0650a5e15cf77197 performed at: 2025-09-28T17:35:58Z - link to updated analysis
(Feel free to not keep this branch updated, when I come back to this PR, I'll get it updated / address any conflicts if needed)