pg-mvc-service 2.1.36 → 2.1.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -985,7 +985,7 @@ class RequestType extends ReqResType_1.default {
985
985
  }
986
986
  let ymlString = ` requestBody:\n`;
987
987
  ymlString += ` content:\n`;
988
- ymlString += ` application/json:\n`;
988
+ ymlString += ` ${this.isFormRequest ? 'multipart/form-data' : 'application/json'}:\n`;
989
989
  ymlString += ` schema:\n`;
990
990
  ymlString += ` type: object\n`;
991
991
  ymlString += ` properties:${componentYml}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pg-mvc-service",
3
- "version": "2.1.36",
3
+ "version": "2.1.37",
4
4
  "description": "",
5
5
  "homepage": "https://github.com/n-daira/npm-pack_mvc-service#readme",
6
6
  "bugs": {