/cl-rest-server

Serve REST APIs from Common Lisp

Primary LanguageCommon LispMIT LicenseMIT

Common Lisp REST Server

rest-server is a library for writing REST Web APIs in Common Lisp

Build Status

Documentation:

HTML

PDF

Features:

  • Method matching

    • Based on HTTP method (GET, PUT, POST, DELETE)
    • Based on Accept request header
    • URL parsing (argument types)
  • Serialization

    • Different serialization types (JSON, XML, S-expressions)
  • Error handling

    • Development and production modes
    • HTTP status codes
  • Validation via schemas

  • Annotations for api logging, caching, permission checking, and more.

  • Authentication

    • Different methods (token based, oauth)
  • API client

    • Generation of API client functions via macros
  • APIs documentation