-
-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
asyncapi start studio
is not consistent with other commands
#1623
Comments
Please assign me this issue. I am working on this. |
assign me this issue please |
@derberg by default studio opens with a file Streetlights Kafka API 1.0.0 show when user runs asyncapi start studio the same file should be open ? If we wont specify anything then following error will displayed in studio. |
you mean when you run |
Yes @derberg |
hmm interesting, as I'm getting an error as described in description 🤔 |
@derberg
Additionally, we can provide a CLI hint guiding users on how to open a specific document: This approach ensures a smooth onboarding experience by providing users with an immediate starting point while also educating them on how to load their own specifications. Visuals of AsyncAPI Studio |
@SahilDahekar I was working on this issue and discussing possibilities with @derberg. It is not confirmed yet, this was my suggestion. |
@Adi-204 hint for future - if you discuss the scope, this means your PR is not yet ready, then create it as a draft - GH supports such type of PRs
|
@derberg please provide feedback on PR changes and any suggestions from your side. |
To start studio with
asyncapi start studio
you need to specify path to AsyncAPI document.Assumption, my document location is
./asyncapi-client.yaml
.With all other CLI commands, you just provide the path:
asyncapi validate ./asyncapi-client.yaml
asyncapi format ./asyncapi-client.yaml
asyncapi pretty ./asyncapi-client.yaml
Now, in case of Studio, you need to do:
asyncapi start studio -f ./asyncapi-client.yaml
And when you execute
asyncapi start studio
without pointing file, you get generic error that is not true:Fix suggestion
-f
flag fromasyncapi start studio
and make it work like in other commandsThe text was updated successfully, but these errors were encountered: