@platformatic/sql-openapi 3.14.0 → 3.15.0

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 (2) hide show
  1. package/lib/shared.js +1 -1
  2. package/package.json +5 -5
package/lib/shared.js CHANGED
@@ -132,7 +132,7 @@ export function rootEntityRoutes (
132
132
 
133
133
  for (let i = 0; i < queryKeys.length; i++) {
134
134
  const key = queryKeys[i]
135
- if (key.startsWith('where.or')) {
135
+ if (key === 'where.or') {
136
136
  const orParam = query[key][0]
137
137
  // NOTE: Remove the first and last character which are the brackets
138
138
  // each or condition is separated by a pipe '|'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/sql-openapi",
3
- "version": "3.14.0",
3
+ "version": "3.15.0",
4
4
  "description": "Map a SQL database to OpenAPI, for Fastify",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -26,7 +26,7 @@
26
26
  "typescript": "^5.5.4",
27
27
  "why-is-node-running": "^2.2.2",
28
28
  "yaml": "^2.4.1",
29
- "@platformatic/sql-mapper": "3.14.0"
29
+ "@platformatic/sql-mapper": "3.15.0"
30
30
  },
31
31
  "dependencies": {
32
32
  "@fastify/deepmerge": "^2.0.0",
@@ -36,9 +36,9 @@
36
36
  "camelcase": "^6.3.0",
37
37
  "fastify-plugin": "^5.0.0",
38
38
  "inflected": "^2.1.0",
39
- "@platformatic/scalar-theme": "3.14.0",
40
- "@platformatic/foundation": "3.14.0",
41
- "@platformatic/sql-json-schema-mapper": "3.14.0"
39
+ "@platformatic/foundation": "3.15.0",
40
+ "@platformatic/scalar-theme": "3.15.0",
41
+ "@platformatic/sql-json-schema-mapper": "3.15.0"
42
42
  },
43
43
  "tsd": {
44
44
  "directory": "test/types"