{"action":"closed","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-editor/issues/1512","repository_url":"https://api.github.com/repos/swagger-api/swagger-editor","labels_url":"https://api.github.com/repos/swagger-api/swagger-editor/issues/1512/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-editor/issues/1512/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-editor/issues/1512/events","html_url":"https://github.com/swagger-api/swagger-editor/issues/1512","id":261073835,"number":1512,"title":"using openapi 3.0 and getting errors with valid yaml","user":{"login":"andynuss","id":2286294,"avatar_url":"https://avatars1.githubusercontent.com/u/2286294?v=4","gravatar_id":"","url":"https://api.github.com/users/andynuss","html_url":"https://github.com/andynuss","followers_url":"https://api.github.com/users/andynuss/followers","following_url":"https://api.github.com/users/andynuss/following{/other_user}","gists_url":"https://api.github.com/users/andynuss/gists{/gist_id}","starred_url":"https://api.github.com/users/andynuss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andynuss/subscriptions","organizations_url":"https://api.github.com/users/andynuss/orgs","repos_url":"https://api.github.com/users/andynuss/repos","events_url":"https://api.github.com/users/andynuss/events{/privacy}","received_events_url":"https://api.github.com/users/andynuss/received_events","type":"User","site_admin":false},"labels":[{"id":578350109,"url":"https://api.github.com/repos/swagger-api/swagger-editor/labels/Support","name":"Support","color":"c5def5","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-09-27T18:28:31Z","updated_at":"2017-10-02T17:26:45Z","closed_at":"2017-10-02T17:26:45Z","author_association":"NONE","body":"Using deepObjects for POST query params that Swagger 2.0 did not support.  But can't make sense of the errors.\r\n\r\nHere's the yaml:\r\n\r\n    openapi: 3.0.0\r\n    info:\r\n      version: \"1.0.0-oas3\"\r\n      title: Stagirite Scheduler\r\n    paths:\r\n      /lycronjobservlet/create:\r\n        post:\r\n          consumes:\r\n            - application/x-www-form-urlencoded\r\n          produces:\r\n            - application/json\r\n          parameters:\r\n            - in: query\r\n              name: identity\r\n              description: cognito identity of the user\r\n              required: true\r\n              type: string\r\n            - in: query\r\n              name: params\r\n              description: the stringified json version of the params\r\n              required: true\r\n              schema:\r\n                $ref: '#/definitions/CreateParams'\r\n              style: deepObject\r\n              explode: true\r\n          responses:\r\n            '200':\r\n              description: >-\r\n                operation is always successful but response contains success or\r\n                error data\r\n              schema:\r\n                $ref: '#/definitions/CreateUpdateResponse'\r\n    definitions:\r\n      CronMeta:\r\n        type: object\r\n        properties:\r\n          id:\r\n            type: string\r\n          name:\r\n            type: string\r\n          expressions:\r\n            type: array\r\n            items:\r\n              type: string\r\n          urls:\r\n            type: array\r\n            items:\r\n              type: string\r\n          numUrls:\r\n            type: integer\r\n            format: int32\r\n          startAt:\r\n            type: integer\r\n            format: int64\r\n          endAt:\r\n            type: integer\r\n            format: int64\r\n          isPaused:\r\n            type: boolean\r\n          lastJobId:\r\n            type: string\r\n          misfireError:\r\n            type: string\r\n          numFinished:\r\n            type: integer\r\n            format: int32\r\n          numFailed:\r\n            type: integer\r\n            format: int32\r\n          isRunning:\r\n            type: boolean\r\n          fireAt:\r\n            type: integer\r\n            format: int64\r\n      CreateParams:\r\n        type: object\r\n        required:\r\n          - expressions\r\n          - urls\r\n        properties:\r\n          name:\r\n            type: string\r\n          expressions:\r\n            type: array\r\n            items:\r\n              type: string\r\n          urls:\r\n            type: array\r\n            items:\r\n              type: string\r\n          startAt:\r\n            type: integer\r\n            format: int64\r\n          endAt:\r\n            type: integer\r\n            format: int64\r\n          isPaused:\r\n            type: boolean\r\n      ResponseFailure:\r\n        type: object\r\n        required: null\r\n        properties:\r\n          exception:\r\n            type: object\r\n            properties:\r\n              name:\r\n                type: string\r\n              message:\r\n                type: string\r\n              trace:\r\n                type: string\r\n          error:\r\n            type: object\r\n            properties:\r\n              type:\r\n                type: string\r\n              message:\r\n                type: string\r\n              trace:\r\n                type: string\r\n      CreateUpdateResponse:\r\n        type: object\r\n        required:\r\n          - isError\r\n        properties:\r\n          isError:\r\n            type: boolean\r\n          failure:\r\n            $ref: '#/definitions/ResponseFailure'\r\n          resultData:\r\n            $ref: '#/definitions/CronMeta'\r\n\r\nHere's the errors:\r\nErrors\r\n\r\nSchema error \r\nshould NOT have additional properties\r\nadditionalProperty: definitions\r\nJump to line 0\r\nSchema error at paths['/lycronjobservlet/create'].post\r\nshould NOT have additional properties\r\nadditionalProperty: consumes, produces\r\nJump to line 7\r\nSchema error at paths['/lycronjobservlet/create'].post.parameters[0]\r\nshould NOT have additional properties\r\nadditionalProperty: type\r\nJump to line 13\r\nSchema error at paths['/lycronjobservlet/create'].post.parameters[0].in\r\nshould be equal to one of the allowed values\r\nallowedValues: path, header, cookie\r\nJump to line 13\r\nSchema error at paths['/lycronjobservlet/create'].post.responses['200']\r\nshould NOT have additional properties\r\nadditionalProperty: schema\r\nJump to line 27\r\nSchema error at paths['/lycronjobservlet/create'].post.responses['200']\r\nshould have required property '$ref'\r\nmissingProperty: $ref\r\nJump to line 27\r\nSchema error at paths['/lycronjobservlet/create'].post.responses['200']\r\nshould match exactly one schema in oneOf\r\nJump to line 27\r\n\r\n"}}
{"actor":{"display_login":"shockey"}}