@strapi/plugin-documentation 4.10.6 → 4.11.0-beta.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strapi/plugin-documentation",
3
- "version": "4.10.6",
3
+ "version": "4.11.0-beta.0",
4
4
  "description": "Create an OpenAPI Document and visualize your API with SWAGGER UI.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -31,9 +31,9 @@
31
31
  },
32
32
  "dependencies": {
33
33
  "@strapi/design-system": "1.7.7",
34
- "@strapi/helper-plugin": "4.10.6",
34
+ "@strapi/helper-plugin": "4.11.0-beta.0",
35
35
  "@strapi/icons": "1.7.7",
36
- "@strapi/utils": "4.10.6",
36
+ "@strapi/utils": "4.11.0-beta.0",
37
37
  "bcryptjs": "2.4.3",
38
38
  "cheerio": "^1.0.0-rc.12",
39
39
  "formik": "2.2.9",
@@ -43,7 +43,6 @@
43
43
  "lodash": "4.17.21",
44
44
  "path-to-regexp": "6.2.1",
45
45
  "pluralize": "8.0.0",
46
- "react-copy-to-clipboard": "^5.1.0",
47
46
  "react-helmet": "^6.1.0",
48
47
  "react-intl": "6.4.1",
49
48
  "react-query": "3.24.3",
@@ -81,5 +80,5 @@
81
80
  "description": "Create an OpenAPI Document and visualize your API with SWAGGER UI.",
82
81
  "kind": "plugin"
83
82
  },
84
- "gitHead": "7dbae9d05d765b85927e1ccff282ac9d82d0a9eb"
83
+ "gitHead": "fd63eb0f5c625311803775504cec0d3d4d770da9"
85
84
  }
@@ -182,9 +182,7 @@ module.exports = ({ strapi }) => {
182
182
 
183
183
  generatedDocumentation = produce(generatedDocumentation, (draft) => {
184
184
  if (generatedSchemas) {
185
- draft.components = {
186
- schemas: { ...draft.components.schemas, ...generatedSchemas },
187
- };
185
+ draft.components.schemas = { ...draft.components.schemas, ...generatedSchemas };
188
186
  }
189
187
 
190
188
  if (newApiPath) {