A project to make OpenStack API's self documententing.
Project description
A project to make OpenStack API’s self documententing.
Free software: Apache license
Documentation: doc/source directory
Source: https://git.openstack.org/cgit/openstack/fairy-slipper
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file fairy-slipper-0.2.0.tar.gz
.
File metadata
- Download URL: fairy-slipper-0.2.0.tar.gz
- Upload date:
- Size: 88.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52b17b0178c4ba12880ad5167a70d4edd628898e4a4f38c7f11fb24e22cfa9fa |
|
MD5 | ba26501fda77a33ce5f250bbbfa9bd37 |
|
BLAKE2b-256 | 598f5015924e08e272ae07551ca69dd1aaa699b209c429343e942dfdf6a7b397 |
File details
Details for the file fairy_slipper-0.2.0-py2-none-any.whl
.
File metadata
- Download URL: fairy_slipper-0.2.0-py2-none-any.whl
- Upload date:
- Size: 73.1 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b3d85e6711f1a5a77a1bb973e7bc638e394d83b8ccf1f29a284259ab42b981a |
|
MD5 | 454345309b39f662f6fe78cfe5b56530 |
|
BLAKE2b-256 | bccee06c3359dd475d8d5d0e9fddd4c5e789847c0c7a113a7e9e7095d265f27d |