Closed hummelfe94 closed 2 years ago
This also happens with Twilio's OpenAPI spec: https://raw.githubusercontent.com/twilio/twilio-oai/main/spec/json/twilio_api_v2010.json
Unable to load API spec, Unable to load RELATIVE ref: api.v2010.account.available_phone_number_country.available_phone_number_local_capabilities*
This has now been fixed in the SNAPSHOT version which will be released in the next couple of weeks so closing here.
Describe the issue MockServer fails to load OpenAPI spec because it can't resolve $ref to array type in openApi-Spec.
What you are trying to do Create mockserver and do some verification as describe in https://mock-server.com/mock_server/verification.html ("verify requests received at exactly once by openapi and operation")
MockServer version testImplementation group: 'org.mock-server', name: 'mockserver-junit-jupiter', version: '5.11.2' testImplementation group: 'com.github.java-json-tools', name: 'json-schema-validator', version: '2.0.4'
To Reproduce Steps to reproduce the issue:
Expected behaviour The openApi file is loaded without any errors.
MockServer Log
Problem is that the array reference is not resolved correctly:
Excerpt of my openApi-File is below in the .zip file