feat: add heap snapshot

This commit is contained in:
Barış Soner Uşaklı
2025-07-11 08:50:53 -04:00
parent e4f56e8392
commit f88329dbbe
6 changed files with 47 additions and 2 deletions

View File

@@ -0,0 +1,18 @@
get:
tags:
- admin
summary: Get nodejs heap snapshot
description: Downloads a Node.js heap snapshot for memory analysis.
parameters: []
responses:
"200":
description: Heap snapshot file (in .heapsnapshot format)
content:
application/octet-stream:
schema:
type: string
format: binary
examples:
heapSnapshot:
summary: Example Heap Snapshot Download
description: A binary heap snapshot file.