Skip to content

Commit

Permalink
feat(csharp): correctly clean code gen (#2676)
Browse files Browse the repository at this point in the history
  • Loading branch information
morganleroi authored Feb 7, 2024
1 parent 7e72ef3 commit 31e43d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions config/clients.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"folder": "clients/algoliasearch-client-csharp",
"gitRepoId": "algoliasearch-client-csharp",
"packageVersion": "7.0.0-alpha.7",
"modelFolder": "algoliasearch",
"apiFolder": "algoliasearch",
"modelFolder": "algoliasearch/Models",
"apiFolder": "algoliasearch/Clients",
"dockerImage": "apic_base",
"tests": {
"extension": ".test.cs",
Expand Down
4 changes: 1 addition & 3 deletions scripts/pre-gen/removeExistingCodegen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ export async function removeExistingCodegen({
switch (language) {
case 'csharp':
clientModel = clientName;
clientApi = clientName;
baseModelFolder = '';
baseApiFolder = '';
clientApi = `${clientName}*.cs`;
break;
case 'go':
clientModel = clientName.toLowerCase();
Expand Down

0 comments on commit 31e43d2

Please sign in to comment.