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

dto-to-model

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dto-to-model

Mainly used for my company, but can be used for your Angular project if yours models, Dto's or Enum match See tests/assets/results folder to check what you can expect as output For some Type like Date/Enum, this generator use specific method, new featur

  • 0.0.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-50%
Maintainers
1
Weekly downloads
 
Created
Source

Mainly used for my company, but can be used for your Angular project if yours models, Dto's or Enum match See tests/assets/results folder to check what you can expect as output For some Type like Date/Enum, this generator use specific method, new features must provide configuration file for custom results

Model generator from OpenApi Dto's Can generate Models, specs, Mocks or Enum

Exposed Methods: generateModel generateMocks generateSpecs generateEnum

Check into tests/results folder what kind of generation you can expect from tests/dtos files. You have to use it into node_module OpenApi generated API folder to found all related Dto's and populate specs and mocks. It's a BETA actually, need some improvement and cleaning code

See https://github.com/SrenoG/dto-to-model-vscode to use it in vscode extension

Keywords

FAQs

Package last updated on 04 Dec 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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