Forum Discussion

alexbecker's avatar
alexbecker
New Contributor
6 years ago
Solved

Mock API generation failing with unhelpful error message

I'm trying to get the SwaggerHub API Auto Mocking integration to work, but the integration keeps failing with "Could not generate API mock. Please make sure the API definition is valid.". As far as I can tell the definition is valid OpenAPI 3.0, and the UI shows no errors. I've tried without success to find documenation for what JSON-SCHEMA features Auto Mocking supports and does not.

 

I've shared my API with the swaggerhub-support user, can you please take a look and determine what is causing the mock generation to fail?