Path parameters are always required.

      - name: culture
        in: path
        required: false
        type: string

Is invalid for the spec.

> On Oct 16, 2016, at 11:00 PM, Anirban Das <das.anirba...@gmail.com> wrote:
> 
> I cannot figure out why I am getting this error. I have the same input 
> parameter throughout. Any help would be appreciated.
> 
> Error
>  Object <>
> code: "ONE_OF_MISSING" <>
>  params: Array [0] <>
> message: "Not a valid parameter definition" <>
>  path: Array [5] <>
> 0: "paths" <>
> 1: "/{applicationName}/globalization/resource/{key}/{culture}" <>
> 2: "get" <>
> 3: "parameters" <>
> 4: "2" <>
> schemaId: "http://swagger.io/v2/schema.json#"; <>
>  inner: Array [2] <>
>  0: Object <>
>  1: Object <>
> 
> -- 
> 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 
> <mailto:swagger-swaggersocket+unsubscr...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.
> <YAMLDoc.txt>

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