openapi-codegen-typescript
Advanced tools
Comparing version 0.1.27 to 0.1.28
@@ -0,1 +1,13 @@ | ||
# v0.1.28 (Mon Aug 21 2023) | ||
#### 🐛 Bug Fix | ||
- fix(mocks): fix duration format in mocks [#51](https://github.com/LandrAudio/openapi-codegen-typescript/pull/51) ([@MPeloquin](https://github.com/MPeloquin)) | ||
#### Authors: 1 | ||
- Maxime Péloquin ([@MPeloquin](https://github.com/MPeloquin)) | ||
--- | ||
# v0.1.27 (Wed Apr 05 2023) | ||
@@ -2,0 +14,0 @@ |
@@ -54,4 +54,7 @@ "use strict"; | ||
} | ||
else if (format === types_1.StringFormats.Duration) { | ||
value = "'" + this.casual.integer(0, 1000) + "'"; | ||
} | ||
if (!value) { | ||
value = 'TODO: FIX'; | ||
value = "'TODO: FIX'"; | ||
} | ||
@@ -58,0 +61,0 @@ return { |
@@ -21,2 +21,3 @@ export declare enum PropertyNames { | ||
DateTime = "date-time", | ||
Duration = "duration", | ||
Password = "password", | ||
@@ -23,0 +24,0 @@ Byte = "byte", |
@@ -27,2 +27,3 @@ "use strict"; | ||
StringFormats["DateTime"] = "date-time"; | ||
StringFormats["Duration"] = "duration"; | ||
StringFormats["Password"] = "password"; | ||
@@ -29,0 +30,0 @@ StringFormats["Byte"] = "byte"; |
{ | ||
"name": "openapi-codegen-typescript", | ||
"version": "0.1.27", | ||
"version": "0.1.28", | ||
"description": "OpenApi codegen for generating types an mocks from swagger json file", | ||
@@ -43,3 +43,3 @@ "main": "dist/index.js", | ||
"@typescript-eslint/parser": "2.20.0", | ||
"auto": "^10.44.0", | ||
"auto": "^11.0.1", | ||
"eslint": "6.8.0", | ||
@@ -46,0 +46,0 @@ "eslint-config-prettier": "6.10.0", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
76003
1352