Low commit activity in last 3 years
No release in over a year
A little library for reading Apia Schema files.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 3.0, < 4.0
>= 0
 Project Readme

Screenshot

Gem Version

This library provides a little Ruby wrapper on top of a Apia Schema JSON file. It allows you to browse the specification for a Apia API through Ruby.

Installation

Just in the gem...

gem 'apia-schema-parser', '~> 1.0'

Get started

schema = ApiaSchemaParser.load_from_file('path/to/schema.json')
schema.host                   # => hostname
schema.namespace              # => namespace for URLs
schema.api.controllers        # => all controllers
schema.api.authenticator      # => global authenticator