Is your feature request related to a problem? Please describe.
We want to ensure that the application server and intelligence service are able to communicate with each other using the OpenAPI specifications without a lot of manual overhead.
Describe the solution you'd like
Similarly to the application server, store the OpenAPI specifications in the intelligence service directory.
Generate the Java client for the application server using the OpenAPI specifications.
Add a root level package.json script to generate the Java client for the intelligence service.
Create a github action workflow if necessary that fails if the Java client is not up-to-date with the OpenAPI specifications.
Describe alternatives you've considered
Manually keeping the Java client up-to-date with the OpenAPI specifications.
Using gRPC instead of OpenAPI specifications, but I think OpenAPI specifications are more widely used and understood.
Is your feature request related to a problem? Please describe.
We want to ensure that the application server and intelligence service are able to communicate with each other using the OpenAPI specifications without a lot of manual overhead.
Describe the solution you'd like
package.json
script to generate the Java client for the intelligence service.Describe alternatives you've considered