docusaurus-plugin-openapi-docs 0.0.0-518 → 0.0.0-520

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.
@@ -111,6 +111,9 @@ const sampleRequestFromSchema = (schema = {}) => {
111
111
  }
112
112
  }
113
113
  }
114
+ if (prop.readOnly && prop.readOnly === true) {
115
+ continue;
116
+ }
114
117
  if (prop.deprecated) {
115
118
  continue;
116
119
  }
@@ -111,6 +111,9 @@ const sampleResponseFromSchema = (schema = {}) => {
111
111
  }
112
112
  }
113
113
  }
114
+ if (prop.writeOnly && prop.writeOnly === true) {
115
+ continue;
116
+ }
114
117
  if (prop.deprecated) {
115
118
  continue;
116
119
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "docusaurus-plugin-openapi-docs",
3
3
  "description": "OpenAPI plugin for Docusaurus.",
4
- "version": "0.0.0-518",
4
+ "version": "0.0.0-520",
5
5
  "license": "MIT",
6
6
  "keywords": [
7
7
  "openapi",
@@ -68,5 +68,5 @@
68
68
  "engines": {
69
69
  "node": ">=14"
70
70
  },
71
- "gitHead": "e159d075120e8ce0f2bc5d60411a7b16f30a14b7"
71
+ "gitHead": "b12408be492631f72c83ecc630202396099b59ee"
72
72
  }
@@ -135,6 +135,10 @@ export const sampleRequestFromSchema = (schema: SchemaObject = {}): any => {
135
135
  }
136
136
  }
137
137
 
138
+ if (prop.readOnly && prop.readOnly === true) {
139
+ continue;
140
+ }
141
+
138
142
  if (prop.deprecated) {
139
143
  continue;
140
144
  }
@@ -135,6 +135,10 @@ export const sampleResponseFromSchema = (schema: SchemaObject = {}): any => {
135
135
  }
136
136
  }
137
137
 
138
+ if (prop.writeOnly && prop.writeOnly === true) {
139
+ continue;
140
+ }
141
+
138
142
  if (prop.deprecated) {
139
143
  continue;
140
144
  }