tazatechnology / openapi_spec

Dart based OpenAPI specification generator and parser
BSD 3-Clause "New" or "Revised" License
8 stars 5 forks source link

copying swagger-ui fails on Windows #69

Open swavkulinski opened 4 months ago

swavkulinski commented 4 months ago

Running on Windows 11, in cmd or Powershell

Version 0.7.16 and 0.7.19

log prints out error and continues

Notice source path is prefixed with /

ProcessException: The system cannot find the file specified.

  Command: cp -r /C:/Users/[redacted]/AppData/Local/Pub/Cache/hosted/pub.dev/openapi_spec-0.7.19/lib/static/swagger-ui C:\Users\[redacted]\api_server_v3.5.0\open_api

Looks like Isolate.resolvePackageUri() is the problem