SmartBear-DevRel/explore-cli

Special Characters in Inspector Collection Names causes import failure

Closed this issue · 1 comments

SwaggerHub Explore has a stricter validation on space names compared to Swagger Inspector. As a result if an inspector collection name contains a string not allowed by Explore, then POST request to create a space fails with a bad request. The result is that the collection is skipped.

Allowed Explore Characters:

  • Alphanumeric
  • periods, hyphens, underscores

Failing example

  • Collection name: Joe's APIs

Once available on Nuget, install the 0.2.0 version:

new installs:
dotnet tool install --global Explore.Cli --version 0.2.0

update existing:
dotnet tool update --global Explore.Cli --version 0.2.0