{"id":15039894,"url":"https://github.com/raml-org/raml-dotnet-parser","last_synced_at":"2026-01-10T11:51:30.172Z","repository":{"id":27096327,"uuid":"30563551","full_name":"raml-org/raml-dotnet-parser","owner":"raml-org","description":"Community-maintained .NET parser for RAML","archived":true,"fork":false,"pushed_at":"2022-02-12T14:27:53.000Z","size":75899,"stargazers_count":22,"open_issues_count":2,"forks_count":14,"subscribers_count":17,"default_branch":"master","last_synced_at":"2024-09-28T22:40:54.337Z","etag":null,"topics":["dot-net","raml","raml-parser","raml-tooling"],"latest_commit_sha":null,"homepage":"","language":"C#","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/raml-org.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":"CODEOWNERS","security":null,"support":null}},"created_at":"2015-02-09T23:01:50.000Z","updated_at":"2024-07-17T14:29:52.000Z","dependencies_parsed_at":"2022-08-31T19:40:46.029Z","dependency_job_id":null,"html_url":"https://github.com/raml-org/raml-dotnet-parser","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raml-org%2Framl-dotnet-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raml-org%2Framl-dotnet-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raml-org%2Framl-dotnet-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raml-org%2Framl-dotnet-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raml-org","download_url":"https://codeload.github.com/raml-org/raml-dotnet-parser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235222538,"owners_count":18955327,"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":["dot-net","raml","raml-parser","raml-tooling"],"created_at":"2024-09-24T20:43:57.779Z","updated_at":"2025-10-04T05:30:38.971Z","avatar_url":"https://github.com/raml-org.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RAML Parser for .NET \n\n[![Build status](https://ci.appveyor.com/api/projects/status/qt828j3w0w6talnr?svg=true)](https://ci.appveyor.com/project/woodp/raml-dotnet-parser)\n\nA RAML Parser implementation in .NET for all CLR languages. The parser is implemented as a strongly-typed wrapper around the JavaScript parser, leveraging Edge.js as a Node.js host. Reuse of the JavaScript parser provides a robust and high-performance parser with a simple and natural .NET object model.\n\nThe preferred way of consuming the RAML parser in your .NET application is to include it in your project directly from nuget:\n\n\n```ps\n    Install-Package RAML.Parser\n```\n\n## Usage (C#)\n\nImport the Raml.Parser namespace, and then use the RamlParser object to build an in-memory model of a RAML definition:\n\n```csharp\n    using RAML.Parser;\n    \n    async Task ParseRamlFile()\n    {\n        // load a RAML file\n        var parser = new AmfParser();\n        var model = await parser.Load(\"my.raml\");\n\n        // print the number of endpoints that this RAML definition contains\n        Console.WriteLine(model.WebApi.EndPoints.Count());\n        // print the number of types this RAML definition contains\n        Console.WriteLine(model.Shapes.Count());\n\n        // OAS 2.0 also supported\n        model = await parser.Load(\"my.json\");\n    }\n```\n\nThe Load methods of the parser return a RamlDocument instance, from which all properties of the RAML definition may\nbe discovered.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Framl-org%2Framl-dotnet-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Framl-org%2Framl-dotnet-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Framl-org%2Framl-dotnet-parser/lists"}