Skip to content

apiaframework/schema-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

73f0f12 · Mar 18, 2024

History

34 Commits
Mar 18, 2024
Aug 4, 2021
Aug 4, 2021
Jan 7, 2021
Jun 4, 2020
Aug 4, 2021
Aug 4, 2021
Aug 4, 2021
Aug 4, 2021
Aug 4, 2021
Aug 4, 2021
Mar 18, 2024
Aug 4, 2021

Repository files navigation

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

About

A Ruby library for parsing Apia Schema JSON.

Topics

Resources

License

Stars

Watchers

Forks

Languages