Skip to content

Commit a76fb8c

Browse files
authored
Modify CONTRIBUTING.md about generating code (#815)
`tools/gen-oas-client.sh` is gone by #806 so this change fixes document.
1 parent 2bd0e49 commit a76fb8c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ The project structure is as follows:
2222
- `test`: Test code.
2323
- `examples`: Example projects that use the library.
2424
- `tools`: Development tools including code generation scripts.
25+
- `generator`: Helper project used to fetch the OpenAPI Generator CLI for local code generation.
2526
- `docs`: Auto-generated [Documentation](https://line.github.io/line-bot-sdk-php/) files by phpDocumentor.
2627

2728
### Edit OpenAPI templates
@@ -31,7 +32,7 @@ Thus, you cannot edit almost all code under `src/clients/` and `src/webhook/` di
3132

3233
You need to edit the custom templates under [tools/custom-template](tools/custom-template) instead.
3334

34-
After editing the templates, run `./tools/gen-oas-client.sh` to generate the code, and then commit all affected files.
35+
After editing the templates, run `python generate-code.py` to generate the code, and then commit all affected files.
3536
If not, CI status will fail.
3637

3738
When you update code, be sure to check consistencies between generated code and your changes.

0 commit comments

Comments
 (0)