I am doing a Swagger import and getting the following error:
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
The Swagger URL comes up fine in a browser http://localhost:8081/swagger-ui.html but I get the error (see attached screenshots).
I appreciate any help. I've looked in the board and haven't found any discussion of this.
I've had something very similar, reported to the helpdesk and the issue has been replicated, waiting on a fix, I'll update this post when I hear back from SB
ok so it turns out that my JSON file needed to be saved in UTF-8 encoding as opposed to the UTF-8-BOM it was originally in, so worth remembering that one, imported without any apparent errors
still have issues with using the html variant but one step closer
from SB regarding the html file
"That is the Swagger documentation and not the Swagger spec file, the Swagger spec file is what we support for importing into Ready API. The Swagger specification only comes in two formats to use, JSON or YAML. We support both JSON and YAML."