Subcommand rest-server
usage¶
If you try to mock HTTP server which through REST API to communicate between client side and server side, subcommand
rest-server
must can help you to do that easily and quickly.
This subcommand line doesn't have any options but have multiple subcommand lines for processing different operation.
subcommand run
¶
Set up a REST API server.
subcommand get
¶
Get the details by the specific API from configuration.
subcommand add
¶
Add new API into configuration.
subcommand check
¶
Check the validation of configuration.
subcommand sample
¶
Display the valid example configuration.
subcommand pull
¶
Pull the API documentation detail setting from document host or document configuration as PyFake-API-Server configuration.