@stackql/provider-utils 0.1.2 → 0.1.3

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": "@stackql/provider-utils",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Utilities for building StackQL providers from OpenAPI specifications.",
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
@@ -388,9 +388,9 @@ function getHttpOperationInfo(dereferencedAPI, path, httpVerb, mediaType, openAP
388
388
  throw new Error(`HTTP verb '${httpVerb}' not found for path '${path}'`);
389
389
  }
390
390
 
391
- // get op description
392
- const opDescription = dereferencedAPI.paths[path][httpVerb].description || '';
393
-
391
+ // Get operation description and replace curly braces with HTML entities
392
+ const opDescription = (dereferencedAPI.paths[path][httpVerb].description || '').replace(/\{/g, '{').replace(/\}/g, '}');
393
+
394
394
  // Extract request body if it exists
395
395
  let requestBody = {};
396
396
  if (dereferencedAPI.paths[path][httpVerb].requestBody &&