dirigible
dirigible copied to clipboard
[Templates] Generate HTTP Client from OpenAPI
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:
- Create new project
- Create new OpenAPI file (e.g.
myapi.openapi) - Click on the Generate option
- Select the "OpenAPI Client" from the options list
- Publish the generated content
Consumption of such client, for the end user should be as following:
- Import (
import { ... } from '...') the generated client into the custom code - Consume the client
Reference clients:
Related issues:
- https://github.com/eclipse/dirigible/issues/357
- https://github.com/eclipse/dirigible/issues/3791
Also add the functionnalty to generate also the frontend