While using this library for testing, I've had to modify aspects to enable compatibility with a semi-mocked requests Session proxy. It would be nice to be able to provide a factory for the session at runtime, and have the resulting session passed into Operations.
If a session is defined at the top level, pass it through to the
Operation class, so that it is used instead of the default session
generated at parse-time.
While using this library for testing, I've had to modify aspects to enable compatibility with a semi-mocked requests Session proxy. It would be nice to be able to provide a factory for the session at runtime, and have the resulting session passed into Operations.
Allow custom session factories
d4614bf - 7331206+chrised@users.noreply.github.com
This assists in enabling tests to utilise openapi3 to validate their local/test endpoints.
Session passthrough to Operation(s)
2b332da - 7331206+chrised@users.noreply.github.com
If a session is defined at the top level, pass it through to the Operation class, so that it is used instead of the default session generated at parse-time.