Module: WikidataAdaptor::RestApi::OpenApiDocument
- Included in:
- WikidataAdaptor::RestApi
- Defined in:
- lib/wikidata_adaptor/rest_api/open_api_document.rb
Overview
Instance Method Summary collapse
-
#get_openapi_document ⇒ Hash
Retrieve the OpenAPI document.
Instance Method Details
#get_openapi_document ⇒ Hash
Retrieve the OpenAPI document
10 11 12 |
# File 'lib/wikidata_adaptor/rest_api/open_api_document.rb', line 10 def get_openapi_document get_json("#{endpoint}/v1/openapi.json") end |