Changes for version 1.01 - 2024-10-06

  • Added nullable attribute to schemas
  • Fixed object strictness check
  • Fixed using partial schemas defined in a hash
  • Improved error locations reported by the module
  • Changed explicit overriding of default values when extending schemas
    • undef is now a valid default value for nullable fields
    • removing existing default value must now be done with Whelk::Schema::NO_DEFAULT

Documentation

Reference to APIs with Whelk
Setting up Whelk inside Kelp

Modules

Whelk as a Kelp module
A friendly API framework based on Kelp
Exceptions for your API
Base class for formatters
Whelk's default OpenAPI generator class
Base Kelp controller for Whelk
Role for Whelk API resources
Whelk validation language
Base class for a Whelk type
Base class for wrappers

Provides

in lib/Whelk/Config.pm
in lib/Whelk/Endpoint.pm
in lib/Whelk/Endpoint/Parameters.pm
in lib/Whelk/Formatter/JSON.pm
in lib/Whelk/Formatter/YAML.pm
in lib/Whelk/ResourceMeta.pm
in lib/Whelk/Schema/Definition/Array.pm
in lib/Whelk/Schema/Definition/Boolean.pm
in lib/Whelk/Schema/Definition/Empty.pm
in lib/Whelk/Schema/Definition/Integer.pm
in lib/Whelk/Schema/Definition/Null.pm
in lib/Whelk/Schema/Definition/Number.pm
in lib/Whelk/Schema/Definition/Object.pm
in lib/Whelk/Schema/Definition/String.pm
in lib/Whelk/Schema/Definition/_Scalar.pm
in lib/Whelk/Schema/ExtraRule.pm
in lib/Whelk/StrictBase.pm
in lib/Whelk/Wrapper/Simple.pm
in lib/Whelk/Wrapper/WithStatus.pm