/codewind-openapi-eclipse

codewind-openapi-eclipse

Primary LanguageJavaEclipse Public License 2.0EPL-2.0

Codewind OpenAPI Tools for Eclipse

The Codewind OpenAPI Tools for Eclipse provides wizards that invoke the OpenAPI Generator to create API clients, server stubs, and HTML documentation from OpenAPI Specifications. The tools are integrated with and are customized to work with Codewind for Eclipse but they also work standalone with a base Eclipse IDE for Java EE Developers installation.

Getting started

  1. Download and install the latest Eclipse IDE for Java EE Developers or use an existing installation. Note that if using these tools with Codewind, the earliest supported version of the Eclipse IDE is 4.11.0 (2019-03).
  2. (Optional) Install Codewind from the Eclipse Marketplace.
  3. Install the Codewind OpenAPI Tools from the Eclipse Marketplace.

How to use

  1. Invoke the context menu on any existing workspace projects or any workspace OpenAPI Specification files (openapi.yaml) from the Package Explorer or Project Explorer views.
  2. If Codewind is installed, the context menu generator actions are available in the Codewind Explorer view
  3. Ensure at least one OpenAPI Specification is in the project
  4. Select an action to generate the client or server stubs or HTML documentation
  5. Fill in the requested information that is displayed in the wizard
  6. After generation, edit .openapi-generator-ignore to ensure subsequent code generation does not overwrite custom code

Features