New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

d360

Package Overview
Dependencies
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

d360

Document360 official command-line interface (CLI)

latest
Source
npmnpm
Version
1.1.4
Version published
Weekly downloads
307
-6.4%
Maintainers
1
Weekly downloads
 
Created
Source

Document360 official command-line interface (CLI)

NPM Version MIT License Build status

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

Table of Contents

Setup

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.

Commands

Our npm package includes a list of available commands, which are as follows:

  • apidocs - Generate API Documentation from your API Definition file
  • apidocs:resync - Resync your API Definition

apidocs

By 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
OptionsDescription
apiKey stringProject API Key
userId stringUser Id that's used to generate API Docs
versionId stringProject Version Id
apihubUrl stringAPIHUB Base URL. The default value for this parameter is 'https://apihub.document360.io'
path stringFile path of your respective API Reference
force booleanForce import your API Reference. It will import even if there are errors or warnings present within your specification files.

apidocs:resync

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
OptionsDescription
apiKey stringProject API Key
userId stringUser Id that's used to resync API Reference
apiReferenceId stringAPI Reference Id to resync
apihubUrl stringAPIHUB Base URL. The default value for this parameter is 'https://apihub.document360.io'
path stringFile path of your respective API Definitions
force booleanForce resync your API Reference. It will resync even your spec files has errors and warnings

apidocs:validate

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
OptionsDescription
apiKey stringProject API Key
apihubUrl stringAPIHUB Base URL. The default value for this parameter is 'https://apihub.document360.io'
path stringFile path of your respective API Definitions

What's Next

We continually work to improve this CLI. Backward compatibility is maintained wherever possible so you can upgrade with confidence.

Keywords

api documentation

FAQs

Package last updated on 16 Mar 2026

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