
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@superbogy/zly
Advanced tools
:dango: zly is a yaml assembly parser. You can split a large yaml file into small fragments. It is very useful for writing a swagger API document. You can import yaml piece from relative path or absolute path.
npm i -g @superbogy/zly
Usage: zly [options]
Options:
-V, --version output the version number
-o, --output <path> put the result to file
-w, --workspace yaml file root path
-f, --format <type> format output style, yaml or json (default: "yaml")
-p, --pretty pretty out put
-s, --server start a swagger ui
-e, --extname <ext> extend name, split with comma
-h, --help output usage information
preview a swagger yaml file: zly -s api-spec.yaml
import yaml file: $ref: relative/path/some.yaml
clone this project and run zly -s test/example/index.yaml
structure
├── definitions
│ ├── Error.yaml
│ ├── Pet.yaml
│ └── index.yaml
├── entry.yaml
└── routers
├── index.yaml
└── pets
├── $id.yaml
└── list.yaml
The entry file refer two file from definitions/index.yaml
and routers/index.yaml
paths:
$ref: routers/index.yaml
components:
$ref: definitions/index.yaml
for routers/index.yaml:
/pets:
$ref: pets/list.yaml
/pets/{petId}:
$ref: pets/$id.yaml
FAQs
yaml refer
The npm package @superbogy/zly receives a total of 12 weekly downloads. As such, @superbogy/zly popularity was classified as not popular.
We found that @superbogy/zly demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.