Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 672 Bytes

README.md

File metadata and controls

16 lines (10 loc) · 672 Bytes

CouchDB Swagger Generator

This PHP CLI script will scrape CouchDB API documentation and generate a Swagger 3.0 file. You can find the file in this repository as well under couchdb.json.

Usage

If you want to generate the file yourself, you can run the following command:

php cli.php > couchdb.json

Notes

  • /{db}/_design/{ddoc}/_rewrite/{path} uses the HTTP method 'any'. This is not supported and we replaced it with post.
  • Some of the API calls have the HTTP method 'copy'. These have been removed.