Skip to content

Commit

Permalink
fix(nestjs-redox): wrong type for RedocOptions.expandResponses, shoul…
Browse files Browse the repository at this point in the history
…d be string

Thanks to @vllange for reporting this issue

Closes #4
  • Loading branch information
julianpoemp committed Jul 22, 2024
1 parent e87cf25 commit 5f14cde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/nestjs-redox/src/lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export interface RedocOptions {
/**
* Controls which responses to expand by default. Specify one or more responses by providing their response codes as a comma-separated list without spaces, for example expandResponses='200,201'. Special value 'all' expands all responses by default. Be careful: this option can slow down documentation rendering time.
*/
expandResponses?: boolean;
expandResponses?: string;
/**
* Automatically expands the single field in a schema.
*/
Expand Down

0 comments on commit 5f14cde

Please sign in to comment.