1.1.3 • Published 10 months ago

d360 v1.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

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

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.
publish booleanPublish articles after import. By default, all the articles will be in draft state after import

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 import your API Reference. It will import even your spec files has errors and warnings
publish booleanPublish articles after import. By default, all the articles will be in draft state after import

What's next

As part of our ongoing efforts to enhance the user experience of our d360 npm package, we are committed to supporting backward compatibility to the best of our ability.

1.1.3

1 year ago

1.1.4-next.8

10 months ago

1.1.4-next.9

10 months ago

1.1.4-next.2

10 months ago

1.1.3-next.2

10 months ago

1.1.4-next.3

10 months ago

1.1.3-next.1

1 year ago

1.1.4-next.1

10 months ago

1.1.4-next.6

10 months ago

1.1.4-next.7

10 months ago

1.1.4-next.4

10 months ago

1.1.4-next.5

10 months ago

1.1.2

1 year ago

1.1.2-next.1

1 year ago

1.1.1

1 year ago

1.1.1-next.2

1 year ago

1.1.1-next.1

1 year ago

1.1.1-next.3

1 year ago

1.1.0

1 year ago

1.0.10-next.6

1 year ago

1.1.0-next.2

1 year ago

1.1.0-next.1

1 year ago

1.0.11

1 year ago

1.0.10-next.5

1 year ago

1.0.10-next.4

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.10-next.1

1 year ago

1.0.6

1 year ago

1.0.10-next.3

1 year ago

1.0.10-next.2

1 year ago

1.0.8-next.2

1 year ago

1.0.8-next.1

1 year ago

1.0.0-next.1

1 year ago

1.0.7-next.1

1 year ago

1.0.0-next.2

1 year ago

1.0.6-next.1

1 year ago

1.0.10

1 year ago

1.0.5

1 year ago

1.0.1-next.17

1 year ago

1.0.4

1 year ago

1.0.1-next.16

1 year ago

1.0.3

1 year ago

1.0.1-next.15

1 year ago

1.0.1-next.14

1 year ago

1.0.1-next.13

1 year ago

1.0.1-next.12

1 year ago

1.0.1-next.11

1 year ago

1.0.1-next.10

1 year ago

1.0.1-next.9

1 year ago

1.0.1-next.8

1 year ago

1.0.1-next.7

1 year ago

1.0.1-next.6

1 year ago

1.0.1-next.5

1 year ago

1.0.1-next.4

1 year ago

1.0.1-next.3

1 year ago

1.0.1-next.2

1 year ago

1.0.1-next.1

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

2 years ago