Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: vacekj/express-json-validator-middleware
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.0.1
Choose a base ref
...
head repository: vacekj/express-json-validator-middleware
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 5 commits
  • 1 file changed
  • 3 contributors

Commits on Mar 12, 2024

  1. fix: issue with example URL query string in README.md

    Line 214 exemplifies the use of validating query string URL parameters using the library. However, the example was using the wrong query string parameter - "uuid", whereas the preceding JSON schema (tokenSchema) starting from line 188, was checking for a property called "token".
    snnair committed Mar 12, 2024
    Copy the full SHA
    d639ea8 View commit details
  2. added an example for validating request path parameters.

    Currently, there is no documentation/example on how one could go about validating request path parameters, even though the library supports this. Added an example for the same.
    snnair committed Mar 12, 2024
    Copy the full SHA
    1987956 View commit details

Commits on Mar 14, 2024

  1. Merge pull request #121 from snnair/refine-documentation

    fix: issue with example URL query string in README.md and added documentation for validating request path parameters
    simonplend authored Mar 14, 2024
    Copy the full SHA
    1398af0 View commit details

Commits on Jul 5, 2024

  1. Update README.md typescript section to incorporate Ajv JSONSchemaType…

    … utility type
    
    By combining express-json-validator-middleware's AllowedSchema with Ajv's recommended typescript approach we can still get type safety within the schema object while satisfying the validate function type safety.
    shane-js authored Jul 5, 2024
    Copy the full SHA
    eedc005 View commit details

Commits on Aug 7, 2024

  1. Merge pull request #122 from shane-js/patch-1

    Update README.md TypeScript section to recommend Ajv JSONSchemaType utility type
    simonplend authored Aug 7, 2024
    Copy the full SHA
    3b83885 View commit details
Loading