graphiti-openapi 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cc40de5f023004fe21eb92c3383093e90399e5eb1e92d67a59649f95e6a67863
4
- data.tar.gz: 132360a5661e4d95c240f2959458ebe35e624f63bd2f7789d2875587f2849cd8
3
+ metadata.gz: 016af749520b2022ed87226b8f5b3305a853d15c730df746e6f0a8b9f3cf4777
4
+ data.tar.gz: 116ec81ab98c31c7abaf99b5fbae113bcd359b871a74aa0629ad9fe94f00757f
5
5
  SHA512:
6
- metadata.gz: 31932fcb30dc90a2d9213f5fd7b3fa3a11bdf638daab93043325bcf8b134fb9ab7a791ddbedfeb92dd74e1f188beaf012034db60bf41c2ed84739af72465f45a
7
- data.tar.gz: 99020af2ba89588ddabccaefdc02762d86253260ab710f3d4b908eb2486ee8e040ee2b2c2c98ff731e7724b2a4584bba78f5d291baf569d93d7a41873a79f8c3
6
+ metadata.gz: cf1c3e0dea0bdf856719aff1f5734c9cad78cec2b8f0435be81b5999592af4a1297fab10ea949ac1df4bf784ae20ca8fbdfe9ab93b779f538def9320ee99822b
7
+ data.tar.gz: 64c04d3e8fffcf7ae3920f4aed68f8cc02636e9557c9506226ee859c0ec8d0b946d6128692287eefe2c9533536d5bbd4794af5b850ec92d32aecce898aa37214
data/config/routes.rb CHANGED
@@ -1,5 +1,6 @@
1
1
  Graphiti::OpenAPI::Engine.routes.draw do
2
2
  resources :specifications, only: :index, defaults: {format: :html}
3
3
 
4
+ get "openapi.:format" => "specifications#index", defaults: {format: :json}
4
5
  root to: "specifications#index", defaults: {format: :html}
5
6
  end
@@ -1,5 +1,5 @@
1
1
  module Graphiti
2
2
  module OpenAPI
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphiti-openapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Semyonov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-01-21 00:00:00.000000000 Z
11
+ date: 2019-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties