Think I have a misunderstanding trying to test an external spec #193
Unanswered
jameswagoner
asked this question in
Q&A
Replies: 1 comment
|
@jameswagoner Interesting use-case. As far as I understand, you would like to test if your HTTP call like Http::post('https://twilio.url/api/route', $params);is correct accordingly to the openapi, right ? Actually, this is not possible with Spectator. Its goal is to verify if your Laravel API respects the openapi definition. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I would like to test against Twilio's open api spec. Least that is what I think I want to do.
Currently I am stuck getting 404s for any type of request I make and the messages looks like its complaining that a laravel route cannot be found. Is that what I am missing in all this? You must actually have routes in your laravel app when using
Spectator::using()?If that is the case, is what I want to do possible? I don't want to actually send a text message in my tests, just want to know if what payload is valid.
All reactions