Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fileという名前をやめる #726

Closed
mehm8128 opened this issue Oct 9, 2023 · 0 comments · Fixed by #727
Closed

Fileという名前をやめる #726

mehm8128 opened this issue Oct 9, 2023 · 0 comments · Fixed by #727
Assignees

Comments

@mehm8128
Copy link
Contributor

mehm8128 commented Oct 9, 2023

ここかな

File:

フロントでgenerateしたところ、こんなエラーが出てModelFileに直された
型がanyになってしまうこともあって実際には使っていないので、そんなに問題ではないけど直したほうがいい
直すならRequestFileとか?

Download 5.4.0 ...
Downloaded 5.4.0
[main] INFO  o.o.codegen.DefaultGenerator - Generating with dryRun=false
[main] INFO  o.o.codegen.DefaultGenerator - OpenAPI Generator: typescript-axios (client)
[main] INFO  o.o.codegen.DefaultGenerator - Generator 'typescript-axios' is considered stable.
[main] INFO  o.o.c.l.AbstractTypeScriptClientCodegen - Hint: Environment variable 'TS_POST_PROCESS_FILE' (optional) not defined. E.g. to format the source code, please try 'export TS_POST_PROCESS_FILE="/usr/local/bin/prettier --write"' (Linux/Mac)
[main] INFO  o.o.c.l.AbstractTypeScriptClientCodegen - Note: To enable file post-processing, 'enablePostProcessFile' must be set to `true` (--enable-post-process-file for CLI).
[main] WARN  o.o.c.l.AbstractTypeScriptClientCodegen - File (model name matches existing language type) cannot be used as a model name. Renamed to ModelFile
[main] WARN  o.o.c.l.AbstractTypeScriptClientCodegen - File (model name matches existing language type) cannot be used as a model name. Renamed to ModelFile
[main] WARN  o.o.c.l.AbstractTypeScriptClientCodegen - File (model name matches existing language type) cannot be used as a model name. Renamed to ModelFile
[main] WARN  o.o.c.l.AbstractTypeScriptClientCodegen - File (model name matches existing language type) cannot be used as a model name. Renamed to ModelFile
[main] WARN  o.o.c.l.AbstractTypeScriptClientCodegen - File (model name matches existing language type) cannot be used as a model name. Renamed to ModelFile
[main] WARN  o.o.c.l.AbstractTypeScriptClientCodegen - File (model name matches existing language type) cannot be used as a model name. Renamed to ModelFile
[main] INFO  o.o.codegen.DefaultGenerator - Model PostFile not generated since it's marked as unused (due to form parameters) and `skipFormModel` (global property) set to true (default)
[main] WARN  o.o.c.l.AbstractTypeScriptClientCodegen - File (model name matches existing language type) cannot be used as a model name. Renamed to ModelFile
[main] WARN  o.o.c.l.AbstractTypeScriptClientCodegen - File (model name matches existing language type) cannot be used as a model name. Renamed to ModelFile
[main] WARN  o.o.c.l.AbstractTypeScriptClientCodegen - File (model name matches existing language type) cannot be used as a model name. Renamed to ModelFile
[main] WARN  o.o.c.l.AbstractTypeScriptClientCodegen - File (model name matches existing language type) cannot be used as a model name. Renamed to ModelFile
[main] WARN  o.o.c.l.AbstractTypeScriptClientCodegen - File (model name matches existing language type) cannot be used as a model name. Renamed to ModelFile
[main] WARN  o.o.c.l.AbstractTypeScriptClientCodegen - File (model name matches existing language type) cannot be used as a model name. Renamed to ModelFile
[main] WARN  o.o.c.l.AbstractTypeScriptClientCodegen - File (model name matches existing language type) cannot be used as a model name. Renamed to ModelFile
[main] WARN  o.o.c.l.AbstractTypeScriptClientCodegen - File (model name matches existing language type) cannot be used as a model name. Renamed to ModelFile
[main] WARN  o.o.c.l.AbstractTypeScriptClientCodegen - File (model name matches existing language type) cannot be used as a model name. Renamed to ModelFile
[main] WARN  o.o.c.l.AbstractTypeScriptClientCodegen - File (model name matches existing language type) cannot be used as a model name. Renamed to ModelFile
[main] WARN  o.o.c.l.AbstractTypeScriptClientCodegen - File (model name matches existing language type) cannot be used as a model name. Renamed to ModelFile
[main] WARN  o.o.c.l.AbstractTypeScriptClientCodegen - File (model name matches existing language type) cannot be used as a model name. Renamed to ModelFile
[main] WARN  o.o.c.l.AbstractTypeScriptClientCodegen - File (model name matches existing language type) cannot be used as a model name. Renamed to ModelFile
[main] WARN  o.o.c.l.AbstractTypeScriptClientCodegen - File (model name matches existing language type) cannot be used as a model name. Renamed to ModelFile
[main] WARN  o.o.codegen.DefaultCodegen - Empty operationId found for path: get /tags/{tagID}. Renamed to auto-generated operationId: tagsTagIDGet
[main] WARN  o.o.codegen.DefaultCodegen - Empty operationId found for path: delete /tags/{tagID}. Renamed to auto-generated operationId: tagsTagIDDelete
[main] INFO  o.o.codegen.TemplateManager - writing file /home/mehm8128/Jomon/Jomon-UI/src/lib/apis/generated/index.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/mehm8128/Jomon/Jomon-UI/src/lib/apis/generated/base.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/mehm8128/Jomon/Jomon-UI/src/lib/apis/generated/common.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/mehm8128/Jomon/Jomon-UI/src/lib/apis/generated/api.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/mehm8128/Jomon/Jomon-UI/src/lib/apis/generated/configuration.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/mehm8128/Jomon/Jomon-UI/src/lib/apis/generated/git_push.sh
[main] INFO  o.o.codegen.TemplateManager - writing file /home/mehm8128/Jomon/Jomon-UI/src/lib/apis/generated/.gitignore
[main] INFO  o.o.codegen.TemplateManager - writing file /home/mehm8128/Jomon/Jomon-UI/src/lib/apis/generated/.npmignore
[main] INFO  o.o.codegen.TemplateManager - Skipped /home/mehm8128/Jomon/Jomon-UI/src/lib/apis/generated/.openapi-generator-ignore (Skipped by supportingFiles options supplied by user.)
[main] INFO  o.o.codegen.TemplateManager - writing file /home/mehm8128/Jomon/Jomon-UI/src/lib/apis/generated/.openapi-generator/VERSION
[main] INFO  o.o.codegen.TemplateManager - writing file /home/mehm8128/Jomon/Jomon-UI/src/lib/apis/generated/.openapi-generator/FILES
################################################################################
# Thanks for using OpenAPI Generator.                                          #
# Please consider donation to help us maintain this project 🙏                 #
# https://opencollective.com/openapi_generator/donate                          #
################################################################################
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants