Redocly / redocly-cli

⚒️ Redocly CLI makes OpenAPI easy. Lint/validate to any standard, generate beautiful docs, and more.
https://redocly.com/docs/cli/
MIT License
952 stars 149 forks source link

deprecate `preview-docs` command #1805

Closed adamaltman closed 6 days ago

adamaltman commented 6 days ago

Describe the bug

The preview-docs command works with the community edition only. I've tried to login and am able to do that successfully, but the preview-docs continues to use the community edition:

Image

To Reproduce Steps to reproduce the behavior:

  1. Given any OpenAPI and redocly.yaml file
  2. Use the login command
  3. Use the preview-docs command and visit the localhost address given
  4. See community edition

Expected behavior

I think this should probably be marked as deprecated rather than fixed. But either way there is a bug to fix or docs to fix.

Logs

n/a

OpenAPI description

n/a (I used the museum API for this test)

Redocly Version(s)

"latest" (1.25.11)

Node.js Version(s)

20.4.0

OS, environment

Mac OS

Additional context

n/a

tatomyr commented 6 days ago

I see this happened in v1.23.0.