Skip to content

Commit 0b062a5

Browse files
authored
Merge pull request #264 from JaredCE/beta-debugging
Beta debugging
2 parents 806845d + 81799d1 commit 0b062a5

File tree

4 files changed

+31
-19
lines changed

4 files changed

+31
-19
lines changed

.github/workflows/node.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
strategy:
1717
matrix:
18-
node-version: [20.x, 22.x]
18+
node-version: [20.x, 22.x, 24.x]
1919
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2020

2121
steps:

package-lock.json

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

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "serverless-openapi-documenter",
3-
"version": "0.0.118-beta.1",
3+
"version": "0.0.120-beta.1",
44
"description": "Generate OpenAPI v3 documentation and Postman Collections from your Serverless Config",
55
"main": "index.js",
66
"keywords": [
@@ -50,7 +50,7 @@
5050
"chalk": "^4.1.2",
5151
"js-yaml": "^4.1.1",
5252
"json-schema-for-openapi": "^0.5.0",
53-
"openapi-to-postmanv2": "^5.4.1",
53+
"openapi-to-postmanv2": "^5.6.0",
5454
"uuid": "^11.1.0"
5555
},
5656
"engines": {

src/schemaHandler.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ class SchemaHandler {
1919
this.shouldConvert = true;
2020
if (/(3\.1\.\d)/g.test(this.openAPI.openapi)) this.shouldConvert = false;
2121

22+
this.logger.verbose(`OpenAPI version: ${this.openAPI.openapi}`);
23+
this.logger.verbose(`Convert Schemas: ${this.shouldConvert}`);
24+
2225
this.modelReferences = {};
2326

2427
this.__standardiseModels();

0 commit comments

Comments
 (0)