Skip to content

Commit a5d8f84

Browse files
authored
Merge pull request #4 from restfulhead/fix-release
chore: initial release
2 parents 6534f10 + 51c08f1 commit a5d8f84

File tree

8 files changed

+28
-17
lines changed

8 files changed

+28
-17
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
name: Build pull request
2+
concurrency:
3+
group: ${{ github.ref }}
4+
cancel-in-progress: true
25

36
on:
47
pull_request:
@@ -17,12 +20,12 @@ jobs:
1720
node-version: [18.x]
1821

1922
steps:
20-
- uses: actions/checkout@v3
23+
- uses: actions/checkout@v4
2124
with:
2225
token: ${{ secrets.GH_TOKEN }}
2326

2427
- name: Setting up ${{ matrix.node-version }}
25-
uses: actions/setup-node@v3
28+
uses: actions/setup-node@v4
2629
with:
2730
cache: 'npm'
2831
node-version: ${{ matrix.node-version }}

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Release
22
concurrency:
3-
group: ${{ github.ref }}
3+
group: release
44
cancel-in-progress: true
55

66
permissions:

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"

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

Whitespace-only changes.

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.0",
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)