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

Conversation

cococonscious
Copy link
Member

No description provided.

cococonscious and others added 4 commits June 6, 2024 10:20
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.
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 cococonscious merged commit ea41f84 into master Jun 13, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants