Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CodeGen
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Coscine
backend
scripts
CodeGen
Merge requests
!13
Main
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Merged
Main
main
into
dev
Overview
0
Commits
2
Pipelines
1
Changes
2
Merged
L. Ellenbeck
requested to merge
main
into
dev
1 year ago
Overview
0
Commits
2
Pipelines
1
Changes
2
Expand
Update dev
0
0
Merge request reports
Compare
dev
dev (base)
and
latest version
latest version
abb56033
2 commits,
1 year ago
2 files
+
22
−
8
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
src/CodeGen/CodeGenerator/CodeGenerator.cs
+
5
−
0
Options
@@ -71,6 +71,11 @@ public abstract class CodeGenerator
var
apiContent
=
File
.
ReadAllText
(
$"./
{
outputPath
}
/
{
directoryName
}
/api.ts"
);
foreach
(
var
apiFile
in
Directory
.
GetFiles
(
$"./
{
outputPath
}
/
{
directoryName
}
/@coscine/api/"
))
{
apiContent
+=
File
.
ReadAllText
(
apiFile
);
}
var
apiImplementations
=
apiRegex
.
Matches
(
apiContent
);
var
customBasePath
=
await
GetCustomBasePath
(
directoryName
);
Loading