Re: Swagger, Chrome, IE
On Wednesday, September 13, 2017 at 12:43:32 PM UTC-4, Ron wrote: > > You’re referring to http://editor.swagger.io? 2.0 > > > > Which version of Chrome, Firefox and IE? Chrome: 60.0.3112.113. Firefox: > 54.0.1. > IE:11.0.9600 > > Which version of windows? 7 > Thanks. > > > > > > > *From: *on behalf of > Muhammed Oladipupo Elegbede > *Reply-To: *"swagger-sw...@googlegroups.com " < > swagger-sw...@googlegroups.com > > *Date: *Wednesday, September 13, 2017 at 19:25 > *To: *Swagger > *Subject: *Swagger, Chrome, IE > > > > I just edited my YAML file using the online editor. > > While my editing is already done, the UI on the right side does not > reflect my changes. > > This is happening on Chrome. > > I have cleared my cache in order to start afresh but my current screen > keeps coming back and the UI still wont reflect those changes. > > I tried with Firefox and it worked. > > > > On IE, once the execute button is clicked, it loads forever. > > > > Is there any insight into this please? > > > > Thanks. > > -- > 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-swaggersocket+unsubscr...@googlegroups.com . > For more options, visit https://groups.google.com/d/optout. > > -- 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-swaggersocket+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Swagger 2.0 TypeError: NetworkError when attempting to fetch resource.
Hi all, I have successfully written my documentation both online and locally on my machine. When I do a try it out to test the API, it generates the right curl syntax. When I run this curl locally on my machine, everything works fine and the desired result comes through. However on the swagger documentation interface, it returns: *TypeError: NetworkError when attempting to fetch resource.** and the status code stands at:401 UNAUTHORIZED* I would appreciate any pointer as to what could be wrong. I am struggling with this badly. Thanks. -- 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-swaggersocket+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Schema error
I am working on a quandl api. when imported the api loads and is automatically shows the following errors. Any suggestions. I googled the problem but ones I encountered are from creating the api from scatch requiring a path parameter. ErrorsHide Schema error should NOT have additional properties additionalProperty: dataset Jump to line 0 Schema error should have required property 'info' missingProperty: info Jump to line 0 Schema error should have required property 'paths' missingProperty: paths Jump to line 0 -- 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-swaggersocket+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Schema error
I am attaching the code On Thursday, September 14, 2017 at 3:20:54 PM UTC-4, Olympacs wrote: > > I am working on an existing api. Once it loads it shows a set of errors. I > googled online but found similar errors when creating api's from scratch > when you require path parameters. Please advise. > > ErrorsHide > Schema error should NOT have additional properties > additionalProperty: dataset > Jump to line 0 > Schema error should have required property 'info' > missingProperty: info > Jump to line 0 > Schema error should have required property 'paths' > missingProperty: paths > Jump to line 0 > > -- 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-swaggersocket+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Upgrade from Swagger UI 2.x to 3.x
Hi team, We're planning to upgrade API Swagger UI change from 2.x to 3.x. In the process, I have a couple of qns, appreciate your guidance: - what do we need to check from an engn standpoint to check if there are any issues with the upgrade ? - are there breaking changes from 2.x to 3.x from swagger side ? - what the typical upgrade problems are ? - what are the differences between the two versions ? Thank you! Amanda -- 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-swaggersocket+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: java.lang.NoSuchMethodError: com.fasterxml.jackson.databind.AnnotationIntrospector.findPropertyDesc
I got the same exception but for a different method in the same class, ...AnnotatedMember.annotations() maven dependency for *jackson-databind* version 2.9.0.pr3 - changed to *2.9.1* .*Issue resolved* On Thursday, 3 March 2016 04:12:31 UTC+5:30, Sudhakar Betha wrote: > > I have an existing Rest API to which when I add swagger Annotation, the > swagger.json generated throws error > > javax.servlet.ServletException: > org.glassfish.jersey.server.ContainerException: java.lang.NoSuchMethodError: > com.fasterxml.jackson.databind.AnnotationIntrospector.findPropertyDescription(Lcom/fasterxml/jackson/databind/introspect/Annotated;)Ljava/lang/String; > org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:485) > > org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:386) > > org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:334) > > org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:221) > org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) > > > > I am using tomcat and I have jersey2 with jackson 2.7.2 > > > My pom.xml is > > > >com.fasterxml.jackson.jaxrs >jackson-jaxrs-json-provider >2.7.2 > > > >com.fasterxml.jackson.core >jackson-core >2.7.2 > > >com.fasterxml.jackson.core >jackson-databind >2.7.2 > > >com.fasterxml.jackson.core >jackson-annotations >2.7.2 > > > > My web.xml is > > > > Jersey Web Application > > org.glassfish.jersey.servlet.ServletContainer > > jersey.config.server.provider.packages > > io.swagger.jaxrs.listing,org.sudhakar,com.oracle.cloud9.sdi,com.jersey.jaxb,com.fasterxml.jackson.jaxrs,com.fasterxml.jackson.databind > > 1 > > > Jersey2Config > io.swagger.jersey.config.JerseyJaxrsConfig > > api.version > 1.0.0 > > > swagger.api.basepath > http://localhost:8080/cloud > > 2 > > > Jersey Web Application > /api/* > > > > My Api is > > > > @Path("hello") > @Api(value="Hello", description="Interacting with Hello resource") > public class HelloResource{ > > > @POST > @Produces(MediaType.APPLICATION_JSON) > @Consumes(MediaType.APPLICATION_JSON) > public String getVersion() throws RemoteException { > . > return version; > } > > > > Why is it that Jersey2 with Jackson 2.7.2 still throws > java.lang.NoSuchMethodError > for > > com.fasterxml.jackson.databind.AnnotationIntrospector.findPropertyDescription > > I see the doc and its available 2.3 > > > Can someone please help ? > > > Thanks, > > Sudhakar > > -- 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-swaggersocket+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
@apimodelproperty swagger
Hi , I change the swagger schema to make @apimodelproperty with description required. please help me to modify the schema. Thanks -Viswa -- 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-swaggersocket+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.