I'm evaluating swagger and I'm having trouble defining a simple route in my 
app.  It's something like "/x/y" where there requesting "/x" by itself is 
not considered a valid route.   I've been trying the online swagger editor, 
but I can't figure out how to resolve the error:

Schema error at paths./xadditionalProperty "/y" exists in when not allowed
 
# ...
paths:
  /a:
    get:
      summary: Does something
      description: This works
      produces:
        - application/json
      responses:
        200:
          description: OK
        401:
          description: Bad Request
  /x:
    /y:
      get: 
        summary: Swagger is not happy about this route


Can someone point out to me how to define this route?  I've tried many 
variations but nothing seems to work. Thanks!

-- 
Please NOTE: This electronic message, including any attachments, may 
include privileged, confidential and/or inside information owned by Leaf 
Group. Any distribution or use of this communication by anyone other than 
the intended recipient(s) is strictly prohibited and may be unlawful. If 
you are not the intended recipient, please notify the sender by replying to 
this message and then delete it from your system. Thank you.

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