Polar::Generator
Main generator class
Constants
GENERIC_TYPES = ["SystemEvent", "BenefitGrantWebhook", "ListResource", "WebhookPayload"]
Generic types that live in root Polar module, not Polar::Models
POLAR_API_URL = "https://api.polar.sh/openapi.json"
SKIP_SCHEMAS = ["HTTPValidationError", "ResourceNotFound", "NotPermitted", "Unauthorized", "BenefitGrantWebhook", "SystemEvent", "WebhookPayload"]
Schemas to skip (manually defined or using generics)
VERSION = "2.0.0"
Constructors
Instance methods
generate!
Source