Skip to content

v1.3.1

Compare
Choose a tag to compare
@rwb27 rwb27 released this 11 Aug 22:16
· 16 commits to master since this release

This release fixes a bug that caused errors and invalid Thing Descriptions when any schemas in the API included fields with allow_none set to True. This is due to a difference between the W3C Thing Description spec and the JSON Schema language - the latter permits types to be list values, e.g. ["string", "none"] while the former does not. This release handles that case properly, using the oneOf mechanism.