Skip to content

open-data/ckanext-openapiview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ckanext-openapiview

Overview

A CKAN extension to add Swagger 3 views to JSON resources.

By creating a resource and uploading a Swagger JSON file to it, you will be allowed to create an "Open API" view, which will display the generated Swagger documentaion generated from the uploaded JSON file.

Installation

To install ckanext-openapiview:

  1. Install CKAN >=2.8.

  2. Activate your CKAN virtual environment, eg:

    . /usr/lib/ckan/default/bin/activate
    
  3. Install the extension into your virtual environment:

    pip install -e 'git+https://github.com/open-data/ckanext-openapiview.git#egg=ckanext-openapiview'
    
  4. Add openapi_view to the ckan.plugins setting in your CKAN config file (by default the config file is located at /etc/ckan/default/production.ini).

  5. Restart CKAN. Eg if you've deployed CKAN with Apache on Ubuntu:

    sudo service apache2 reload
    

About

OpenAPI (Swagger) view plugin for CKAN

Resources

License

Unknown, Unknown licenses found

Licenses found

Unknown
COPYING
Unknown
COPYING.fr

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published