Releases: Cornices/cornice.ext.swagger
Releases · Cornices/cornice.ext.swagger
1.0.0
0.7.0
- Support swagger
example
field on colanderSchemaNode
custom kwarg:
def SomeSchema(colander.MappingSchema):
name = colander.SchemaNode(colander.String(), example='Mr. IceCream')
The example
field is returned in the swagger spec accordingly.
0.6.0
0.5.5
0.5.4
0.5.3
Pyramid compliance
- Handle callables for
cornice.service.Service.content_type
argument.
For more details, see: http://cornice.readthedocs.io/en/latest/api.html#cornice.service.Service.