Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release new minor version #218

Merged
merged 4 commits into from
Jun 13, 2024
Merged

Release new minor version #218

merged 4 commits into from
Jun 13, 2024

Commits on Jun 6, 2024

  1. feat: api validation by rules in apikana-defaults (#215)

    Uses validatorjs to validate rules defined in apikana-defaults (under 'validation').
    See the validatorjs documentation on how to define such rules.
    The main intention behind this feature was to enforce the presence of
    additional properties in an OpenAPI specification.
    cococonscious authored Jun 6, 2024
    Configuration menu
    Copy the full SHA
    347f39e View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2024

  1. Configuration menu
    Copy the full SHA
    4e03d10 View commit details
    Browse the repository at this point in the history
  2. feat: generate descriptions with metadata (#216)

    Appends a paths metadata to each of its methods description. Relies on an object in apikana-defaults, "metadata", containing the properties "matchProps" and "mappedKeys".
    "matchProps" expects a string containing a regular expression matching the paths properties which should be handled as metadata, the default being "^x-.*$".
    "mappedKeys" expects an object containing mappings for the keys contained in a metadata property, intended to make the descriptions better looking, the default is an empty object.
    cococonscious authored Jun 13, 2024
    Configuration menu
    Copy the full SHA
    e5a591b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bca572e View commit details
    Browse the repository at this point in the history