acacode / swagger-typescript-api

Generate the API Client for Fetch or Axios from an OpenAPI Specification
MIT License
3.27k stars 354 forks source link

Code formatting broken since 13.0.5 #780

Closed pebo closed 3 months ago

pebo commented 3 months ago

The https://github.com/acacode/swagger-typescript-api/pull/717 PR breaks code formatting if the prettier config file is not located in the current working directory.

From v9.0.0 the cosmiconfig package no longer searches upwards for prettier config by default. To enable the old behavior the searchStrategy global should be used.

NiiMER commented 3 months ago

Any update on this from The @ Contributors ??

NiiMER commented 3 months ago

Would it be ready in the next version @smorimoto ?

smorimoto commented 3 months ago

@pebo @NiiMER https://github.com/acacode/swagger-typescript-api/releases/tag/13.0.10