mockserver 0.1.3

A lightweight, file-based mock API server written in Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/api/user:
  method:
   - GET
  file: user_response.json

/api/order:
  method:
   - POST
   - DELETE
  file: order_data.json
  status_code: 202 #custom Http Status code
  authentication:
    bearer:
      token: TOKEN_STR
      claims:
        sub: SUB
        name: NAME
        iat: 1516238972