Compare commits
6 Commits
98cd7a5edb
...
902c0fd5a2
| Author | SHA1 | Date | |
|---|---|---|---|
| 902c0fd5a2 | |||
| ef804b74c2 | |||
| 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]
|
-o, --output <dir> Output directory [default: ./src/app]
|
||||||
-t, --templates <dir> Custom templates directory [default: ./templates]
|
-t, --templates <dir> Custom templates directory [default: ./templates]
|
||||||
-s, --select-endpoints Interactively select tags and endpoints to generate
|
-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-install Skip dependency installation
|
||||||
|
--skip-lint Skip post-generation linting and formatting
|
||||||
--dry-run Simulate without writing files
|
--dry-run Simulate without writing files
|
||||||
-h, --help Show help
|
-h, --help Show help
|
||||||
```
|
```
|
||||||
@@ -96,6 +99,15 @@ generate-clean-arch -i api.yaml -t ./my-templates
|
|||||||
# Dry run (no files written)
|
# Dry run (no files written)
|
||||||
generate-clean-arch -i swagger.yaml --dry-run
|
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
|
# Full example with all options
|
||||||
generate-clean-arch -i ./docs/api.yaml -o ./frontend/src/app -t ./custom-templates
|
generate-clean-arch -i ./docs/api.yaml -o ./frontend/src/app -t ./custom-templates
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user