Generator always fails to find config file on Windows #724
Labels
kind/bug
Feature doesn't work as expected.
status/triage
Collecting information required to triage the issue.
Description
This is due to the code in PluginUtils.swift which uses $0.path.lastComponent to get the filename of files in a FileList (which is SwiftPM package plugin API).
Unfortunately, path.lastComponent is broken on Windows, but there is a functional replacement url.lastComponent in manifest versions 6.0 or later.
When can swift-openapi-generator adopt 6.0 manifest version, or what can we do to resolve this on Windows?
The text was updated successfully, but these errors were encountered: