Swagger v1.2 is not allowing for ipv6 hosts

55 views
Skip to first unread message

Mohammad Riyazuddin

unread,
Jul 14, 2016, 3:57:26 PM7/14/16
to Swagger
Hi, 
Currently we are migrating from ipv4 to ipv6 , we are in process of using swagger in ipv6 hosts, looks like swagger 1.2V is not recognizing ipv6 hosts. Can anyone please suggest what is the work around for this ?


Ron Ratovsky

unread,
Jul 14, 2016, 7:34:29 PM7/14/16
to swagger-sw...@googlegroups.com

Where do you experience the problem?

--
You received this message because you are subscribed to the Google Groups "Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swagger-swaggers...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mohammad Riyazuddin

unread,
Jul 15, 2016, 12:43:13 AM7/15/16
to Swagger

We are using Apache-Karaf-Beryllium-SR2 for our OSGI projects, and Apache Karaf has inbuilt support for Swagger v1.2, As we are trying to access the rest conf through IPV6 url in IPV6 machine  , 


Sample url format : http://[hd18:695c:f038:2:a25:27ff:fe16:b22c]:8181/apidoc/explorer/index.html

we were facing the issue as 'Can\'t read swagger JSON from "http://.."' even if the json is available .

We did not face this issue in IPV4 

Mohammad Riyazuddin

unread,
Jul 15, 2016, 12:45:54 AM7/15/16
to Swagger
Small Correction, we have Swagger v1.2 embedded in OpenDayLight, Not in Apache Karaf

Ron Ratovsky

unread,
Jul 15, 2016, 2:14:43 PM7/15/16
to swagger-sw...@googlegroups.com

I’m just really not sure what you mean by ‘swagger is not recognizing ipv6 hosts’. Swagger is the name of the spec, or the set of tools, but it’s not a specific tool.

Please describe what it is exactly that you’re doing, which libraries and versions, and where exactly it fails.

--

Reply all
Reply to author
Forward
0 new messages