phovea/phovea_server

swagger: implement custom convertors

Opened this issue · 0 comments

e.g. if it is a type=string with format=range it should be converted to a range automatically.

see also http://exploreflask.com/en/latest/views.html#custom-converters
and http://connexion.readthedocs.io/en/latest/cookbook.html#custom-type-format

range -> ranges.parse
json -> json.loads