traPtitech / Jomon

Account Support System for traP
7 stars 3 forks source link

openapiのwarn #728

Open mehm8128 opened 8 months ago

mehm8128 commented 8 months ago

https://github.com/traPtitech/Jomon/issues/726File以外に見逃してたところがあった 他の命名と合うような感じでoperationIdをつけたい

[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
H1rono commented 1 week ago

https://github.com/traPtitech/Jomon/blob/444568f7d797d6976b03d238d91a9960a178f1df/docs/swagger.yaml#L392-L435

operationIdが(descriptionと同じレベルに)指定されていないのが原因なので、適切なoperationIdを設定する だけ