@pbvision/fastify-firestore-service 0.0.18 → 0.0.19

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/package.json +1 -1
  2. package/src/api/api.js +1 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pbvision/fastify-firestore-service",
3
- "version": "0.0.18",
3
+ "version": "0.0.19",
4
4
  "description": "Web Framework using Fastify and Firestore ORM",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
package/src/api/api.js CHANGED
@@ -106,9 +106,7 @@ class API {
106
106
 
107
107
  /* istanbul ignore next */
108
108
  /**
109
- * The HTTP path suffix used to request this API. For consistency, PATHs
110
- * should use lower camel-case as in the example mentioned; they should not
111
- * contain underscores.
109
+ * The HTTP path suffix used to request this API.
112
110
  * @public
113
111
  * @abstract
114
112
  */
@@ -732,8 +730,6 @@ class API {
732
730
  assert.ok(this.DESC, 'DESC is missing')
733
731
  assert.ok(this.PATH && this.PATH.startsWith('/'),
734
732
  'API path must start with a "/"')
735
- assert.ok(this.PATH.indexOf('_') < 0,
736
- 'API path should not have underscores') // use camel-case
737
733
 
738
734
  // convert our proprietary schema format to the fast-json-stringify format
739
735
  const respSchemas = this._getResponseSchemas()