Skip to main content

A project to make OpenStack API's self documententing.

Project description

A project to make OpenStack API’s self documententing.

Features

  • Migrates WADL source to Swagger files

  • Provides display of RST plus Swagger JSON files in a web browser

Development

First run the migrate script to initially migrate the content from wadl:

./migrate.sh

This script will checkout the current version of the documentation.

To run the webserver use:

./run_server.sh

A Pecan based webserver will then listen on http://127.0.0.1:8080

AngularJS

To develop the AngularJS component, it’s easiest if you use the grunt webserver:

grunt

You will still need to run the Fairy-Slipper webserver, but this will enable auto reloading if you visit the port http://127.0.0.1:9000

Directory Structure (Future)

Current documentation output layout:

api-doc/ -- the root of the documentation
api-doc/index.json  -- the index file that lists all the files that are included in the API doc.
api-doc/<service>/<version>.rst
api-doc/<service>/<version>/<request_schema>.json
api-doc/<service>/<version>/<response_schema>_<status_code>.json
api-doc/<service>/<version>/examples/<request>_req.json
api-doc/<service>/<version>/examples/<response>_resp_<status_code>.json
conversion_files_valid/<service-version>.json -- valid Swagger files

Other Swagger UIs

Taken from https://github.com/swagger-api/swagger-spec/wiki/Sites-and-Services

Other API documentation Tools

Alternative Clients

Other Useful Tools

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fairy-slipper-0.1.0.tar.gz (86.1 kB view details)

Uploaded Source

Built Distribution

fairy_slipper-0.1.0-py2-none-any.whl (68.1 kB view details)

Uploaded Python 2

File details

Details for the file fairy-slipper-0.1.0.tar.gz.

File metadata

File hashes

Hashes for fairy-slipper-0.1.0.tar.gz
Algorithm Hash digest
SHA256 62bb787ab1f2a4b1672bc5ea9c28f3199e2759fb7bfaf1649c16a068725754fc
MD5 dca82812993936b98789eef899fe5118
BLAKE2b-256 87a5dfff36fe81af35cc12e83423d89cb820c5716e8fd99fe57353f6c67d9c50

See more details on using hashes here.

File details

Details for the file fairy_slipper-0.1.0-py2-none-any.whl.

File metadata

File hashes

Hashes for fairy_slipper-0.1.0-py2-none-any.whl
Algorithm Hash digest
SHA256 089b2a8d1ff139e1cfb9d16496f284719669210cd00557e986add6afdf2a1489
MD5 08158a524d09c2036d1a5cb2102e63e8
BLAKE2b-256 1c97f435d8a85d349c4418e81426c7fc3412f1363465e3148933577713fb202e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page