Red Hat Trusted Profile Analyzer API Specification
Find the OpenAPI definitions for V3 and V4 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.redhat.ecosystemappeng</groupId>
<artifactId>exhort-api</artifactId>
<version>1.0.6-SNAPSHOT</version>
</dependency>
Configuring NPM to look in GHPR for the RHEcosystemAppEng namespace is done by adding @RHEcosystemAppEng:registry=https://npm.pkg.github.com
to .npmrc in the project root or user home.
echo "@RHEcosystemAppEng:registry=https://npm.pkg.github.com" >> .npmrc
Then, add it to your project as follows:
npm install @RHEcosystemAppEng/exhort-javascript-api@1.0.6-SNAPSHOT