-
Notifications
You must be signed in to change notification settings - Fork 458
Remove unused swagger definitions #1805
Comments
@MaciejBaj These definitions are used in our application but not in the HTTP API endpoints. Keep them for now, later we will refactor the swagger definition to decompose it to individual definition file then this warning will automatically be removed. |
It still looks bad in logs. It will be solved as introduced in 1.0.0 release. |
This issue is caused due to Specially line: I don't feel maintaining a fork for this issue is a good idea. We will take care of this issue along with #2146 |
Removing the definition not directly used in API, which actually should not be part of API doc, should solve this problem. |
Those definitions will not be referenced in the API when we will upgrade the Swagger to 3.0 |
@diego-G The issue can be started when the PR apigee-127/swagger-node-runner#134 is merged and released. Until then please move this issue to some other release. |
As of [email protected], this was addressed |
Expected behavior
Unused definitions are removed.
Actual behavior
Every time node start the warning is being shown:
Steps to reproduce
Start lisk-core.
Which version(s) does this affect? (Environment, OS, etc...)
1.0.0
The text was updated successfully, but these errors were encountered: