Skip to content

Commit

Permalink
Update Open Api Specs (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
HemanthDogiparthi12 authored Nov 22, 2024
1 parent e06f441 commit 4a426f4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@ public void processOpts() {
supportingFiles.add(new SupportingFile("index.mustache", "src", "index.js"));
supportingFiles.add(new SupportingFile("api.mustache", "src", "api.js"));
supportingFiles.add(new SupportingFile("configuration.mustache", "src", "configuration.js"));
supportingFiles.add(new SupportingFile("DefaultHttpClient.mustache", "src", "DefaultHttpClient.js"));
supportingFiles.add(new SupportingFile("HttpClient.mustache", "src", "HttpClient.js"));

supportingFiles.add(new SupportingFile("gitignore", "", ".gitignore"));

addNpmPackageGeneration();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,8 @@ public void preprocessOpenAPI(OpenAPI openAPI) {
supportingFiles.add(new SupportingFile("index.mustache", createPath(sourceFolder, invokerPackage), "index.js"));
supportingFiles.add(new SupportingFile("ApiClient.mustache", createPath(sourceFolder, invokerPackage), "ApiClient.js"));
supportingFiles.add(new SupportingFile("configuration.mustache", createPath(sourceFolder, invokerPackage), "configuration.js"));
supportingFiles.add(new SupportingFile("DefaultHttpClient.mustache", createPath(sourceFolder, invokerPackage), "DefaultHttpClient.js"));
supportingFiles.add(new SupportingFile("abstractHttpClient.mustache", createPath(sourceFolder, invokerPackage), "abstractHttpClient.js"));
supportingFiles.add(new SupportingFile("logger.mustache", createPath(sourceFolder, invokerPackage), "logger.js"));
supportingFiles.add(new SupportingFile("README.mustache", "", "README.md"));
}
Expand Down

0 comments on commit 4a426f4

Please sign in to comment.