chore: Generalize authorization configurations

This commit is contained in:
Joachim Van Herwegen
2022-11-17 16:08:26 +01:00
parent 9b15b1d7e1
commit 2d54493485
6 changed files with 59 additions and 71 deletions

View File

@@ -6,9 +6,9 @@ import type { RepresentationMetadata } from '../../representation/Representation
* The result of executing an operation.
*/
export class ResponseDescription {
public readonly statusCode: number;
public readonly metadata?: RepresentationMetadata;
public readonly data?: Guarded<Readable>;
public statusCode: number;
public metadata?: RepresentationMetadata;
public data?: Guarded<Readable>;
/**
* @param statusCode - Status code to return.