Also I found on Swagger UI when executing an API call on my resource it 
leaves out a part of the path for some reason. Maybe that is what causing 
the above error? 

Request URL generated by swagger 
UI: http://localhost:8008/test/getValues/pathParam
What the Request URL supposed to look 
like: http://localhost:8008/org/rest/swagger/test/getValues/pathParam

>From what i understand this is the suppose to be the basePath 
:org/rest/swagger right?

On Wednesday, March 8, 2017 at 6:26:10 PM UTC+2, Ron wrote:
>
> We’d need to know the version of swagger-ui you’re using and a spec that 
> reproduces the problem.
>
>  
>
>  
>
> *From: *<[email protected] <javascript:>> on behalf of "
> [email protected] <javascript:>" <[email protected] <javascript:>>
> *Reply-To: *"[email protected] <javascript:>" <
> [email protected] <javascript:>>
> *Date: *Wednesday, 8 March 2017 at 5:34
> *To: *Swagger <[email protected] <javascript:>>
> *Subject: *Swagger-ui does not use the right produces consumes 
> application/json
>
>  
>
> Hi there, 
>
>  
>
> My Swagger UI used to do the API calls correctly, but for some reason now 
> its returning server can't produce text/html. the curl command produced by 
> swagger is: curl -X GET --header 'Accept: text/html' --header 
> 'Authorization: Basic XXXXXXX' '
> http://localhost:8008/test/getValues/pathParam'
>
>  
>
> Thanks in advance!
>
> -- 
> 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.

Reply via email to