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