|
1 | 1 | ### 🎉🎊🍾 New feature |
2 | 2 | <hr> |
3 | 3 |
|
4 | | -1. Provide command line interface ``mock-api`` for mocking HTTP server. |
5 | | - |
6 | | - ```shell |
7 | | - usage: mock-api [SUBCOMMAND] [OPTIONS] |
8 | | - |
9 | | - A Python tool for mocking APIs by set up an application easily. PyMock-API bases on Python web framework to set up application, i.e., you could select using *flask* to set up application to mock APIs. |
10 | | - |
11 | | - options: |
12 | | - -h, --help show this help message and exit |
13 | | - -v, --version The version info of PyMock-API. |
14 | | - |
15 | | - Subcommands: |
16 | | - |
17 | | - {run,sample,add,check,get,pull} |
18 | | - run Set up APIs with configuration and run a web application to mock them. |
19 | | - sample Quickly display or generate a sample configuration helps to use this tool. |
20 | | - add Something processing about configuration, i.e., generate a sample configuration or validate configuration content. |
21 | | - check Check the validity of *PyMock-API* configuration. |
22 | | - get Do some comprehensive inspection for configuration. |
23 | | - pull Pull the API details from one specific source, e.g., Swagger API documentation. |
24 | | - ``` |
25 | | -
|
26 | | -2. Provide [documentation](https://chisanan232.github.io/PyMock-API/) for details of the project. |
| 4 | +1. Support parsing version2 (aka Swagger) and version3 OpenAPI document configuration. |
| 5 | +2. Support nested data structure about collection data types, i.e., ``list`` or ``dict``, in response. |
| 6 | +3. Add new command line argument ``--source-file`` in sub-command line ``pull`` for being more convenience to pull configuration for **_PyMock-API_**. |
| 7 | +4. Let sub-command line ``add`` support dividing feature. |
| 8 | + |
| 9 | + |
| 10 | +### 🛠🐛💣 Bug Fix |
| 11 | +<hr> |
| 12 | + |
| 13 | +1. Fix some issues. |
| 14 | + 1. It cannot parse finely at the empty body of one specific column in response. |
| 15 | + 2. Fix broken tests. |
| 16 | + 3. Fix incorrect serializing logic if request parameter or body is empty. |
| 17 | + 4. Fix incorrect checking logic at configuration validation in sub-command line ``check``. |
| 18 | + 5. Fix the issue about it cannot work finely with argument ``--base-file-path`` in sub-command line ``pull``. |
| 19 | + |
| 20 | + |
| 21 | +### 🤖⚙️🔧 Improvement |
| 22 | +<hr> |
| 23 | + |
| 24 | +1. Upgrade the dependencies. |
| 25 | +2. Upgrade the reusable workflows in CI workflow. |
| 26 | +3. Extract the logic about initialing test data for testing as modules. |
| 27 | + |
| 28 | + |
| 29 | +### 📝📑📗Docs |
| 30 | +<hr> |
| 31 | + |
| 32 | +1. Update the content for new feature. |
0 commit comments