{"id":18400861,"url":"https://github.com/elomagic/yacog4openapi","last_synced_at":"2026-04-19T14:36:37.189Z","repository":{"id":75592886,"uuid":"523364744","full_name":"elomagic/yacog4openapi","owner":"elomagic","description":"Yast Another Code Generator Tool 4 Open API","archived":false,"fork":false,"pushed_at":"2022-08-15T16:24:26.000Z","size":29,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-26T02:06:08.881Z","etag":null,"topics":["codegen","delphi","generic","openapi","openapi3"],"latest_commit_sha":null,"homepage":"","language":"Python","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/elomagic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"publiccode":null,"codemeta":null}},"created_at":"2022-08-10T13:57:05.000Z","updated_at":"2024-01-19T10:28:57.000Z","dependencies_parsed_at":"2023-03-03T13:16:10.932Z","dependency_job_id":null,"html_url":"https://github.com/elomagic/yacog4openapi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/elomagic/yacog4openapi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elomagic%2Fyacog4openapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elomagic%2Fyacog4openapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elomagic%2Fyacog4openapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elomagic%2Fyacog4openapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elomagic","download_url":"https://codeload.github.com/elomagic/yacog4openapi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elomagic%2Fyacog4openapi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32010105,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["codegen","delphi","generic","openapi","openapi3"],"created_at":"2024-11-06T02:37:05.706Z","updated_at":"2026-04-19T14:36:37.174Z","avatar_url":"https://github.com/elomagic.png","language":"Python","funding_links":["https://www.buymeacoffee.com/elomagic"],"categories":[],"sub_categories":[],"readme":"# Yast Another Code Generator Tool 4 OpenAPI\n\nCurrently, prototype status\n\n---\n\n[![GitHub tag](https://img.shields.io/github/tag/elomagic/yacog4openapi.svg)](https://github.com/elomagic/yacog4openapi/tags/)\n[![GitHub issues](https://img.shields.io/github/issues-raw/elomagic/yacog4openapi)](https://github.com/elomagic/yacog4openapi/issues)\n[![Apache 2.0 license](https://img.shields.io/badge/Apache-2.0-blue.svg)](https://www.gnu.org/licenses/gpl-3.0-standalone.html)\n[![made-with-micropython](https://img.shields.io/badge/Made%20with-Python-1f425f.svg)](https://www.python.org)\n[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/elomagic/yacog4openapi/graphs/commit-activity)\n[![Buymeacoffee](https://badgen.net/badge/icon/buymeacoffee?icon=buymeacoffee\u0026label)](https://www.buymeacoffee.com/elomagic)\n\n## Table of Contents\n\n- [What about?](#what-about?)\n- [Installation](#installation)\n- [Configuration](#configuration)\n- [Using](#using)\n- [Contribution](#contribution)\n\n# What About?\n\nThis project is currently a small prototype project how to read an Open API file and use a template engine in Python. \n\n# Installation\n\nAll required Python dependencies are declared in the *requirement.txt* file and must be installed with the following \ncommand by using the Python package manager *Pip*: \n\n```shell\npip install -r requirements.txt\n```\n\n# Configuration\n\n```json5\n{\n    \"input\": {\n        // Default OpenAPI definition file\n        \"source\": \"../test/openapi.json\"\n    },    \n    // Template to use\n    \"template\": \"resources/delphi-unit.jinja2\",\n    // File generated output\n    \"output\": \"../out/uRestServiceClient.pas\",\n    // Open API datatype mappings\n    \"datatype-map\": {\n        \"number,float\":  \"Single\",\n        \"number,double\": \"Double\",\n        \"number,\": \"Single\",\n\n        \"integer,in32\": \"Integer\",\n        \"integer,int64\": \"Int64\",\n        \"integer,\": \"Integer\",\n\n        \"string,byte\": \"String\",\n        \"string,binary\": \"String\",\n        \"string,\": \"String\",\n\n        \"string,date\": \"TDate\",\n        \"string,date-time\": \"TDateTime\",\n\n        \"string,uuid\": \"String\",\n\n        \"boolean,\": \"Boolean\"\n    }\n}\n```\n\ntbc\n\n# Using\n\n## Creating output\n\n### Example\n\n```shell\nsrc/genclient.py --source=test/openapi.json --template=test/delphi-test-example.jinja2 --output=test-output/delphi-unit.pas\n```\n\n## Supported parameters\n\nTo get an overview of the supported parameters, enter the following command in your shell:\n\n```shell\nsrc/genclient.py --help\n```\n\ntbc\n\n# Contribution\n\ntbd","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felomagic%2Fyacog4openapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felomagic%2Fyacog4openapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felomagic%2Fyacog4openapi/lists"}