|
@@ -62,6 +62,7 @@ class SwaggerDoc {
|
|
|
}
|
|
|
if (this.requestBody) {
|
|
|
annotation += ' *\t\t\trequestBody:\n';
|
|
|
+ annotation += ` *\t\t\t\trequired: ${this.requestBody.required}`;
|
|
|
annotation += ` *\t\t\t\tdescription: ${this.requestBody.description}\n`;
|
|
|
annotation += ' *\t\t\t\tcontent:\n';
|
|
|
annotation += ` *\t\t\t\t\t${this.requestBody.content.mediaType}:\n`;
|