{"id":19622166,"url":"https://github.com/commercetools/rest-modeling-framework","last_synced_at":"2025-04-28T03:32:26.486Z","repository":{"id":47685619,"uuid":"97137196","full_name":"commercetools/rest-modeling-framework","owner":"commercetools","description":"The rest modeling framework provides an EMF based model for RAML api definition files.","archived":false,"fork":false,"pushed_at":"2024-07-22T21:10:47.000Z","size":2183,"stargazers_count":9,"open_issues_count":13,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-20T15:17:59.304Z","etag":null,"topics":["audit-sdk"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/commercetools.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":"2017-07-13T15:17:51.000Z","updated_at":"2024-07-22T21:10:50.000Z","dependencies_parsed_at":"2023-10-10T14:09:53.687Z","dependency_job_id":"bed59734-9ec9-4821-9900-df816deb2c28","html_url":"https://github.com/commercetools/rest-modeling-framework","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/commercetools%2Frest-modeling-framework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commercetools%2Frest-modeling-framework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commercetools%2Frest-modeling-framework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commercetools%2Frest-modeling-framework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/commercetools","download_url":"https://codeload.github.com/commercetools/rest-modeling-framework/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251246391,"owners_count":21558762,"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":["audit-sdk"],"created_at":"2024-11-11T11:26:23.939Z","updated_at":"2025-04-28T03:32:25.124Z","avatar_url":"https://github.com/commercetools.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"The rest modeling framework provides an EMF based model for RAML api definition files.\n\n### Using in your own project\n\nThe latest unstable release can be retrieved from [Maven](https://search.maven.org/artifact/com.commercetools.rmf/rest-modeling-framework)  with:\n```gradle\next {\n    rmfVersion = \"0.2.0-20240722205528\"\n}\n\nsourceCompatibility = 1.8\n\ndependencies {\n    compile \"com.commercetools.rmf:raml-model:${rmfVersion}\"\n}\n```\n\nThe main entry point is the `io.vrap.rmf.raml.model.RamlModelBuilder` class, see the following code for an example on how to use it:\n\n```java\n  final URI fileURI = URI.createFileURI(\"/path/api.raml\");\n  final RamlModelResult\u003cApi\u003e modelResult = new RamlModelBuilder().buildApi(fileURI);\n  final List\u003cRamlDiagnostic\u003e validationResults = modelResult.getValidationResults();\n\n  if (validationResults.isEmpty()) {\n      final Api api = modelResult.getRootObject();\n  }  \n```\n\n### Docker\n\nTo start the RMF generator using docker use the following command\n\n```\ndocker run --rm -v\u003cRAML-definition-directory\u003e:/api -v\u003coutput-directory\u003e:/out vrapio/rmf-generator -l postman /api/update-actions.raml\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommercetools%2Frest-modeling-framework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcommercetools%2Frest-modeling-framework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommercetools%2Frest-modeling-framework/lists"}