{"id":20038520,"url":"https://github.com/yahoo/parsec-rdl-gen","last_synced_at":"2025-05-05T06:32:18.248Z","repository":{"id":14310265,"uuid":"74999500","full_name":"yahoo/parsec-rdl-gen","owner":"yahoo","description":"Parsec Ardielle (RDL) External Generators.","archived":false,"fork":false,"pushed_at":"2022-05-30T02:56:57.000Z","size":260,"stargazers_count":10,"open_issues_count":0,"forks_count":13,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-04-08T18:51:26.845Z","etag":null,"topics":["golang","parsec","rdl","web","web-services"],"latest_commit_sha":null,"homepage":"","language":"Go","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/yahoo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-11-28T17:58:32.000Z","updated_at":"2023-12-11T12:29:54.000Z","dependencies_parsed_at":"2022-09-06T10:50:15.946Z","dependency_job_id":null,"html_url":"https://github.com/yahoo/parsec-rdl-gen","commit_stats":null,"previous_names":[],"tags_count":75,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yahoo%2Fparsec-rdl-gen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yahoo%2Fparsec-rdl-gen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yahoo%2Fparsec-rdl-gen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yahoo%2Fparsec-rdl-gen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yahoo","download_url":"https://codeload.github.com/yahoo/parsec-rdl-gen/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252451825,"owners_count":21749991,"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":["golang","parsec","rdl","web","web-services"],"created_at":"2024-11-13T10:29:46.762Z","updated_at":"2025-05-05T06:32:17.694Z","avatar_url":"https://github.com/yahoo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# parsec-rdl-gen [![Build Status](https://app.travis-ci.com/yahoo/parsec-rdl-gen.svg?branch=master)](https://app.travis-ci.com/yahoo/parsec-rdl-gen)\n\nParsec Ardielle (RDL) External Generators\n\n* parsec-java-model - generator for generating Parsec Java models\n* parsec-java-server - generator for generating Parsec Java server\n* parsec-java-client - generator for generating Parsec Java client for target web service\n* parsec-swagger - generator for generating Swagger JSON schemas\n\n## Usage\n\nThese generators are designed to co-work with [ardielle-tools](https://github.com/ardielle/ardielle-tools) but can also be used independently.  They are executable binaries and takes JSON representation of Ardielle schemas from StdIn.  \n\nSample usage for co-working with [ardielle-tools](https://github.com/ardielle/ardielle-tools):\n\n    rdl generate [options] \u003cparsec-java-model | parsec-java-server | parsec-java-client | parsec-swagger\u003e \u003cschema.rdl\u003e\n\nPlease refer to [ardielle-tools](https://github.com/ardielle/ardielle-tools) for more information.\n\n## How to build\n\nPlease follow https://golang.org/doc/install to download and install the GO. You also need to set the GOPATH environment, the source code to checkout and build would belong this GOPATH setting, for instance, I set the GOPATH to /Users/guang001/Documents/workspace/go, then I execute the command: \n```\ngo get github.com/yahoo/parsec-rdl-gen/...\n```\n\nThen GO will checkout the source code to $GOPATH/src/github.com/yahoo/parsec-rdl-gen/, this should be /Users/guang001/Documents/workspace/go/src/github.com/yahoo/parsec-rdl-gen/ in my case, and 'go get' command will build the binary after the fetch code, the binary would be put in $GOPATH/bin/ path. The detail you could reference [How to Write Go Code](https://golang.org/doc/code.html).\n\nSo, to build the parsec-rdl-gen, you only need execute: 'go get github.com/yahoo/parsec-rdl-gen/...' if you are ready the GO enviroment. If you need switch the git branch, you could:\n``` \ncd /Users/guang001/Documents/workspace/go/src/github.com/yahoo/parsec-rdl-gen/\ngit checkout -b dev\n```\n\nor change to your fork REPO:\n\n```\ncd /Users/guang001/Documents/workspace/go/src/github.com/yahoo/parsec-rdl-gen/\ngit remote set-url origin git@git.corp.yahoo.com:guang001/apex.git\n```\n\nNote: The 'go get' command would not refetch(checkout) the code if target directory already exist.\n\n## License\n\nCopyright 2016 Yahoo Inc.\nLicensed under the terms of the Apache license. Please see LICENSE.md file distributed with this work for terms.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyahoo%2Fparsec-rdl-gen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyahoo%2Fparsec-rdl-gen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyahoo%2Fparsec-rdl-gen/lists"}