We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cde888e commit df26046Copy full SHA for df26046
1 file changed
lib/parameter.ts
@@ -10,6 +10,7 @@ interface ParameterOptionsBase<TName extends string | number | symbol> {
10
description?: string;
11
deprecated?: boolean;
12
allowEmptyValue?: boolean;
13
+ allowReserved?: boolean;
14
style?: 'simple';
15
}
16
@@ -51,6 +52,12 @@ export class Parameter<
51
52
return {
53
name: this.options.name.toString(),
54
in: this.options.in,
55
+ ...(this.options.description && {
56
+ description: this.options.description,
57
+ }),
58
+ ...(this.options.allowReserved && {
59
+ allowReserved: this.options.allowReserved,
60
61
required: this.options.required,
62
...(this.options.allowEmptyValue && {
63
allowEmptyValue: this.options.allowEmptyValue,
0 commit comments