Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@restfulhead/nodejs-api-tools",
"name": "@restfulhead/azure-functions-nodejs-openapi-validator",
"version": "0.0.0",
"description": "Collection of libraries for building Node.js APIs",
"keywords": [
Expand All @@ -10,13 +10,13 @@
],
"author": "Patrick Ruhkopf",
"license": "MIT",
"homepage": "https://github.com/restfulhead/nodejs-api-tools",
"homepage": "https://github.com/restfulhead/azure-functions-nodejs-openapi-validator",
"repository": {
"type": "git",
"url": "https://github.com/restfulhead/nodejs-api-tools.git"
"url": "git+https://github.com/restfulhead/azure-functions-nodejs-openapi-validator.git"
},
"bugs": {
"url": "https://github.com/restfulhead/nodejs-api-tools/issues"
"url": "https://github.com/restfulhead/azure-functions-nodejs-openapi-validator/issues"
},
"engines": {
"node": ">=18.0"
Expand Down
9 changes: 0 additions & 9 deletions packages/ajv-openapi-request-response-validator/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +0,0 @@
# v0.1.1 (Fri Mar 08 2024)

#### 🔩 Internal

- fix: release ci workflow [#3](https://github.com/restfulhead/azure-functions-nodejs-openapi-validator/pull/3) ([@restfulhead](https://github.com/restfulhead))

#### Authors: 1

- Patrick Ruhkopf ([@restfulhead](https://github.com/restfulhead))
2 changes: 1 addition & 1 deletion packages/ajv-openapi-request-response-validator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ This library contains an Open API v3.0 validator that validates http requests an
* The default config sets AJV's `removeAdditional` to `false`, otherwise `allOf` validation may cause unexpected results
* The default config sets AJV's `coerceTypes` to `false`, otherwise `anyof` validation may cause unexpected results
* Query params are usually string values on the other hand, so this library coerces those by default prior to validation
* This library does not validate the Open API specification itself. I suggest you use another tool for this for now.
* This library does not validate the Open API specification itself. This might be added in future.

To check out what is supported, take a look at the [test fixtures](./test/fixtures/)

Expand Down
12 changes: 8 additions & 4 deletions packages/ajv-openapi-request-response-validator/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@restfulhead/ajv-openapi-request-response-validator",
"version": "0.0.1",
"version": "0.1.0",
"description": "AJV based implementation to validate http requests and responses against an OpenAPI schema",
"keywords": [
"azure",
Expand All @@ -10,13 +10,17 @@
],
"author": "Patrick Ruhkopf",
"license": "MIT",
"homepage": "https://github.com/restfulhead/nodejs-api-tools/packages/ajv-openapi-request-response-validator",
"homepage": "https://github.com/restfulhead/azure-functions-nodejs-openapi-validator/packages/ajv-openapi-request-response-validator",
"repository": {
"type": "git",
"url": "https://github.com/restfulhead/nodejs-api-tools.git"
"url": "git+https://github.com/restfulhead/azure-functions-nodejs-openapi-validator.git"
},
"bugs": {
"url": "https://github.com/restfulhead/nodejs-api-tools/issues"
"url": "https://github.com/restfulhead/azure-functions-nodejs-openapi-validator/issues"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"engines": {
"node": ">=18.0"
Expand Down
10 changes: 7 additions & 3 deletions packages/azure-functions-openapi-validator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,17 @@
],
"author": "Patrick Ruhkopf",
"license": "MIT",
"homepage": "https://github.com/restfulhead/nodejs-api-tools",
"homepage": "https://github.com/restfulhead/azure-functions-nodejs-openapi-validator",
"repository": {
"type": "git",
"url": "https://github.com/restfulhead/nodejs-api-tools.git"
"url": "git+https://github.com/restfulhead/azure-functions-nodejs-openapi-validator.git"
},
"bugs": {
"url": "https://github.com/restfulhead/nodejs-api-tools/issues"
"url": "https://github.com/restfulhead/azure-functions-nodejs-openapi-validator/issues"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"engines": {
"node": ">=18.0"
Expand Down