├── .gitignore ├── .travis.yml ├── Gemfile ├── LICENSE.txt ├── README.md ├── Rakefile ├── fixtures ├── include_1.raml └── schemas │ ├── canonicalSchemas.raml │ └── filesystem │ ├── file.json │ ├── files.json │ ├── fileupdate.json │ └── relative │ └── test.json ├── lib ├── raml.rb └── raml │ ├── exceptions.rb │ ├── mixin │ ├── bodies.rb │ ├── documentable.rb │ ├── global.rb │ ├── headers.rb │ ├── merge.rb │ ├── parent.rb │ ├── secured_by.rb │ └── validation.rb │ ├── node.rb │ ├── node │ ├── abstract_method.rb │ ├── abstract_resource.rb │ ├── abstract_resource_circular.rb │ ├── body.rb │ ├── documentation.rb │ ├── header.rb │ ├── method.rb │ ├── parameter │ │ ├── abstract_parameter.rb │ │ ├── base_uri_parameter.rb │ │ ├── form_parameter.rb │ │ ├── query_parameter.rb │ │ └── uri_parameter.rb │ ├── parametized_reference.rb │ ├── reference.rb │ ├── resource.rb │ ├── resource_type.rb │ ├── resource_type_reference.rb │ ├── response.rb │ ├── root.rb │ ├── schema.rb │ ├── schema_reference.rb │ ├── security_scheme.rb │ ├── security_scheme_reference.rb │ ├── template.rb │ ├── trait.rb │ └── trait_reference.rb │ ├── parser.rb │ ├── parser │ └── include.rb │ ├── patch │ ├── hash.rb │ └── module.rb │ └── version.rb ├── raml_ruby.gemspec ├── raml_spec_reqs.md └── test ├── apis ├── box-api.raml ├── instagram-api.raml ├── stripe-api.raml ├── twilio-rest-api.raml └── twitter-rest-api.raml └── raml ├── body_spec.rb ├── documentation_spec.rb ├── header_spec.rb ├── include_spec.rb ├── method_spec.rb ├── parameter ├── abstract_parameter_spec.rb ├── form_parameter_spec.rb ├── query_parameter_spec.rb └── uri_parameter_spec.rb ├── parser_spec.rb ├── raml_spec.rb ├── resource_spec.rb ├── resource_type_spec.rb ├── response_spec.rb ├── root_spec.rb ├── schema_spec.rb ├── security_scheme_spec.rb ├── spec_helper.rb ├── template_spec.rb └── trait_spec.rb /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/.travis.yml -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/Rakefile -------------------------------------------------------------------------------- /fixtures/include_1.raml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/fixtures/include_1.raml -------------------------------------------------------------------------------- /fixtures/schemas/canonicalSchemas.raml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/fixtures/schemas/canonicalSchemas.raml -------------------------------------------------------------------------------- /fixtures/schemas/filesystem/file.json: -------------------------------------------------------------------------------- 1 | file_schema -------------------------------------------------------------------------------- /fixtures/schemas/filesystem/files.json: -------------------------------------------------------------------------------- 1 | files_schema -------------------------------------------------------------------------------- /fixtures/schemas/filesystem/fileupdate.json: -------------------------------------------------------------------------------- 1 | file_update_schema -------------------------------------------------------------------------------- /fixtures/schemas/filesystem/relative/test.json: -------------------------------------------------------------------------------- 1 | test_schema -------------------------------------------------------------------------------- /lib/raml.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/lib/raml.rb -------------------------------------------------------------------------------- /lib/raml/exceptions.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/lib/raml/exceptions.rb -------------------------------------------------------------------------------- /lib/raml/mixin/bodies.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/lib/raml/mixin/bodies.rb -------------------------------------------------------------------------------- /lib/raml/mixin/documentable.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/lib/raml/mixin/documentable.rb -------------------------------------------------------------------------------- /lib/raml/mixin/global.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/lib/raml/mixin/global.rb -------------------------------------------------------------------------------- /lib/raml/mixin/headers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/lib/raml/mixin/headers.rb -------------------------------------------------------------------------------- /lib/raml/mixin/merge.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/lib/raml/mixin/merge.rb -------------------------------------------------------------------------------- /lib/raml/mixin/parent.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/lib/raml/mixin/parent.rb -------------------------------------------------------------------------------- /lib/raml/mixin/secured_by.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/lib/raml/mixin/secured_by.rb -------------------------------------------------------------------------------- /lib/raml/mixin/validation.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/lib/raml/mixin/validation.rb -------------------------------------------------------------------------------- /lib/raml/node.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/lib/raml/node.rb -------------------------------------------------------------------------------- /lib/raml/node/abstract_method.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/lib/raml/node/abstract_method.rb -------------------------------------------------------------------------------- /lib/raml/node/abstract_resource.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/lib/raml/node/abstract_resource.rb -------------------------------------------------------------------------------- /lib/raml/node/abstract_resource_circular.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/lib/raml/node/abstract_resource_circular.rb -------------------------------------------------------------------------------- /lib/raml/node/body.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/lib/raml/node/body.rb -------------------------------------------------------------------------------- /lib/raml/node/documentation.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/lib/raml/node/documentation.rb -------------------------------------------------------------------------------- /lib/raml/node/header.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/lib/raml/node/header.rb -------------------------------------------------------------------------------- /lib/raml/node/method.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/lib/raml/node/method.rb -------------------------------------------------------------------------------- /lib/raml/node/parameter/abstract_parameter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/lib/raml/node/parameter/abstract_parameter.rb -------------------------------------------------------------------------------- /lib/raml/node/parameter/base_uri_parameter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/lib/raml/node/parameter/base_uri_parameter.rb -------------------------------------------------------------------------------- /lib/raml/node/parameter/form_parameter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/lib/raml/node/parameter/form_parameter.rb -------------------------------------------------------------------------------- /lib/raml/node/parameter/query_parameter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/lib/raml/node/parameter/query_parameter.rb -------------------------------------------------------------------------------- /lib/raml/node/parameter/uri_parameter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/lib/raml/node/parameter/uri_parameter.rb -------------------------------------------------------------------------------- /lib/raml/node/parametized_reference.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/lib/raml/node/parametized_reference.rb -------------------------------------------------------------------------------- /lib/raml/node/reference.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/lib/raml/node/reference.rb -------------------------------------------------------------------------------- /lib/raml/node/resource.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/lib/raml/node/resource.rb -------------------------------------------------------------------------------- /lib/raml/node/resource_type.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/lib/raml/node/resource_type.rb -------------------------------------------------------------------------------- /lib/raml/node/resource_type_reference.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/lib/raml/node/resource_type_reference.rb -------------------------------------------------------------------------------- /lib/raml/node/response.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/lib/raml/node/response.rb -------------------------------------------------------------------------------- /lib/raml/node/root.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/lib/raml/node/root.rb -------------------------------------------------------------------------------- /lib/raml/node/schema.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/lib/raml/node/schema.rb -------------------------------------------------------------------------------- /lib/raml/node/schema_reference.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/lib/raml/node/schema_reference.rb -------------------------------------------------------------------------------- /lib/raml/node/security_scheme.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/lib/raml/node/security_scheme.rb -------------------------------------------------------------------------------- /lib/raml/node/security_scheme_reference.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/lib/raml/node/security_scheme_reference.rb -------------------------------------------------------------------------------- /lib/raml/node/template.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/lib/raml/node/template.rb -------------------------------------------------------------------------------- /lib/raml/node/trait.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/lib/raml/node/trait.rb -------------------------------------------------------------------------------- /lib/raml/node/trait_reference.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/lib/raml/node/trait_reference.rb -------------------------------------------------------------------------------- /lib/raml/parser.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/lib/raml/parser.rb -------------------------------------------------------------------------------- /lib/raml/parser/include.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/lib/raml/parser/include.rb -------------------------------------------------------------------------------- /lib/raml/patch/hash.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/lib/raml/patch/hash.rb -------------------------------------------------------------------------------- /lib/raml/patch/module.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/lib/raml/patch/module.rb -------------------------------------------------------------------------------- /lib/raml/version.rb: -------------------------------------------------------------------------------- 1 | module Raml 2 | VERSION = "0.1.2" 3 | end 4 | -------------------------------------------------------------------------------- /raml_ruby.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/raml_ruby.gemspec -------------------------------------------------------------------------------- /raml_spec_reqs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/raml_spec_reqs.md -------------------------------------------------------------------------------- /test/apis/box-api.raml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/test/apis/box-api.raml -------------------------------------------------------------------------------- /test/apis/instagram-api.raml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/test/apis/instagram-api.raml -------------------------------------------------------------------------------- /test/apis/stripe-api.raml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/test/apis/stripe-api.raml -------------------------------------------------------------------------------- /test/apis/twilio-rest-api.raml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/test/apis/twilio-rest-api.raml -------------------------------------------------------------------------------- /test/apis/twitter-rest-api.raml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/test/apis/twitter-rest-api.raml -------------------------------------------------------------------------------- /test/raml/body_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/test/raml/body_spec.rb -------------------------------------------------------------------------------- /test/raml/documentation_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/test/raml/documentation_spec.rb -------------------------------------------------------------------------------- /test/raml/header_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/test/raml/header_spec.rb -------------------------------------------------------------------------------- /test/raml/include_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/test/raml/include_spec.rb -------------------------------------------------------------------------------- /test/raml/method_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/test/raml/method_spec.rb -------------------------------------------------------------------------------- /test/raml/parameter/abstract_parameter_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/test/raml/parameter/abstract_parameter_spec.rb -------------------------------------------------------------------------------- /test/raml/parameter/form_parameter_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/test/raml/parameter/form_parameter_spec.rb -------------------------------------------------------------------------------- /test/raml/parameter/query_parameter_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/test/raml/parameter/query_parameter_spec.rb -------------------------------------------------------------------------------- /test/raml/parameter/uri_parameter_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/test/raml/parameter/uri_parameter_spec.rb -------------------------------------------------------------------------------- /test/raml/parser_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/test/raml/parser_spec.rb -------------------------------------------------------------------------------- /test/raml/raml_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/test/raml/raml_spec.rb -------------------------------------------------------------------------------- /test/raml/resource_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/test/raml/resource_spec.rb -------------------------------------------------------------------------------- /test/raml/resource_type_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/test/raml/resource_type_spec.rb -------------------------------------------------------------------------------- /test/raml/response_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/test/raml/response_spec.rb -------------------------------------------------------------------------------- /test/raml/root_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/test/raml/root_spec.rb -------------------------------------------------------------------------------- /test/raml/schema_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/test/raml/schema_spec.rb -------------------------------------------------------------------------------- /test/raml/security_scheme_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/test/raml/security_scheme_spec.rb -------------------------------------------------------------------------------- /test/raml/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/test/raml/spec_helper.rb -------------------------------------------------------------------------------- /test/raml/template_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/test/raml/template_spec.rb -------------------------------------------------------------------------------- /test/raml/trait_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coub/raml_ruby/HEAD/test/raml/trait_spec.rb --------------------------------------------------------------------------------