{"id":22862751,"url":"https://github.com/nedap/openehr-openapi","last_synced_at":"2025-03-31T08:46:50.438Z","repository":{"id":46037119,"uuid":"263941320","full_name":"nedap/openehr-openapi","owner":"nedap","description":"An example project to show how OpenAPI can work with OpenEHR","archived":false,"fork":false,"pushed_at":"2022-11-28T12:03:59.000Z","size":111,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T04:07:57.756Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nedap.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-14T14:41:49.000Z","updated_at":"2024-11-24T00:01:40.000Z","dependencies_parsed_at":"2023-01-23T11:00:20.136Z","dependency_job_id":null,"html_url":"https://github.com/nedap/openehr-openapi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nedap%2Fopenehr-openapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nedap%2Fopenehr-openapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nedap%2Fopenehr-openapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nedap%2Fopenehr-openapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nedap","download_url":"https://codeload.github.com/nedap/openehr-openapi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246443525,"owners_count":20778247,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-13T10:14:41.330Z","updated_at":"2025-03-31T08:46:50.416Z","avatar_url":"https://github.com/nedap.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenEHR OpenAPI code generation example\n\nThis small project demonstrates the possibilities of generating OpenEHR models and a simple API client or server stub base on automatically generated OpenAPI definitions. These definitions have been generated with https://github.com/openehr/archie .\n\n## Location of input files\nThe OpenEHR standardized JSON format for the reference model can be found in the file `openehr-rm-openapi.json`. \nThe Archie specific serialization variant of the archetype object model version 2 can be found in `archie-aom-openapi.json`. It is likely to be mostly standard, but not guaranteed so, as it has not been extensively tested against many implementations or standards.\n\n## Build Instructions\n\n1. Clone this repository\n2. Install java, at least version 8\n3. run:\n\n```\n./gradlew clean build\n```\n\nThe `build/generated/src` folder will now contain the generated sources. Note that they will not automatically be considered sources to be compiled for now, merely the output.\n\n\n## Changing the output format\n\nThere are many code generators available, for many languages and documentation formats. To see which ones are available, run:\n\n```\n./gradlew openApiGenerators\n```\n\nTo select the generator you want, open build.gradle and set the `generatorName`-property, both for the RM and AOM\n\n## Possible improvements\n- perhaps the Any model should be renamed, as in some programming languages that's a reserved word\n- some date/time types seem to be still missing in the AOM, for some reason. Will be fixed soon.\n- Now the discriminator mapping is fully defined at the Any level. That may have to be added at many levels instead.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnedap%2Fopenehr-openapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnedap%2Fopenehr-openapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnedap%2Fopenehr-openapi/lists"}