Moclojer: A Lightweight HTTP Mock Server for Clojure
Moclojer is a lightweight HTTP mock server that allows users to define specifications using YAML, EDN, or OpenAPI formats. It can be downloaded as a JAR file and requires Java to run. Users can customize the server's configuration, specify mock endpoints, and choose output formats. Moclojer is written in Clojure and can be integrated into projects via Clojars. The documentation provides guidance on installation, configuration, and usage, including running tests and generating reports.
- Supports YAML, EDN, and OpenAPI for endpoint specifications
- Default port is 8000, customizable via an environment variable
- Available as a JAR file and via Docker images
- Written in Clojure, requiring Clojure for certain commands
- Can be integrated into projects using Clojars
How can I run moclojer on my machine?
You can run moclojer by downloading the JAR file and using the command java -jar moclojer.jar [OPTIONS]
, making sure Java is installed on your system.
What formats can I use to specify mock endpoints?
Moclojer supports YAML, EDN, and OpenAPI formats for defining mock endpoints.
Where can I find the documentation for moclojer?
The complete documentation for moclojer is available online, providing details on installation, configuration, and usage.