Trustify Dependency Analytics API Specification
Find the OpenAPI definition for V5 under the /api folder
The Java and Javascript data models are generated at build time using the openapi-generator-maven-plugin
Run mvn package
to generate it.
The packages are published to the GitHub maven repository. Make sure to add it to your settings or to your project configuration.
<dependency>
<groupId>com.github.guacsec</groupId>
<artifactId>trustify-da-api</artifactId>
<version>1.0.19-SNAPSHOT</version>
</dependency>
Configuring NPM to look in GHPR for the guacsec
namespace is done by adding @guacsec:registry=https://npm.pkg.github.com
to .npmrc in the project root or user home.
echo "@guacsec:registry=https://npm.pkg.github.com" >> .npmrc
Then, add it to your project as follows:
npm install @guacsec/[email protected]