@stackql/provider-utils 0.3.0 → 0.3.1

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.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Utilities for building StackQL providers from OpenAPI specifications.",
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
@@ -62,6 +62,7 @@ function findExistingMapping(spec, pathRef) {
62
62
  // Check methods
63
63
  for (const [methodName, method] of Object.entries(resource.methods || {})) {
64
64
  if (method.operation?.$ref === pathRef) {
65
+ logger.info(`Found mapping for ${pathRef}: ${resourceName}.${methodName}`);
65
66
  // Find SQL verb for this method
66
67
  let sqlVerb = 'exec'; // Default if no explicit mapping
67
68
 
@@ -82,6 +83,8 @@ function findExistingMapping(spec, pathRef) {
82
83
  }
83
84
  }
84
85
  }
86
+
87
+ logger.info(`No mapping for ${pathRef}`);
85
88
 
86
89
  return {
87
90
  resourceName: '',