@stackql/provider-utils 0.5.1 → 0.5.2

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.5.1",
3
+ "version": "0.5.2",
4
4
  "description": "Utilities for building StackQL providers from OpenAPI specifications.",
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
@@ -361,8 +361,10 @@ export async function analyze(options) {
361
361
  methodName = formattedOpId;
362
362
  }
363
363
 
364
- // Check for explicit x-stackql-sqlVerb in operation
365
- if (operation['x-stackql-sqlVerb']) {
364
+ // Check for explicit x-stackql-verb or x-stackql-sqlVerb in operation
365
+ if (operation['x-stackql-verb']) {
366
+ sqlVerb = operation['x-stackql-verb'];
367
+ } else if (operation['x-stackql-sqlVerb']) {
366
368
  sqlVerb = operation['x-stackql-sqlVerb'];
367
369
  }
368
370