From c570b2d24953e689a4f8a5673d6a4a98d9d48e38 Mon Sep 17 00:00:00 2001 From: Daniel Bluhm Date: Thu, 19 Aug 2021 15:34:41 -0400 Subject: [PATCH 1/2] style: remove trailing whitespace in README template Signed-off-by: Daniel Bluhm --- openapi_python_client/templates/README.md.jinja | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openapi_python_client/templates/README.md.jinja b/openapi_python_client/templates/README.md.jinja index e6de0dda5..84c156cb8 100644 --- a/openapi_python_client/templates/README.md.jinja +++ b/openapi_python_client/templates/README.md.jinja @@ -47,10 +47,10 @@ Things to know: 1. `sync_detailed`: Blocking request that always returns a `Request`, optionally with `parsed` set if the request was successful. 1. `asyncio`: Like `sync` but the async instead of blocking 1. `asyncio_detailed`: Like `sync_detailed` by async instead of blocking - + 1. All path/query params, and bodies become method arguments. 1. If your endpoint had any tags on it, the first tag will be used as a module name for the function (my_tag above) -1. Any endpoint which did not have a tag will be in `{{ package_name }}.api.default` +1. Any endpoint which did not have a tag will be in `{{ package_name }}.api.default` ## Building / publishing this Client This project uses [Poetry](https://python-poetry.org/) to manage dependencies and packaging. Here are the basics: From b4f0d15e9e280a81b1735a5b0b430afbb040a998 Mon Sep 17 00:00:00 2001 From: Daniel Bluhm Date: Thu, 19 Aug 2021 16:20:23 -0400 Subject: [PATCH 2/2] fix: tests after small update to README template Signed-off-by: Daniel Bluhm --- end_to_end_tests/golden-record/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/end_to_end_tests/golden-record/README.md b/end_to_end_tests/golden-record/README.md index cf7c54c9b..59706b18f 100644 --- a/end_to_end_tests/golden-record/README.md +++ b/end_to_end_tests/golden-record/README.md @@ -47,10 +47,10 @@ Things to know: 1. `sync_detailed`: Blocking request that always returns a `Request`, optionally with `parsed` set if the request was successful. 1. `asyncio`: Like `sync` but the async instead of blocking 1. `asyncio_detailed`: Like `sync_detailed` by async instead of blocking - + 1. All path/query params, and bodies become method arguments. 1. If your endpoint had any tags on it, the first tag will be used as a module name for the function (my_tag above) -1. Any endpoint which did not have a tag will be in `my_test_api_client.api.default` +1. Any endpoint which did not have a tag will be in `my_test_api_client.api.default` ## Building / publishing this Client This project uses [Poetry](https://python-poetry.org/) to manage dependencies and packaging. Here are the basics: