Yes i did,  i solved the problem by adding type:string after 
(required:true) field...let me know if this works for you

On Thursday, February 1, 2018 at 11:25:25 PM UTC+1, Remi Adebayo wrote:
>
> been getting this error
> Schema error at paths['/homepage/postreview'].post.parameters[0].inshould be 
> equal to one of the allowed values
> allowedValues: body
> Jump to line 71
> Schema error at paths['/homepage/postreview'].post.parameters[0]should NOT 
> have additional properties
> additionalProperty: in, name, description, required
> Jump to line 71
>
> this is my code
>
>  /homepage/postreview:
>     post:
>       tags:
>       - "homepage"
>       summary: "to post review"
>       description: "comment your review"
>       operationId: "postReview"
>       consumes:
>       - "application/json"
>       produces:
>       - "application/json"
>       parameters:                                  line 71
>       - in: "query"
>         name: "review"
>         description: "enter your review"
>         required: true
>       responses:
>         403:
>           description: "cannot post a blank review"
>
>

-- 
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.

Reply via email to