def openapi_field(self) -> fields.Field: return fields.String( description= "Address (IPv4 or IPv6) under which the management board can be reached.", validate=fields.ValidateAnyOfValidators([ fields.ValidateIPv4(), fields.ValidateIPv6(), ]), )
def openapi_field(self) -> fields.Field: return fields.List( fields.String(validate=fields.ValidateIPv6()), description="A list of IPv6 addresses.", )
def openapi_field(self) -> fields.Field: return fields.String( description="An IPv6 address.", validate=fields.ValidateIPv6(), )