
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Document360 official command-line interface (CLI)
The d360 package provides the capability to both manage and synchronize your API Definition with Document360. By utilizing this package within Document360, you will be able to effortlessly generate API documentation for both internal and external consumers, automatically generated from your API definition files
In order to install our package, it is required that you have Node.js already installed on your system. Once Node.js is successfully installed, you can proceed to directly install our package from the npm registry.
npm install -g d360
Note: We recommend using Node.js v14 or later. After a global install you can verify the CLI is available by running
d360 --help. If the command is not found, ensure your global npm bin directory is on your PATH.
Our npm package includes a list of available commands, which are as follows:
Generate API Documentation from your API Definition fileBy utilizing the 'apidocs' command, you will have the ability to generate API documentation directly from your API Definition file.
d360 apidocs --apiKey=c92e71ab-ebdf-4007-89ed-5d47493052cd
--userId=3340e95e-2b68-4a3f-a8c9-124bcaec9972
--versionId=d486783f-b833-446e-aa71-615ac51392c3
--path=https://petstore.swagger.io/v2/swagger.json
| Options | Description |
|---|---|
apiKey string | Project API Key |
userId string | User Id that's used to generate API Docs |
versionId string | Project Version Id |
apihubUrl string | APIHUB Base URL. The default value for this parameter is 'https://apihub.document360.io' |
path string | File path of your respective API Reference |
force boolean | Force import your API Reference. It will import even if there are errors or warnings present within your specification files. |
With the 'apidocs:resync' command, you are able to update or resynchronize your API Definition.
d360 apidocs:resync --apiKey=c92e71ab-ebdf-4007-89ed-5d47493052cd
--userId=3340e95e-2b68-4a3f-a8c9-124bcaec9972
--apiReferenceId=d486783f-b833-446e-aa71-615ac51392c3
--path=https://petstore.swagger.io/v2/swagger.json
| Options | Description |
|---|---|
apiKey string | Project API Key |
userId string | User Id that's used to resync API Reference |
apiReferenceId string | API Reference Id to resync |
apihubUrl string | APIHUB Base URL. The default value for this parameter is 'https://apihub.document360.io' |
path string | File path of your respective API Definitions |
force boolean | Force resync your API Reference. It will resync even your spec files has errors and warnings |
With the 'apidocs:validate' command, you will be able to validate your OpenAPI Specification(OAS) file.
d360 apidocs:validate --apiKey=c92e71ab-ebdf-4007-89ed-5d47493052cd
--apihubUrl=https://apihub.document360.io
--path=https://petstore.swagger.io/v2/swagger.json
| Options | Description |
|---|---|
apiKey string | Project API Key |
apihubUrl string | APIHUB Base URL. The default value for this parameter is 'https://apihub.document360.io' |
path string | File path of your respective API Definitions |
We continually work to improve this CLI. Backward compatibility is maintained wherever possible so you can upgrade with confidence.
FAQs
Document360 official command-line interface (CLI)
The npm package d360 receives a total of 269 weekly downloads. As such, d360 popularity was classified as not popular.
We found that d360 demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.