Hi
I have created a class as you mentioned and implemented doFilter method,
but this method is not invoking while server starts.
I have added the below config in web.xml
apidoc-config
com.test.servlet.SwaggerConfigFilter
apidoc-config
/api-docs/*
and
On Tuesday, Ap
At this point, I’d ask that you provide a sample app that reproduces it – would
be difficult to try and debug it otherwise.
From: on behalf of janet vanderpuye
Reply-To: "swagger-swaggersocket@googlegroups.com"
Date: Tuesday, 27 December 2016 at 14:36
To: Swagger
Subject: Re: Cant
Yeah, that is what I have now. I have commented out the part where I use
the multipackages. When I use one package, it partially works. I get only
the data within the @Info annotations but nothing from the @API annotations.
On Tuesday, 27 December 2016 17:05:29 UTC-5, Ron wrote:
>
> For the ‘res
For the ‘resource scanning’ that is.
From: on behalf of Ron Ratovsky
Reply-To: "swagger-swaggersocket@googlegroups.com"
Date: Tuesday, 27 December 2016 at 14:04
To: "swagger-swaggersocket@googlegroups.com"
Subject: Re: Cant locate swagger.json on java + embedded jetty + httpservlet +
Okay, since you mentioned using two packages isn’t working, what happens if you
only set com.coreservices.servlet for the resource packing?
From: on behalf of janet vanderpuye
Reply-To: "swagger-swaggersocket@googlegroups.com"
Date: Tuesday, 27 December 2016 at 13:06
To: Swagger
Su
Maybe. Here is what I have so far.
Main.java
import org.eclipse.jetty.server.Server;
import org.eclipse.jetty.servlet.ServletContextHandler;
import org.eclipse.jetty.servlet.ServletHolder;
import io.swagger.servlet.listing.ApiDeclarationServlet;
import io.swagger.servlet.config.DefaultServletConfi
yes, you're correct.
On Friday, December 23, 2016 at 3:06:03 PM UTC+13, Ron wrote:
>
> The default value is irrelevant. It’s up to the tool to know which value
> fits to the situation, and the maven plugin doesn’t translate it correctly.
>
>
>
>
>
>
>
> *From: *> on behalf of Vic <
> vic.l
Which version of swagger-core do you use?
What URL do you use to access your API?
The swagger.json?
From: on behalf of Dali
Reply-To: "swagger-swaggersocket@googlegroups.com"
Date: Tuesday, 27 December 2016 at 10:16
To: Swagger
Subject: Can't get swagger.json
Hello,
I tri
Hello,
I tried to integrate swagger on java + embedded jetty project but i can't
get swagger.json file.
I'm always getting 404 not found error on any path combination.
I think swagger is not scanning my packages !?!
Main.java
public class ApiServer {
public static void main(String[] args
The web.xml is not the only way to configure it, and I think you’ve went with
different approach(es). What did you end up using?
From: on behalf of janet vanderpuye
Reply-To: "swagger-swaggersocket@googlegroups.com"
Date: Tuesday, 27 December 2016 at 8:21
To: Swagger
Subject: Re: C
You would need to check Swashbuckle’s documentation, and if it’s not there,
open a ticket on their project.
From: on behalf of Tony K
Reply-To: "swagger-swaggersocket@googlegroups.com"
Date: Tuesday, 27 December 2016 at 4:33
To: Swagger
Subject: Re: MVC basePAth
i have download
Hi,
thanks for the feedback. I will create the ticket for the multiple
packages. I did look at the servlet sample you linked here. I followed that
example and updated to the latest code i posted above. The only difference
now between my implemetation and that sample was I did not use a web.xml
i have downloaded the latest version of swashbuckle from nuget .
I am currently working on SwaggerConfig.cs on app_start.
On Friday, December 23, 2016 at 5:07:47 PM UTC+2, Ron wrote:
>
> Okay, and what do you use for Swagger?
>
>
>
>
>
>
>
> *From: *> on behalf of Tony
> K >
> *Reply-To:
13 matches
Mail list logo