Hi, looks to me like you’re trying to use a splat parameter which isn’t
supported by the specification. If you’re actually trying to pass a single
value to the API, consider this instead:
> value = “v1/{something}"
> On Jun 8, 2017, at 5:37 PM, Maneesh Bhunwal <[email protected]> wrote:
>
> Hi All,
>
> We have an api which looks like
>
> host/v1/<some long path here like /cars/audi/engine>
>
> To accomplish this we use
>
> @RequestMapping(value = "v1/**", method = RequestMethod.GET, produces =
> MediaType.APPLICATION_JSON_VALUE)
> public ResponseEntity<Content> getInfo(HttpServletRequest
> httpServletRequest)
>
> Now from httpServletRequest we get the path after v1/
>
> But in swagger documentation it is not giving me option of entering anything,
> is there any workaround?
>
> Thanks
> Maneesh
>
> --
> 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]
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout
> <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.