Did NOT match any operations in the connected OAS2 specifications


(Prabhum) #1

I’m trying to write Contract tests using Stoplight.
I have imported my models through the Modeling section.

Specifically just section of the Model’s Contract Testing specification are matching and for the rest of the API’s im getting this error:

GET {$$.env.host}/organizations/{$.ctx.id}/reports did NOT match any operations in the connected OAS2 specifications.
Although, in my models, there is a specification for the same.

It’s only working for one of the groups, rest it’s not.

Please let me know what this is about.


(Robbins) #2

Hey there,

Removing the backslash (/) from the end of your operations will resolve this issue.

Best,
Rob


(Taylor Barnett) #3

Hey @prabhum, are you still having this issue?


(Taylor Barnett) #4

Hey @prabhum, I’m going to close this soon if we don’t hear back on this issue.


(Taylor Barnett) #5