Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

openapi-codegen-typescript

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openapi-codegen-typescript - npm Package Compare versions

Comparing version 0.1.27 to 0.1.28

12

CHANGELOG.md

@@ -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 @@

5

dist/MockGenerateHelper.js

@@ -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 {

1

dist/types.d.ts

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc