@stackql/provider-utils 0.4.8 → 0.4.9
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
|
@@ -161,9 +161,17 @@ export function createInsertExamples(providerName, serviceName, resourceName, re
|
|
|
161
161
|
content += ' value: ' + type + '\n';
|
|
162
162
|
|
|
163
163
|
if (description) {
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
164
|
+
content += ' description: |\n';
|
|
165
|
+
|
|
166
|
+
// Split by lines and remove empty lines
|
|
167
|
+
const lines = description
|
|
168
|
+
.split(/\n/)
|
|
169
|
+
.filter(line => line.trim() !== ''); // Remove completely empty lines
|
|
170
|
+
|
|
171
|
+
// Process each line with proper indentation
|
|
172
|
+
lines.forEach(line => {
|
|
173
|
+
content += ' ' + line.trim() + '\n'; // trim each line to remove extra spaces
|
|
174
|
+
});
|
|
167
175
|
}
|
|
168
176
|
|
|
169
177
|
// Add enum values if available
|