Skip to content

Commit 273a1d8

Browse files
authored
Merge pull request #5 from restfulhead/main
chore: prepare initial release
2 parents 82d2c9a + a5d8f84 commit 273a1d8

File tree

6 files changed

+22
-23
lines changed

6 files changed

+22
-23
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@restfulhead/nodejs-api-tools",
2+
"name": "@restfulhead/azure-functions-nodejs-openapi-validator",
33
"version": "0.0.0",
44
"description": "Collection of libraries for building Node.js APIs",
55
"keywords": [
@@ -10,13 +10,13 @@
1010
],
1111
"author": "Patrick Ruhkopf",
1212
"license": "MIT",
13-
"homepage": "https://github.com/restfulhead/nodejs-api-tools",
13+
"homepage": "https://github.com/restfulhead/azure-functions-nodejs-openapi-validator",
1414
"repository": {
1515
"type": "git",
16-
"url": "https://github.com/restfulhead/nodejs-api-tools.git"
16+
"url": "git+https://github.com/restfulhead/azure-functions-nodejs-openapi-validator.git"
1717
},
1818
"bugs": {
19-
"url": "https://github.com/restfulhead/nodejs-api-tools/issues"
19+
"url": "https://github.com/restfulhead/azure-functions-nodejs-openapi-validator/issues"
2020
},
2121
"engines": {
2222
"node": ">=18.0"
Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +0,0 @@
1-
# v0.1.1 (Fri Mar 08 2024)
2-
3-
#### 🔩 Internal
4-
5-
- fix: release ci workflow [#3](https://github.com/restfulhead/azure-functions-nodejs-openapi-validator/pull/3) ([@restfulhead](https://github.com/restfulhead))
6-
7-
#### Authors: 1
8-
9-
- Patrick Ruhkopf ([@restfulhead](https://github.com/restfulhead))

packages/ajv-openapi-request-response-validator/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This library contains an Open API v3.0 validator that validates http requests an
1515
* The default config sets AJV's `removeAdditional` to `false`, otherwise `allOf` validation may cause unexpected results
1616
* The default config sets AJV's `coerceTypes` to `false`, otherwise `anyof` validation may cause unexpected results
1717
* Query params are usually string values on the other hand, so this library coerces those by default prior to validation
18-
* This library does not validate the Open API specification itself. I suggest you use another tool for this for now.
18+
* This library does not validate the Open API specification itself. This might be added in future.
1919

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

packages/ajv-openapi-request-response-validator/package.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@restfulhead/ajv-openapi-request-response-validator",
3-
"version": "0.0.1",
3+
"version": "0.1.0",
44
"description": "AJV based implementation to validate http requests and responses against an OpenAPI schema",
55
"keywords": [
66
"azure",
@@ -10,13 +10,17 @@
1010
],
1111
"author": "Patrick Ruhkopf",
1212
"license": "MIT",
13-
"homepage": "https://github.com/restfulhead/nodejs-api-tools/packages/ajv-openapi-request-response-validator",
13+
"homepage": "https://github.com/restfulhead/azure-functions-nodejs-openapi-validator/packages/ajv-openapi-request-response-validator",
1414
"repository": {
1515
"type": "git",
16-
"url": "https://github.com/restfulhead/nodejs-api-tools.git"
16+
"url": "git+https://github.com/restfulhead/azure-functions-nodejs-openapi-validator.git"
1717
},
1818
"bugs": {
19-
"url": "https://github.com/restfulhead/nodejs-api-tools/issues"
19+
"url": "https://github.com/restfulhead/azure-functions-nodejs-openapi-validator/issues"
20+
},
21+
"publishConfig": {
22+
"registry": "https://registry.npmjs.org/",
23+
"access": "public"
2024
},
2125
"engines": {
2226
"node": ">=18.0"

packages/azure-functions-openapi-validator/package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,17 @@
1010
],
1111
"author": "Patrick Ruhkopf",
1212
"license": "MIT",
13-
"homepage": "https://github.com/restfulhead/nodejs-api-tools",
13+
"homepage": "https://github.com/restfulhead/azure-functions-nodejs-openapi-validator",
1414
"repository": {
1515
"type": "git",
16-
"url": "https://github.com/restfulhead/nodejs-api-tools.git"
16+
"url": "git+https://github.com/restfulhead/azure-functions-nodejs-openapi-validator.git"
1717
},
1818
"bugs": {
19-
"url": "https://github.com/restfulhead/nodejs-api-tools/issues"
19+
"url": "https://github.com/restfulhead/azure-functions-nodejs-openapi-validator/issues"
20+
},
21+
"publishConfig": {
22+
"registry": "https://registry.npmjs.org/",
23+
"access": "public"
2024
},
2125
"engines": {
2226
"node": ">=18.0"

0 commit comments

Comments
 (0)