Skip to content

Commit

Permalink
typescript-angular tweaks to improve way of working with generated cl…
Browse files Browse the repository at this point in the history
…ients (#527) (#533)

* Remove leading comment from typescript files so that there are fewer differences between files when regenerating with a new spec version (info moved to README).
Remove licence field from package.json.

* Update README with changes
  • Loading branch information
daiscog authored May 4, 2023
1 parent 2876a1e commit 5332f67
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ The project is very much Work In Progress and will be published on maven central

# Release Notes
BOAT is still under development and subject to change.

## 0.16.12
* Boat Angular generator
* Remove leading comment from typescript files so that there are fewer differences between files when regenerating with a new spec version (info moved to README)
* Remove licence field from package.json
## 0.16.11
* Boat Angular generator
* Set `removeComments: false` in generated tsconfig.json files to retain `/*#__PURE__*/` annotation in compiled JS.
Expand Down
5 changes: 5 additions & 0 deletions boat-scaffold/src/main/templates/boat-angular/README.mustache
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
## {{npmName}}@{{npmVersion}}

{{{appName}}}
{{{appDescription}}}

{{#version}}The version of the OpenAPI document: {{{version}}}{{/version}}

### Building

To install the required dependencies and to build the typescript sources run:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
/**
* {{{appName}}}
* {{{appDescription}}}
*
* {{#version}}The version of the OpenAPI document: {{{version}}}{{/version}}
* {{#infoEmail}}Contact: {{{infoEmail}}}{{/infoEmail}}
*
* NOTE: This class is auto generated by OpenAPI Generator (https://github.com/Backbase/backbase-openapi-tools).
* https://github.com/Backbase/backbase-openapi-tools
* Do not edit the class manually.
* Generated code
*/
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"openapi-client",
"openapi-generator"
],
"license": "Unlicense",
"scripts": {
"build": "ng-packagr -p ng-package.json"
},
Expand Down

0 comments on commit 5332f67

Please sign in to comment.