serverless-openapi-documenter 0.1.0 → 0.1.2

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.
package/json/owasp.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "last_update_utc": "2025-08-17 15:23:47",
2
+ "last_update_utc": "2026-06-23 16:23:09",
3
3
  "headers": [
4
4
  {
5
5
  "name": "Cache-Control",
@@ -35,7 +35,7 @@
35
35
  },
36
36
  {
37
37
  "name": "Strict-Transport-Security",
38
- "value": "max-age=31536000; includeSubDomains"
38
+ "value": "max-age=63072000; includeSubDomains"
39
39
  },
40
40
  {
41
41
  "name": "X-Content-Type-Options",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "serverless-openapi-documenter",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Generate OpenAPI v3 documentation and Postman Collections from your Serverless Config",
5
5
  "main": "index.js",
6
6
  "keywords": [
@@ -53,8 +53,8 @@
53
53
  "license": "MIT",
54
54
  "dependencies": {
55
55
  "@apidevtools/json-schema-ref-parser": "^9.1.0",
56
- "@usebruno/converters": "^0.16.0",
57
56
  "@redocly/openapi-core": "^1.34.5",
57
+ "@usebruno/converters": "^0.17.1",
58
58
  "chalk": "^4.1.2",
59
59
  "js-yaml": "^4.1.1",
60
60
  "json-schema-for-openapi": "^0.5.0",
package/src/owasp.js CHANGED
@@ -95,7 +95,7 @@ class OWASP {
95
95
  const headerJSON = await new Promise((resolve, reject) => {
96
96
  const req = https
97
97
  .get(
98
- "https://owasp.org/www-project-secure-headers/ci/headers_add.json",
98
+ "https://raw.githubusercontent.com/OWASP/www-project-secure-headers/refs/heads/master/ci/headers_add.json",
99
99
  (res) => {
100
100
  let data = [];
101
101