
Research
Security News
The Growing Risk of Malicious Browser Extensions
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
@fresha/openapi-codegen-server-nestjs
Advanced tools
OpenAPI code generator for NestJS projects.
If you need to generate source code using CLI tools, it's enough to install
@fresha/openapi-codegen
.
$ npm install @fresha/openapi-codegen
This generator is available as server-nestjs
command of the fresha-openapi-codegen
CLI.
npx fresha-openapi-codegen \
server-nestjs \
--input PATH_TO_OPENAPI_SCHEMA_FILE
--output ROOT_DIR_OF_NESTJS_PROJECT
--nest-app NAME_OF_NESTJS_SUBAPP
--json-api
where:
--nest-app
is used if your NestJS project uses workspaces
This option's value should be one of NestJS applications from your project. If omitted, generator
assumes that your NestJS project is in standard mode
--json-api
is used to make generator generate the code according to JSON:API specification,
including several optimisations
Other options include:
--dry-run
which will make the generator to only print what it's being doing, but don't do actual
modification
--verbose
which will make the generator print more information on the console
Code generator tries to generate code compliant with NestJS best practices. This includes:
class-transformer
librarynpm run format
commandFAQs
OpenAPI code generation for NestJS servers
The npm package @fresha/openapi-codegen-server-nestjs receives a total of 21 weekly downloads. As such, @fresha/openapi-codegen-server-nestjs popularity was classified as not popular.
We found that @fresha/openapi-codegen-server-nestjs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 open source maintainers collaborating on the project.
Did you know?
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.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.
Security News
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.