Skip to content

Script to scrape CouchDB documentation and convert it to OpenAPI 3 / Swagger format.

Notifications You must be signed in to change notification settings

digitalnodecom/couchdb-swagger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Script to scrape CouchDB documentation and convert it to OpenAPI 3 / Swagger format.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages