mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 05:25:40 +09:00
chore(admin): remove the heap snapshot endpoint (#2814)
This commit is contained in:
1 parent
4ef9c4c65b
commit
34b6ecfbd2
13 files changed
+10
-209
No files matched your search
@@ -54,12 +54,6 @@ describe('OpenAPI generation from API controllers', () => {
|
||||
expect(operation.responses).toHaveProperty('401');
|
||||
});
|
||||
|
||||
it('publishes the real heap-snapshot media type', () => {
|
||||
expect(document.paths['/admin/system/heap-snapshots'].post.responses['200'].content).toEqual({
|
||||
'application/octet-stream': {schema: {$ref: '#/components/schemas/HeapSnapshotResponse'}},
|
||||
});
|
||||
});
|
||||
|
||||
it('documents full and partial harvest archive downloads as binary ZIP responses', () => {
|
||||
const responses = document.paths['/harvest-downloads/{harvestId}'].get.responses;
|
||||
for (const status of ['200', '206']) {
|
||||
|
||||
Reference in new issue
Block a user