Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1.27 KB

README.md

File metadata and controls

32 lines (22 loc) · 1.27 KB

Build Status Code Climate Test Coverage Issue Count

CherryPy-Swagger

Swagger Extensions for CherryPy

Examples

Random String Generator

string_generator.py

This is a modified version of the CherryPy Give us a REST example that uses static files instead of sessions. Swagger 2.0 doesn't support sessions currently so using a session in the example won't work.

To run the application:

python server.py

Run Swagger 2.0 UI

Start the Swagger 2.0 UI service by following the instructions with the code.

In the web page you can go to the http://localhost:1234/swagger.json to play around with the UI.