Skip to content

swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition.

License

Notifications You must be signed in to change notification settings

elastic/swagger-codegen

 
 

Repository files navigation

Fork of swagger-codegen, primarily maintained by the Elastic Cloud team.

Why fork?

The Cloud team relies on the Scala and Java clients, generated from our OpenAPI specification, for building our integration tests. The Scala client in particular has proven to be buggy. Despite our efforts to contribute patches upstream, each new version of the client seems to bring on newer problems 😄. We've decided it's easier to just maintain our own fork for the sake of having a stable and reliable client for our tests.

Publishing a new version to our artifactory

A quick guide on how to configure settings.xml file:

Artifactory provides a nice UI to help to setup settings file:

  • Go to the Artifacts section (left column)
  • Click the Set Me Up button on the top right
  • Choose cloud-release-local repository
  • Click Generate Maven Settings and copy generated file
  • To deploy, you'll need to replace username with your @elastic.co email and password with the API Key generated in the Edit Profile section:
    <username>${security.getCurrentUsername()}</username>
    <password>${security.getEscapedEncryptedPassword()!"*** Insert encrypted password here ***"</password>
    

About

swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition.

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Mustache 52.0%
  • Java 39.3%
  • Shell 5.3%
  • Apex 0.9%
  • TypeScript 0.6%
  • Ruby 0.5%
  • Other 1.4%