{"action":"created","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/7655","repository_url":"https://api.github.com/repos/swagger-api/swagger-codegen","labels_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/7655/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/7655/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/7655/events","html_url":"https://github.com/swagger-api/swagger-codegen/pull/7655","id":296935020,"number":7655,"title":"[Ada] Fix #7569 by defining x-is-model-type when property is local to the YML file","user":{"login":"micheleISEP","id":12445084,"avatar_url":"https://avatars1.githubusercontent.com/u/12445084?v=4","gravatar_id":"","url":"https://api.github.com/users/micheleISEP","html_url":"https://github.com/micheleISEP","followers_url":"https://api.github.com/users/micheleISEP/followers","following_url":"https://api.github.com/users/micheleISEP/following{/other_user}","gists_url":"https://api.github.com/users/micheleISEP/gists{/gist_id}","starred_url":"https://api.github.com/users/micheleISEP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micheleISEP/subscriptions","organizations_url":"https://api.github.com/users/micheleISEP/orgs","repos_url":"https://api.github.com/users/micheleISEP/repos","events_url":"https://api.github.com/users/micheleISEP/events{/privacy}","received_events_url":"https://api.github.com/users/micheleISEP/received_events","type":"User","site_admin":false},"labels":[{"id":707698795,"url":"https://api.github.com/repos/swagger-api/swagger-codegen/labels/Client:%20Ada","name":"Client: Ada","color":"fad8c7","default":false},{"id":64180581,"url":"https://api.github.com/repos/swagger-api/swagger-codegen/labels/Issue:%20Bug","name":"Issue: Bug","color":"e11d21","default":false},{"id":720514872,"url":"https://api.github.com/repos/swagger-api/swagger-codegen/labels/Server:%20Ada","name":"Server: Ada","color":"f7c6c7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/milestones/16","html_url":"https://github.com/swagger-api/swagger-codegen/milestone/16","labels_url":"https://api.github.com/repos/swagger-api/swagger-codegen/milestones/16/labels","id":2981586,"number":16,"title":"v2.4.0","description":"","creator":{"login":"wing328","id":934260,"avatar_url":"https://avatars2.githubusercontent.com/u/934260?v=4","gravatar_id":"","url":"https://api.github.com/users/wing328","html_url":"https://github.com/wing328","followers_url":"https://api.github.com/users/wing328/followers","following_url":"https://api.github.com/users/wing328/following{/other_user}","gists_url":"https://api.github.com/users/wing328/gists{/gist_id}","starred_url":"https://api.github.com/users/wing328/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wing328/subscriptions","organizations_url":"https://api.github.com/users/wing328/orgs","repos_url":"https://api.github.com/users/wing328/repos","events_url":"https://api.github.com/users/wing328/events{/privacy}","received_events_url":"https://api.github.com/users/wing328/received_events","type":"User","site_admin":false},"open_issues":166,"closed_issues":219,"state":"open","created_at":"2017-12-15T09:01:57Z","updated_at":"2018-02-22T09:47:36Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2018-02-14T00:25:36Z","updated_at":"2018-02-22T10:20:23Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls/7655","html_url":"https://github.com/swagger-api/swagger-codegen/pull/7655","diff_url":"https://github.com/swagger-api/swagger-codegen/pull/7655.diff","patch_url":"https://github.com/swagger-api/swagger-codegen/pull/7655.patch"},"body":"### PR checklist\r\n\r\n- [x] Read the [contribution guidelines](https://github.com/swagger-api/swagger-codegen/blob/master/CONTRIBUTING.md).\r\n- [x] Ran the shell script under `./bin/` to update Petstore sample so that CIs can verify the change. (For instance, only need to run `./bin/{LANG}-petstore.sh` and `./bin/security/{LANG}-petstore.sh` if updating the {LANG} (e.g. php, ruby, python, etc) code generator or {LANG} client's mustache templates). Windows batch files can be found in `.\\bin\\windows\\`.\r\n- [ ] Filed the PR against the correct branch: `3.0.0` branch for changes related to OpenAPI spec 3.0. Default: `master`.\r\n- [ ] Copied the [technical committee](https://github.com/swagger-api/swagger-codegen/#swagger-codegen-technical-committee) to review the pull request if your PR is targeting a particular programming language.\r\n\r\n### Description of the PR\r\n\r\nWIth these changes, postProcessModels method of AbstractAdaCodegen class adds \"x-is-model-type true\" to all the properties of a model that are related to models defined in the same YML file. The change was done to Fix #7569.\r\n\r\nTests were done against both the YML file in issue 7569, and against 2 quite complex YML files. One of the YML specifications was previously processed correctly, and still is. The other one was not correctly processed, and now produces correct code.\r\n\r\nPlease Stephane verify my changes, since I am not sure why you had a \"List<String> d\" in method postProcessModels.\r\n"},"comment":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/comments/367635049","html_url":"https://github.com/swagger-api/swagger-codegen/pull/7655#issuecomment-367635049","issue_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/7655","id":367635049,"user":{"login":"wing328","id":934260,"avatar_url":"https://avatars2.githubusercontent.com/u/934260?v=4","gravatar_id":"","url":"https://api.github.com/users/wing328","html_url":"https://github.com/wing328","followers_url":"https://api.github.com/users/wing328/followers","following_url":"https://api.github.com/users/wing328/following{/other_user}","gists_url":"https://api.github.com/users/wing328/gists{/gist_id}","starred_url":"https://api.github.com/users/wing328/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wing328/subscriptions","organizations_url":"https://api.github.com/users/wing328/orgs","repos_url":"https://api.github.com/users/wing328/repos","events_url":"https://api.github.com/users/wing328/events{/privacy}","received_events_url":"https://api.github.com/users/wing328/received_events","type":"User","site_admin":false},"created_at":"2018-02-22T10:20:23Z","updated_at":"2018-02-22T10:20:23Z","author_association":"MEMBER","body":"@micheleISEP thanks for the PR.\r\n\r\ncc @stcarrez to review"}}
{"actor":{"display_login":"wing328"}}