Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 1.39 KB

integration.md

File metadata and controls

43 lines (31 loc) · 1.39 KB
id title
integrations
Workflow Integrations

Workflow Integration (Gradle, Maven, GitHub, CI/CD)

sbt Integration

Please refer to https://github.com/OpenAPITools/sbt-openapi-generator

Bazel Integration

Please refer to https://github.com/OpenAPITools/openapi-generator-bazel

Cake Addin

3rd-party Cake Addin provided by Lukas Körfer: https://github.com/lukoerfer/cake-openapi-generator

GitHub Integration

To push the auto-generated SDK to GitHub, we provide git_push.sh to streamline the process. For example:

  1. Create a new repository in GitHub (Ref: https://help.github.com/articles/creating-a-new-repository/)

  2. Generate the SDK

 java -jar openapi-generator-cli.jar generate \
 -i modules/openapi-generator/src/test/resources/3_0/petstore.json -g perl \
 --git-user-id "wing328" \
 --git-repo-id "petstore-perl" \
 --release-note "GitHub integration demo" \
 -o /var/tmp/perl/petstore
  1. Push the SDK to GitHub
cd /var/tmp/perl/petstore
/bin/sh ./git_push.sh

CI/CD

Some generators also generate CI/CD configuration files (.travis.yml) so that the output will be ready to be tested by the CI (e.g. Travis)

If you're looking for the configuration files of a particular CI that is not yet supported, please open an issue to let us know.