{"id":26528939,"url":"https://github.com/i2bskn/yaml_ext","last_synced_at":"2026-05-14T12:33:24.917Z","repository":{"id":56898930,"uuid":"142549361","full_name":"i2bskn/yaml_ext","owner":"i2bskn","description":"yaml_ext provide references in YAML.","archived":false,"fork":false,"pushed_at":"2019-09-02T10:30:31.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-06T21:33:13.353Z","etag":null,"topics":["yaml"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/i2bskn.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}},"created_at":"2018-07-27T08:21:22.000Z","updated_at":"2019-09-02T10:30:33.000Z","dependencies_parsed_at":"2022-08-21T01:50:26.005Z","dependency_job_id":null,"html_url":"https://github.com/i2bskn/yaml_ext","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/i2bskn/yaml_ext","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i2bskn%2Fyaml_ext","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i2bskn%2Fyaml_ext/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i2bskn%2Fyaml_ext/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i2bskn%2Fyaml_ext/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/i2bskn","download_url":"https://codeload.github.com/i2bskn/yaml_ext/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i2bskn%2Fyaml_ext/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33025049,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"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":["yaml"],"created_at":"2025-03-21T16:19:30.357Z","updated_at":"2026-05-14T12:33:24.901Z","avatar_url":"https://github.com/i2bskn.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# YamlExt\n\n[![Gem Version](https://badge.fury.io/rb/yaml_ext.svg)](https://badge.fury.io/rb/yaml_ext)\n[![Build Status](https://travis-ci.org/i2bskn/yaml_ext.svg?branch=master)](https://travis-ci.org/i2bskn/yaml_ext)\n\n`yaml_ext` provide references in YAML.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem \"yaml_ext\"\n```\n\nAnd then execute:\n\n```bash\n$ bundle install\n```\n\n## Usage\n\n```ruby\npry(main)\u003e YamlExt.load(\"example/schema.yml\")\n=\u003e {\"openapi\"=\u003e\"3.0.0\",\n \"info\"=\u003e{\"version\"=\u003e\"1.0.0\", \"title\"=\u003e\"Example API\", \"description\"=\u003e2},\n \"servers\"=\u003e[{\"url\"=\u003e\"http://example.com/v1\"}],\n \"paths\"=\u003e\n  {\"/users\"=\u003e\n    {\"get\"=\u003e\n      {\"summary\"=\u003e\"List all users\",\n       \"operationId\"=\u003e\"listUsers\",\n       \"tags\"=\u003e[\"users\"],\n       \"parameters\"=\u003e[{\"name\"=\u003e\"limit\", \"in\"=\u003e\"query\", \"description\"=\u003e\"How many items to return at one time (max 100)\", \"required\"=\u003efalse, \"schema\"=\u003e{\"type\"=\u003e\"integer\"}}],\n       \"responses\"=\u003e\n        {\"200\"=\u003e\n          {\"description\"=\u003e\"A paged array of users\",\n           \"headers\"=\u003e{\"x-next\"=\u003e{\"description\"=\u003e\"A link to the next page of responses\", \"schema\"=\u003e{\"type\"=\u003e\"string\"}}},\n           \"content\"=\u003e{\"application/json\"=\u003e{\"schema\"=\u003e{\"type\"=\u003e\"array\", \"items\"=\u003e{\"type\"=\u003e\"object\", \"required\"=\u003e[\"id\", \"name\"], \"properties\"=\u003e{\"id\"=\u003e{\"type\"=\u003e\"integer\"}, \"name\"=\u003e{\"type\"=\u003e\"string\"}, \"tag\"=\u003e{\"type\"=\u003e\"string\"}}}}}}},\n         \"default\"=\u003e{\"description\"=\u003e\"unexpected error\", \"content\"=\u003e{\"application/json\"=\u003e{\"schema\"=\u003e{\"type\"=\u003e\"object\", \"required\"=\u003e[\"code\", \"message\"], \"properties\"=\u003e{\"code\"=\u003e{\"type\"=\u003e\"integer\"}, \"message\"=\u003e{\"type\"=\u003e\"string\"}}}}}}}},\n     \"post\"=\u003e\n      {\"summary\"=\u003e\"Create a user\",\n       \"operationId\"=\u003e\"createUsers\",\n       \"tags\"=\u003e[\"users\"],\n       \"responses\"=\u003e\n        {\"201\"=\u003e{\"description\"=\u003e\"Null response\"},\n         \"default\"=\u003e{\"description\"=\u003e\"unexpected error\", \"content\"=\u003e{\"application/json\"=\u003e{\"schema\"=\u003e{\"type\"=\u003e\"object\", \"required\"=\u003e[\"code\", \"message\"], \"properties\"=\u003e{\"code\"=\u003e{\"type\"=\u003e\"integer\"}, \"message\"=\u003e{\"type\"=\u003e\"string\"}}}}}}}}},\n   \"/users/{userId}\"=\u003e\n    {\"get\"=\u003e\n      {\"get\"=\u003e\n        {\"summary\"=\u003e\"Info for a specific user\",\n         \"operationId\"=\u003e\"showUserById\",\n         \"tags\"=\u003e[\"users\"],\n         \"parameters\"=\u003e[{\"name\"=\u003e\"userId\", \"in\"=\u003e\"path\", \"description\"=\u003e\"The id of the user\", \"required\"=\u003etrue, \"schema\"=\u003e{\"type\"=\u003e\"integer\"}}],\n         \"responses\"=\u003e\n          {\"200\"=\u003e{\"description\"=\u003e\"Expected response to a valid request\", \"content\"=\u003e{\"application/json\"=\u003e{\"schema\"=\u003e{\"type\"=\u003e\"object\", \"required\"=\u003e[\"id\", \"name\"], \"properties\"=\u003e{\"id\"=\u003e{\"type\"=\u003e\"integer\"}, \"name\"=\u003e{\"type\"=\u003e\"string\"}, \"tag\"=\u003e{\"type\"=\u003e\"string\"}}}}}},\n           \"default\"=\u003e{\"description\"=\u003e\"unexpected error\", \"content\"=\u003e{\"application/json\"=\u003e{\"schema\"=\u003e{\"type\"=\u003e\"object\", \"required\"=\u003e[\"code\", \"message\"], \"properties\"=\u003e{\"code\"=\u003e{\"type\"=\u003e\"integer\"}, \"message\"=\u003e{\"type\"=\u003e\"string\"}}}}}}}}}}},\n \"components\"=\u003e\n  {\"schemas\"=\u003e\n    {\"User\"=\u003e{\"type\"=\u003e\"object\", \"required\"=\u003e[\"id\", \"name\"], \"properties\"=\u003e{\"id\"=\u003e{\"type\"=\u003e\"integer\"}, \"name\"=\u003e{\"type\"=\u003e\"string\"}, \"tag\"=\u003e{\"type\"=\u003e\"string\"}}},\n     \"Users\"=\u003e{\"type\"=\u003e\"array\", \"items\"=\u003e{\"type\"=\u003e\"object\", \"required\"=\u003e[\"id\", \"name\"], \"properties\"=\u003e{\"id\"=\u003e{\"type\"=\u003e\"integer\"}, \"name\"=\u003e{\"type\"=\u003e\"string\"}, \"tag\"=\u003e{\"type\"=\u003e\"string\"}}}},\n     \"Error\"=\u003e{\"type\"=\u003e\"object\", \"required\"=\u003e[\"code\", \"message\"], \"properties\"=\u003e{\"code\"=\u003e{\"type\"=\u003e\"integer\"}, \"message\"=\u003e{\"type\"=\u003e\"string\"}}}}}}\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/i2bskn/yaml_ext.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fi2bskn%2Fyaml_ext","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fi2bskn%2Fyaml_ext","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fi2bskn%2Fyaml_ext/lists"}