@ng-openapi/http-resource 0.0.14 → 0.0.15

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.
Files changed (3) hide show
  1. package/index.cjs +1 -2
  2. package/index.js +1 -2
  3. package/package.json +1 -1
package/index.cjs CHANGED
@@ -100,8 +100,7 @@ function getTypeScriptType(schemaOrType, config, formatOrNullable, isNullable, c
100
100
  case "null":
101
101
  return "null";
102
102
  default:
103
- console.warn(`Unknown swagger type: ${schema2.type}`);
104
- return nullableType("any", nullable);
103
+ return nullableType("unknown", nullable);
105
104
  }
106
105
  }
107
106
  __name(getTypeScriptType, "getTypeScriptType");
package/index.js CHANGED
@@ -66,8 +66,7 @@ function getTypeScriptType(schemaOrType, config, formatOrNullable, isNullable, c
66
66
  case "null":
67
67
  return "null";
68
68
  default:
69
- console.warn(`Unknown swagger type: ${schema2.type}`);
70
- return nullableType("any", nullable);
69
+ return nullableType("unknown", nullable);
71
70
  }
72
71
  }
73
72
  __name(getTypeScriptType, "getTypeScriptType");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ng-openapi/http-resource",
3
- "version": "0.0.14",
3
+ "version": "0.0.15",
4
4
  "description": "HTTP Resource plugin for ng-openapi - Angular HTTP utilities with caching and state management",
5
5
  "keywords": [
6
6
  "angular",