Welcome to this new release of Mockoon. There are several bug fixes and new features in this version that we hope you will like.
Mockoon is an open-source project built by volunteer maintainers. If you like our application, please consider sponsoring us and join all the Sponsors and Backers who helped this project over time!
We are excited to release a new long-awaited feature: the CRUD endpoint. Where Mockoon routes are independent and stateless, CRUD endpoints can generate multiple routes to perform CRUD operations (Create, Read, Update, Delete) on data buckets. Data buckets are generated when the server start, their state persisting between calls. It makes them the perfect tool to simulate small databases.
Head over to the CRUD routes documentation to learn everything you need to make the most of them.
Mockoon desktop and CLI now listen by default to both IPv4 (0.0.0.0) and IPv6 (::) default addresses. You can also override the hostname in the desktop application in the environment settings tab:
Mockoon can now create responses from OpenAPI
examples during import. Considering this partial OpenAPI YAML specification file:
/activities: get: summary: List of activities responses: '200': content: application/json: schema: type: array items: $ref: '#/components/schemas/Activity' examples: Sports: value: - id: 1 name: Basketball - id: 2 name: Volleyball Music: value: - id: 3 name: Guitar - id: 4
Mockoon will automatically create multiple responses from the schema and the examples:
Mockoon now supports WebDAV's HTTP methods for distributed authoring as specified in the RFC2518 Section 8:
We added a new setting to auto-start the environments when the application launches:
We improved the logs interface to clarify the purpose of the delete button:
-pat runtime or
portsinside a docker-compose configuration file. (Issue #932)
text/markdowncontent type was added to the headers auto-completion.
A big thank you to the following people that helped to make Mockoon better: