eclipse / dirigible

Eclipse Dirigible™ Project
https://www.dirigible.io
Eclipse Public License 2.0
268 stars 87 forks source link

[Templates] Generate HTTP Client from OpenAPI #523

Open ThuF opened 4 years ago

ThuF commented 4 years ago

Create an "OpenAPI Client" template and generate specific HTTP client form the OpenAPI metadata.

Creation of such client, for the end user should be as following:

  1. Create new project
  2. Create new OpenAPI file (e.g. myapi.openapi)
  3. Click on the Generate option
  4. Select the "OpenAPI Client" from the options list
  5. Publish the generated content

Consumption of such client, for the end user should be as following:

  1. Import (import { ... } from '...') the generated client into the custom code
  2. Consume the client

Reference clients:

  1. dirigiblelabs/client-sap-successfactors-platform
  2. client-kubernetes

Related issues:

Demonium commented 4 years ago

Also add the functionnalty to generate also the frontend