Skip to content

Commit f56e9f1

Browse files
committed
[python] Re-generate samples
Done with: # remove existing artifacts rm -rf samples/client/echo_api/python/* rm -rf samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/* rm -rf samples/openapi3/client/petstore/python/* rm -rf samples/openapi3/client/petstore/python-aiohttp/* rm -rf samples/openapi3/client/petstore/python-httpx/* rm -rf samples/openapi3/client/petstore/python-lazyImports/* # restore manually added tests git checkout -f HEAD -- samples/client/echo_api/python/tests git checkout -f HEAD -- samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/tests git checkout -f HEAD -- samples/openapi3/client/petstore/python/tests git checkout -f HEAD -- samples/openapi3/client/petstore/python-aiohttp/tests git checkout -f HEAD -- samples/openapi3/client/petstore/python-httpx/tests git checkout -f HEAD -- samples/openapi3/client/petstore/python-lazyImports/tests # ...and test files git checkout -f HEAD -- samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/testfiles git checkout -f HEAD -- samples/openapi3/client/petstore/python/testfiles git checkout -f HEAD -- samples/openapi3/client/petstore/python-aiohttp/testfiles git checkout -f HEAD -- samples/openapi3/client/petstore/python-httpx/testfiles git checkout -f HEAD -- samples/openapi3/client/petstore/python-lazyImports/testfiles # regenerate samples /mvnw clean package -DskipTests ./bin/generate-samples.sh bin/configs/python.yaml bin/configs/python-echo-api.yaml This highlights a number of file mode changes along with some tests and docs for things that no longer exist in the relevant OpenAPI specs. Signed-off-by: Stephen Finucane <stephen@that.guru>
1 parent ae8352d commit f56e9f1

42 files changed

Lines changed: 116 additions & 1088 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/docs/TestQueryStyleFormExplodeTrueArrayIntegerQueryObjectParameter.md

Lines changed: 0 additions & 29 deletions
This file was deleted.

samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/test_query_style_form_explode_true_array_integer_query_object_parameter.py

Lines changed: 0 additions & 93 deletions
This file was deleted.

samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/test/test_query_api.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,13 @@ def test_test_query_style_form_explode_true_object_all_of(self) -> None:
9797
"""
9898
pass
9999

100+
def test_test_query_style_json_serialization_object(self) -> None:
101+
"""Test case for test_query_style_json_serialization_object
102+
103+
Test query parameter(s)
104+
"""
105+
pass
106+
100107

101108
if __name__ == '__main__':
102109
unittest.main()

samples/client/echo_api/python/docs/TestQueryStyleFormExplodeTrueArrayIntegerQueryObjectParameter.md

Lines changed: 0 additions & 29 deletions
This file was deleted.

samples/client/echo_api/python/openapi_client/models/test_query_style_form_explode_true_array_integer_query_object_parameter.py

Lines changed: 0 additions & 88 deletions
This file was deleted.

0 commit comments

Comments
 (0)