Redocly / swagger-repo

CLI tool to help you manage your OpenAPI(fka Swagger) repo.
MIT License
18 stars 29 forks source link

Dot in filename #19

Open AyWa opened 5 years ago

AyWa commented 5 years ago

Bug description

Seems like . can not be use in PATH.

For example:

But if we want to have users.whatever/{username} I dont know anyway to defined it correctly. If the filename is users.whatever@{username}.yaml it will fail with:

> swagger-repo validate

Validating definition...
Failed OpenAPI3 schema validation:

undefined:
  1) #/ should be object but got undefined