Compare commits
14 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 902c0fd5a2 | |||
| ef804b74c2 | |||
| 98cd7a5edb | |||
| 3ede53ae3b | |||
| aa7c6cf338 | |||
| 0075717a1f | |||
| e667c7bf04 | |||
| 2e9aecdffe | |||
| 5304ed7047 | |||
| 56bd6f4e9f | |||
| 3eb604c95f | |||
| 4293857a7d | |||
| 07e4559133 | |||
| bdd0e4873e |
50
NOTICE
Normal file
50
NOTICE
Normal file
@@ -0,0 +1,50 @@
|
||||
OpenAPI Clean Architecture Generator
|
||||
Copyright (c) 2026 Blas Santomé Ocampo
|
||||
|
||||
This product includes software developed by third parties.
|
||||
All third-party packages listed below are distributed under the MIT License.
|
||||
|
||||
---
|
||||
|
||||
chalk v4.1.2
|
||||
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
||||
License: MIT
|
||||
https://github.com/chalk/chalk
|
||||
|
||||
---
|
||||
|
||||
commander v11.1.0
|
||||
Copyright (c) TJ Holowaychuk <tj@vision-media.ca>
|
||||
License: MIT
|
||||
https://github.com/tj/commander.js
|
||||
|
||||
---
|
||||
|
||||
fs-extra v11.3.4
|
||||
Copyright (c) JP Richardson <jprichardson@gmail.com>
|
||||
License: MIT
|
||||
https://github.com/jprichardson/node-fs-extra
|
||||
|
||||
---
|
||||
|
||||
js-yaml v4.1.1
|
||||
Copyright (c) Vladimir Zapparov <dervus.grim@gmail.com>
|
||||
Copyright (c) Aleksey V Zapparov <ixti@member.fsf.org>
|
||||
Copyright (c) Vitaly Puzrin <vitaly@rcdesign.ru>
|
||||
Copyright (c) Martin Grenfell <martin.grenfell@gmail.com>
|
||||
License: MIT
|
||||
https://github.com/nodeca/js-yaml
|
||||
|
||||
---
|
||||
|
||||
mustache v4.2.0
|
||||
Copyright (c) mustache.js Authors (http://github.com/janl/mustache.js)
|
||||
License: MIT
|
||||
https://github.com/janl/mustache.js
|
||||
|
||||
---
|
||||
|
||||
prompts v2.4.2
|
||||
Copyright (c) Terkel Gjervig
|
||||
License: MIT
|
||||
https://github.com/terkelg/prompts
|
||||
12
README.md
12
README.md
@@ -76,7 +76,10 @@ Options:
|
||||
-o, --output <dir> Output directory [default: ./src/app]
|
||||
-t, --templates <dir> Custom templates directory [default: ./templates]
|
||||
-s, --select-endpoints Interactively select tags and endpoints to generate
|
||||
-c, --config <file> Use a JSON configuration file (skips interactive prompts)
|
||||
--init-config [file] Generate a JSON configuration file instead of generating code
|
||||
--skip-install Skip dependency installation
|
||||
--skip-lint Skip post-generation linting and formatting
|
||||
--dry-run Simulate without writing files
|
||||
-h, --help Show help
|
||||
```
|
||||
@@ -96,6 +99,15 @@ generate-clean-arch -i api.yaml -t ./my-templates
|
||||
# Dry run (no files written)
|
||||
generate-clean-arch -i swagger.yaml --dry-run
|
||||
|
||||
# Skip linting after generation
|
||||
generate-clean-arch -i swagger.yaml --skip-lint
|
||||
|
||||
# Generate a config file to reuse later
|
||||
generate-clean-arch --init-config generation-config.json
|
||||
|
||||
# Run using a config file (no interactive prompts)
|
||||
generate-clean-arch -c generation-config.json
|
||||
|
||||
# Full example with all options
|
||||
generate-clean-arch -i ./docs/api.yaml -o ./frontend/src/app -t ./custom-templates
|
||||
```
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@0kmpo/openapi-clean-arch-generator",
|
||||
"version": "1.3.10",
|
||||
"version": "1.3.14",
|
||||
"description": "Angular Clean Architecture generator from OpenAPI/Swagger",
|
||||
"main": "dist/main.js",
|
||||
"bin": {
|
||||
@@ -41,6 +41,7 @@
|
||||
"license": "MIT",
|
||||
"files": [
|
||||
"dist/main.js",
|
||||
"dist/package.json",
|
||||
"dist/src/",
|
||||
"dist/templates/",
|
||||
"README.md",
|
||||
|
||||
Reference in New Issue
Block a user