class QueryParser(parsers.Parser): commands = parsers.ListField(child=parsers.CharField(), default=None) with_schemas = parsers.BooleanField(default=True) is_private = parsers.BooleanField(default=None) domain_id = parsers.CharField(default=None) version = parsers.CharField(default=None)
class QueryParser(parsers.Parser): title = parsers.CharField() prices = parsers.ListField(child=parsers.IntegerField())
class BodyParser(parsers.Parser): title = parsers.CharField() amount = parsers.IntegerField(max_value=19)
class BParser(parsers.Parser): title = parsers.CharField() quantity = parsers.IntegerField()
class BodyParser(parsers.Parser): name = parsers.CharField() age = parsers.IntegerField()