File tree Expand file tree Collapse file tree 6 files changed +22
-23
lines changed
ajv-openapi-request-response-validator
azure-functions-openapi-validator Expand file tree Collapse file tree 6 files changed +22
-23
lines changed Original file line number Diff line number Diff line change 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" : [
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"
Original file line number Diff line number Diff line change 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 ) )
Original file line number Diff line number Diff 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
2020To check out what is supported, take a look at the [ test fixtures] ( ./test/fixtures/ )
2121
Original file line number Diff line number Diff line change 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" ,
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"
Original file line number Diff line number Diff line change 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"
You can’t perform that action at this time.
0 commit comments