LisaK2617
2 years agoNew Contributor
SwaggerHub import into ReadyAPI with base domain shared between APIs
We recently updated our SwaggerHub to have a base domain that is shared between our APIs, once we made this change and tried to update/refactor (even tried re-importing) we are unable to import our swagger specs. We have tried download them as well rather than using the URL and we get the same errors.
If we try to update/refactor we see this:
Failed to update the interface: [ groovy.json.JsonException: Unable to determine the current character, it is not a string, number, array, or object
The current character read is '<' with an int value of 60
Unable to determine the current character, it is not a string, number, array, or object
line number 1
index number 0
<!doctype html>
^ ]
If we try to import we see this very helpful error message: