Skip to content

Commit

Permalink
Merge pull request #10 from ensi-platform/ensitech-1
Browse files Browse the repository at this point in the history
ENSITECH-1
  • Loading branch information
DimionX authored Nov 15, 2023
2 parents e68a0cb + d19ea0b commit 7809fb0
Show file tree
Hide file tree
Showing 13 changed files with 7,928 additions and 54 deletions.
39 changes: 8 additions & 31 deletions config/openapi-client-generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,37 +27,6 @@
*/
'git_host' => 'gitlab.com',

/**
* Args for generate nodejs client
*/
'js_args' => [
/**
* Specific generator params from https://openapi-generator.tech/docs/generators/typescript-fetch/
*/
'params' => [
'npmName' => '<paste_your_npm_package_name>',
'useES6' => true,
'useSingleRequestParameter' => true,
'withInterfaces' => true,
'typescriptThreePlus' => true,
],

/**
* Need generate nest js module, only for backend services
*/
'generate_nestjs_module' => false,

/**
* Directory where you can place templates to override default ones. . Used in -t
*/
'template_dir' => '',

/**
* Files that will be ignored during repository cleanup
*/
'files_to_ignore_during_cleanup' => ['.git', '.gitignore'],
],

/**
* Args for generate php client
*/
Expand Down Expand Up @@ -97,4 +66,12 @@
*/
'enum_disable_patch' => false,
],

'async_api' => [
'enabled' => true,
'doc_dir' => public_path('async-docs/v1'),
'output_dir' => "lib" . DIRECTORY_SEPARATOR . "Kafka",
'package' => "Ensi\ServiceClient\Kafka",
'template_dir' => base_path('..' . DIRECTORY_SEPARATOR . '<paste_your_client_package_name>'),
],
];
Loading

0 comments on commit 7809fb0

Please sign in to comment.