{"action":"created","issue":{"url":"https://api.github.com/repos/RSuter/NSwag/issues/945","repository_url":"https://api.github.com/repos/RSuter/NSwag","labels_url":"https://api.github.com/repos/RSuter/NSwag/issues/945/labels{/name}","comments_url":"https://api.github.com/repos/RSuter/NSwag/issues/945/comments","events_url":"https://api.github.com/repos/RSuter/NSwag/issues/945/events","html_url":"https://github.com/RSuter/NSwag/issues/945","id":257524639,"number":945,"title":"Epic: Support OpenApi 3","user":{"login":"RSuter","id":2603405,"avatar_url":"https://avatars1.githubusercontent.com/u/2603405?v=4","gravatar_id":"","url":"https://api.github.com/users/RSuter","html_url":"https://github.com/RSuter","followers_url":"https://api.github.com/users/RSuter/followers","following_url":"https://api.github.com/users/RSuter/following{/other_user}","gists_url":"https://api.github.com/users/RSuter/gists{/gist_id}","starred_url":"https://api.github.com/users/RSuter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RSuter/subscriptions","organizations_url":"https://api.github.com/users/RSuter/orgs","repos_url":"https://api.github.com/users/RSuter/repos","events_url":"https://api.github.com/users/RSuter/events{/privacy}","received_events_url":"https://api.github.com/users/RSuter/received_events","type":"User","site_admin":false},"labels":[{"id":255705720,"url":"https://api.github.com/repos/RSuter/NSwag/labels/enhancement","name":"enhancement","color":"eb6420","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-09-13T21:18:44Z","updated_at":"2017-12-05T23:28:34Z","closed_at":null,"author_association":"OWNER","body":"Specification: \r\n- https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md\r\n\r\nChanges: \r\n- https://blog.readme.io/an-example-filled-guide-to-swagger-3-2/\r\n\r\nTasks: \r\n\r\n- Step 1: Support v2 and v3 models in NSwag.Core\r\n    - [ ] Implement all new contracts in the existing model classes (SwaggerDocument)\r\n        - See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#openapi-object\r\n    - [ ] Conditionally serialize either one of the two versions (i.e. ignore or rename properties)\r\n        - [ ] e.g. ToJson() with an additional enum parameter SchemaType (Swagger2 | OpenApi3)\r\n    - [ ] Support \"nullable\": Add `bool? IsNullableRaw` to JsonSchema4 (default: false)\r\n    - [ ] Support new discriminator format: https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#discriminator-object\r\n- Step 2: Swagger generators\r\n    - [ ] Optionally generate Swagger 2.x or OpenAPI 3.x specs in the Swagger generators (Web API)\r\n- Step 3: Code generators\r\n    - [ ] Generate code based on the new models (should support both versions)\r\n\r\nProgress: \r\n- 30%: Support null and oneOf => null is not supported but a new property \"nullable\" :-("},"comment":{"url":"https://api.github.com/repos/RSuter/NSwag/issues/comments/349476287","html_url":"https://github.com/RSuter/NSwag/issues/945#issuecomment-349476287","issue_url":"https://api.github.com/repos/RSuter/NSwag/issues/945","id":349476287,"user":{"login":"daniel-gwilt-software","id":7307150,"avatar_url":"https://avatars1.githubusercontent.com/u/7307150?v=4","gravatar_id":"","url":"https://api.github.com/users/daniel-gwilt-software","html_url":"https://github.com/daniel-gwilt-software","followers_url":"https://api.github.com/users/daniel-gwilt-software/followers","following_url":"https://api.github.com/users/daniel-gwilt-software/following{/other_user}","gists_url":"https://api.github.com/users/daniel-gwilt-software/gists{/gist_id}","starred_url":"https://api.github.com/users/daniel-gwilt-software/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniel-gwilt-software/subscriptions","organizations_url":"https://api.github.com/users/daniel-gwilt-software/orgs","repos_url":"https://api.github.com/users/daniel-gwilt-software/repos","events_url":"https://api.github.com/users/daniel-gwilt-software/events{/privacy}","received_events_url":"https://api.github.com/users/daniel-gwilt-software/received_events","type":"User","site_admin":false},"created_at":"2017-12-05T23:28:34Z","updated_at":"2017-12-05T23:28:34Z","author_association":"NONE","body":"https://github.com/RSuter/NSwag/issues/1091"}}
{"actor":{"display_login":"daniel-gwilt-software"}}