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

Dredd fails silently when blueprint is malformed #261

Closed
icambridge opened this issue Aug 20, 2015 · 3 comments
Closed

Dredd fails silently when blueprint is malformed #261

icambridge opened this issue Aug 20, 2015 · 3 comments

Comments

@icambridge
Copy link

# User Authentication [GET v6/auth]

Logins an a user and gives them an accesss token

+ Request (application/json)

        {
            "username": "[email protected]",
            "password": "test"
        }

+ Response 200 (application/json)

        {
            "access_token": "RandomStringForAuth"
        }

Will not get parsed as a test and this fails silently so you don't know why. Where it's clearly the lack of a in the URL. Took me a while to find out the issue.

@w-vi w-vi added the bug label Sep 1, 2015
@w-vi
Copy link
Contributor

w-vi commented Sep 1, 2015

Hi @icambridge thanks for the report, we'll have a look into this. Cheers.

@honzajavorek
Copy link
Contributor

Thanks for the report! I think this should be handled by the API Blueprint parser, Drafter. IMHO similar issue to apiaryio/drafter#350. I'll file a corresponding issue there.

@honzajavorek
Copy link
Contributor

I'd say this has been resolved - apiaryio/drafter#350 (comment) Please report back if it's not the case.

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

No branches or pull requests

3 participants