Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modularize RestApi code #1

Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Cleanup Refactoring
  • Loading branch information
viksrivat committed Jun 25, 2019
commit 5615163f82f5dcf179564381e9af196f09ad07a9
12 changes: 8 additions & 4 deletions samcli/commands/local/lib/local_api_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,14 @@ def _print_routes(api_provider, host, port):
Mounting Product at http://127.0.0.1:3000/path1/bar [GET, POST, DELETE]
Mounting Product at http://127.0.0.1:3000/path2/bar [HEAD]

:param samcli.commands.local.lib.provider.AbstractApiProvider api_provider: API Provider that can return a list of APIs
:param string host: Host name where the service is running
:param int port: Port number where the service is running
:returns list(string): List of lines that were printed to the console. Helps with testing
:param samcli.commands.local.lib.provider.AbstractApiProvider api_provider:
API Provider that can return a list of APIs
:param string host:
Host name where the service is running
:param int port:
Port number where the service is running
:returns list(string):
List of lines that were printed to the console. Helps with testing
"""
grouped_api_configs = {}

Expand Down
Loading