I mean is there a way to customize the requestMapping Url, so it is editable instead of label, so ** can be replaced with actual path. Or is there any suggestion on how to have it work for "try it out" sandbox testing? or is it possible to customize to make it work for testing?
Thanks Yvonne On Thursday, July 7, 2016 at 10:36:46 AM UTC-7, tony tam wrote: > > What do you mean? > > On Jul 6, 2016, at 3:05 PM, [email protected] <javascript:> wrote: > > Tony, > > > Is there a way we can make the url editable? so the actual content can be > typed in, does that make sense? > > thanks > > > > On Monday, June 27, 2016 at 12:21:37 PM UTC-7, tony tam wrote: >> >> Hi, the splat parameter (** in your case) is not supported in the >> specification and therefore not supported in swagger-ui. >> >> On Jun 17, 2016, at 2:54 PM, Genneva Wang <[email protected]> wrote: >> >> >> For example, one of out restful requestmap url is /test/docs/**, so this >> restful URL can take anything including "/p1/p2/test.file >> >> So on swagger UI, it is showing >> >> DELETE >> <http://localhost:8080/swagger-ui.html#!/document-controller/deleteFileUsingDELETE> >> /test/docs/** >> <http://localhost:8080/swagger-ui.html#!/document-controller/deleteFileUsingDELETE> >> >> but I can not replace ** with real content such as p1/p2/test.text >> >> Following code is used to enable Swagger >> >> @Bean >> >> public Docket apiServerApi() { >> >> return new Docket(DocumentationType.SWAGGER_2) >> >> .groupName("meta-api") >> >> .apiInfo(apiInfo()) >> >> .genericModelSubstitutes(ResponseEntity.class) >> >> .select() >> >> .apis(RequestHandlerSelectors.any()) >> >> .paths(not(regex("/error/.*"))) >> >> .build(); >> >> } >> >> >> >> On Thursday, June 16, 2016 at 6:32:23 PM UTC-7, tony tam wrote: >>> >>> Can you please share some details? >>> >>> On Jun 16, 2016, at 5:01 PM, Genneva Wang <[email protected]> wrote: >>> >>> hi Swagger experts, >>> >>> One of our example request mapping looks like /test/docs/**, with the >>> **, this would not work on swagger UI. Is there any options that the >>> request mapping can be modified ? Thank you very for your help. >>> >>> Regards, >>> -Genneva >>> >>> -- >>> 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 [email protected]. >>> 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 [email protected]. >> 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 [email protected] <javascript:>. > 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
