Hi,
This wonderful product works perfectly on localhost. When I move onto our Linux server my json definition file compiles fine but an error icon appears bottom right - when I click that the following output appears: (Using Swagger V2.0). I have tested the erroneous URL running on Linux from my browser and it works fine (Apache hosts and Tomcat server all fine)
Here's the json source that works:
"host": "localhost:8080/glassfish9",
"schemes": [
"http"
],
"basePath": "/api/v1",
"produces": [
"application/json"
],
Here's the json source that does NOT work:
"host": "as003.allproview.com/glassfish9",
"schemes": [
"https"
],
"basePath": "/api/v1",
"produces": [
"application/json"
],
Here's the generated error message:
[{"level":"error","domain":"validation","keyword":"pattern","message":"ECMA 262 regex \"^[^{}/ :\\\\]+(?::\\d+)?$\" does not match input string \"as003.allproview.com/glassfish9\"","schema":{"loadingURI":"#","pointer":"/properties/host"},"instance":{"pointer":"/host"}}]
Thanks in advance,
Nigel.