Skip to content

[QuickStart] Old command syntax still shown if validation fails #229

@mrafnadeem-apimatic

Description

@mrafnadeem-apimatic

It says auth:login instead of auth login. Version: @apimatic/cli/1.1.0-beta.2 win32-x64 node-v22.20.0

PowerShell 7.5.4
PS C:\Users\mrafn\Downloads\example-portal> apimatic quickstart
┌   Quickstart
│
●  Welcome to the APIMatic quickstart wizard.
│
│  This wizard will guide you through creating your first SDK or API Documentation Portal in just four easy steps.
│  Let's get started!
│
◇  What would you like to create?
│  API Documentation Portal
│
●  Step 1 of 4: Import your OpenAPI Definition
│
◇  Provide a local path or a public URL for your OpenAPI Definition file:
│  https://raw.githubusercontent.com/apimatic/sample-docs-as-code-portal/refs/heads/master/src/spec/openapi.json
│
◇  API Definition downloaded
│
●  Step 2 of 4: Validate and Lint your OpenAPI Definition
│
■  API validation failed
│
■  You are not authorized to perform this action. Please run 'auth:login' or provide a valid auth key.
│
■  Oops, it looks like there are some errors in your API Definition
│
■  How would you like to proceed?
│  1. Fix the issues using APIMatic's interactive VS Code Extension:
https://marketplace.visualstudio.com/items?itemName=apimatic-developers.apimatic-for-vscode
│
│
●  Good luck fixing your API Definition! Feel free to run this command again once you're done.
│
└   Cancelled

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions