fern-api / fern

Input OpenAPI. Output SDKs and Docs.
https://buildwithfern.com
Apache License 2.0
2.6k stars 139 forks source link

[Bug] local generate and token #3790

Closed Amenocy closed 1 month ago

Amenocy commented 3 months ago

Describe the bug

since local docker-based generation, doesn't need Token,

in packages/cli/cli/src/commands/generate/generateAPIWorkspaces.ts , generation type should be checked to throw askToLogin error. unless you want to force users to work with Github! or give their repo access to Fern in any case!

Amenocy commented 3 months ago

there is a PR regarding this problem : https://github.com/fern-api/fern/pull/2551

dsinghvi commented 1 month ago

Fixed here https://github.com/fern-api/fern/pull/4239