Skip to content

Latest commit

 

History

History
49 lines (36 loc) · 2.17 KB

0.3.0.rst

File metadata and controls

49 lines (36 loc) · 2.17 KB

Roboswag 0.3.0

Fixes and changes to improve Roboswag compatibility with OpenAPi v2. Also our project went through transformation - we added automated workflows, started working on tests and initialized external documentation.

You can install the latest available version by running:

pip install --upgrade roboswag

or to install exactly this version:

pip install roboswag==0.3.0

CLI refactor

Roboswag CLI went through major refactor. Now we are using click instead of argparse. It includes backward incompatible change - if you want to generate Python files you need to use generate command (#32).

Old:

roboswag -s spec.json

New:

roboswag generate -s spec.json

Fixes

  • If the definition didn't have properties, it defaulted to empty list while Roboswag expected dict (#43)
  • Refatored pythonify name method to be more efficient (#43)
  • If the model didn't have any properties, it failed to generate (#43)
  • Properties can contain names which are reserved words in Python (like global) and it failed to generate (#43)
  • Roboswag didn't work on Python 3.7 (#39)

Other

It is mostly changes around our project but it will greatly in Roboswag development:

  • added precommits (#30)
  • automated release workflow (#33)
  • bootstrapped external docs with automatic builds (#35)
  • created first tests & started working on test framework (#37)
  • test workflow (#38)

Acknowledgements