OpenAPI Specification
-
Create OpenAPI Specification:
- Inside your new package, create an
openapi.yaml
file. - Write the OpenAPI specification for your component to define its API structure and endpoints.
- Inside your new package, create an
-
Navigate to CLI Directory:
- Change your working directory to the
BYTECHEF_HOME/cli/cli-app
folder.
- Change your working directory to the
-
Generate Component:
- Execute the following command to generate the
NewComponent
in thenewcomponent
directory: - This command initializes the component based on the OpenAPI specification, placing the generated files in the specified output path.
- Execute the following command to generate the