Skip to content

Commit

Permalink
Merge pull request #2276 from urugator/patch-1
Browse files Browse the repository at this point in the history
fix: ApiResponseSchemaHost.status range support
  • Loading branch information
kamilmysliwiec committed Feb 6, 2023
2 parents ad6a508 + e474064 commit 513eac6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/decorators/api-response.decorator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export interface ApiResponseMetadata
export interface ApiResponseSchemaHost
extends Omit<ResponseObject, 'description'> {
schema: SchemaObject & Partial<ReferenceObject>;
status?: number;
status?: number | 'default' | '1XX' | '2XX' | '3XX' | '4XX' | '5XX';
description?: string;
}

Expand Down

0 comments on commit 513eac6

Please sign in to comment.