Error while using array in Post specification

2018-04-17 Thread Kreative76
Within a post API, I have following array specifications { "name": "Phone", "in": "formData", "description": "List of Phone object", "schema": { "type": "array", "items": { "$ref": "#/definitions/postedPhone"

Re: unable to add servers object in Swagger editor

2018-04-17 Thread Craig Menard
Got it. I didn't have openapi: '3.0.0' at the top of my spec. Thanks! On Tuesday, April 17, 2018 at 11:52:38 AM UTC-4, Craig Menard wrote: > > Hi Everyone, > > I tried searching for this already, but gave up after so many hits, so > apologies is this is already answered. I'm working in the new o

unable to add servers object in Swagger editor

2018-04-17 Thread Craig Menard
Hi Everyone, I tried searching for this already, but gave up after so many hits, so apologies is this is already answered. I'm working in the new online Swagger editor https://editor.swagger.io/ and I can't seem to be able to add a servers object though it is clearl