warning 'Unnecessary type declaration' from `openapi/warnings`
Ilchuk-Mihail opened this issue · 4 comments
Ilchuk-Mihail commented
I have warning message 'Unnecessary type declaration' when I use:
@paramComponent {ExampleParameter}
and @bodyComponent
What does it mean and how to fix it ?
bourdakos1 commented
I don’t think this warning is coming from openapi-comment-parser. This sounds like a typescript or eslint warning
Ilchuk-Mihail commented
bourdakos1 commented
Oh yea looks like a bug with the eslint plugin. Does it generate the correct openapi spec?
Ilchuk-Mihail commented
Yes, spec is correct. (only warning shows up)