Skip to content
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.

Validate urls with spaces #499

Open
goganchic opened this issue Aug 21, 2017 · 1 comment
Open

Validate urls with spaces #499

goganchic opened this issue Aug 21, 2017 · 1 comment

Comments

@goganchic
Copy link
Contributor

I use such example:

# API name

## Group Users

### Users [GET /hello world]

+ Response 200

I expect to receive a warning or an error about space in url /hello world because url should not contain any spaces, but drafter considers example as correct one.

@goganchic
Copy link
Contributor Author

goganchic commented Aug 21, 2017

https://github.com/apiaryio/drafter/blob/master/test/fixtures/syntax/undisclosed-listitem.apib in this test whole string / GET recognized as url, but as I understand only / is url.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant