{"id":13800125,"url":"https://github.com/H21lab/5GC_build","last_synced_at":"2025-05-13T09:31:08.492Z","repository":{"id":45156479,"uuid":"268275433","full_name":"H21lab/5GC_build","owner":"H21lab","description":"Project to use OpenAPI generators to build code from 5GC_API","archived":false,"fork":false,"pushed_at":"2023-02-15T23:45:16.000Z","size":269,"stargazers_count":14,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-18T15:01:50.115Z","etag":null,"topics":["3gpp","5g","5g-protocol","5gc","openapi","openapi-generators","yaml-files"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/H21lab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2020-05-31T12:29:04.000Z","updated_at":"2023-12-03T23:12:37.000Z","dependencies_parsed_at":"2024-04-07T06:32:42.653Z","dependency_job_id":"1688ea21-c64a-461e-b073-6ddf1e70a828","html_url":"https://github.com/H21lab/5GC_build","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/H21lab%2F5GC_build","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/H21lab%2F5GC_build/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/H21lab%2F5GC_build/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/H21lab%2F5GC_build/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/H21lab","download_url":"https://codeload.github.com/H21lab/5GC_build/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253913027,"owners_count":21983244,"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":["3gpp","5g","5g-protocol","5gc","openapi","openapi-generators","yaml-files"],"created_at":"2024-08-04T00:01:09.581Z","updated_at":"2025-05-13T09:31:07.001Z","avatar_url":"https://github.com/H21lab.png","language":"Java","funding_links":[],"categories":["Tools"],"sub_categories":["Diameter"],"readme":"# 5GC build\n5GC Open API build\n\nProject contains simple Maven project which is using openapi-generator-maven-plugin. By using this project it is possible to generate 5G code from [5GC_API yaml](https://github.com/jdegre/5GC_APIs) files.\n\n### Clone source code\n```bash\ngit clone --recurse-submodules https://github.com/H21lab/5GC_build.git\n```\n\n## License\nLicensed under the Apache License, Version 2.0\n\n## Build Instructions\nOpen `5GC_code_generator` in netbeans or in other editor.\n\nEdit the pom.xml to control which yaml files should be used for code generator and define the type of OpenAPI generator to be used. Additionally specify the `modelPackage`, `apiPackage`, `invokerPackage`. This is useful if multiple yaml files are generated in the same time to separate the generated code by namespaces.\n\nBuild the project using IDE or run `mvn clean install` in `5GC_code_generator` folder.\n\nThe OpenAPI generators will generate the code in `./target/generated-sources`.\n\nNOTE: The code is using the latest openapi-generator-maven-plugin in version 5.0.0-SNAPSHOT. If this is not downloaded automatically, download the source code \u003chttps://github.com/OpenAPITools/openapi-generator/tree/master/modules/openapi-generator-maven-plugin\u003e and build it before in IDE or run `mvn clean install` to install the project.\n\n## Examples\n\nYou can run simple generate python client and server in this project in the following way:\n```\ncd Examples\nbash run_python_server.sh \u0026\nbash run_python_client.sh\n```\nBy capturing on localhost http communication can be captured between the client and server.\nPlease note, that the sample python server code has been modified to fix the generator issue (reported here \u003chttps://github.com/OpenAPITools/openapi-generator/issues/6483\u003e).\n\n## Limitations\n\nThere are several limitations in existing OpenAPI generators. You can experience that the generated code could not be generated or compiled after and need to be corrected manually. In such cases open github issue at \u003chttps://github.com/OpenAPITools/openapi-generator\u003e.\n\n\n## Attribution\nCreated by Martin Kacer\n\nCopyright 2020 H21 lab, All right reserved\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FH21lab%2F5GC_build","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FH21lab%2F5GC_build","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FH21lab%2F5GC_build/lists"}