Swagger-to

Latest version: v5.0.1

Safety actively analyzes 621498 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

5.0.0

=====
* Added support for Python 3.9 and 3.10 (136)
* Upgraded to jinja2 >=3 (137)
* Fixed endless loops due to recursive definitions (131)
* Added quotes to type annotations in py client (130)

Breaking change
---------------
* We had to drop the support for Python 3.6 since jinja2 >= 3 does not support it anymore.

4.1.1

=====
* Supported ``Any`` type value (i.e. empty type) (126)
* Removed support for Python 3.5 (127)

4.1.0

=====
* Propagated ``produces`` and ``consumes`` (123)
* Fixed handling of spaces in names in py client (122)
* Made ``allOf`` imply the type "object" (119)
* Handled ``allOf`` (116)
* Made format optional (115)
* Escaped operation IDs for valid Elm identifiers (113)
* Assumed type ``object`` if properties (112)
* Fixed line number while parsing Swagger spec (110)
* Support common parameters in a path (103)
* Added JSON schema validation before parsing (102)
* Fixed ``bin`` scripts not executing under Unix (101)

4.0.1

=====
* made py_client use ``get`` for optionals so that None values are treated as
unspecified
* made py_client accept custom requests.Session object
* fixed py_client for operation IDs with dashes

4.0.0

=====
Breaking change:

* made py-client give back streams on file responses

Non-breaking changes:

* added support for empty schema type (*i.e.* arbitrary type)
* added boolean argument support in go-server
* added "generated code" comment based on official format of golang
* fixed indent of structs in go-server

3.1.4

=====
* fixed JSON pointer representation.
* tested against multiple Python version (3.5, 3.6, 3.7 and 3.8).
* upgraded mypy to 0.782 and pylint to 2.5.3 and fixed the resulting issues.

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.