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

improved schema preprocessor and Date object handling (validation/serialization) for response bodies #499

Merged
merged 33 commits into from
Dec 26, 2020

Commits on Dec 18, 2020

  1. CoerceComponents feature as expected in #353

    We can cast data from request to object or transform object to string (or other type) in response.
    Documentation modified and an example project created
    pilerou committed Dec 18, 2020
    Configuration menu
    Copy the full SHA
    a254fc4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    94c05dc View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2020

  1. Patch AJV cache integration issue. AJV has a cache by schema descript…

    …ion. We must add an unique ID field in schema description in order to have a specific schema description for each component
    
    +
    Test added coercecomponents.spec.ts
    + example modified in order to expose a date
    pilerou committed Dec 20, 2020
    Configuration menu
    Copy the full SHA
    7a27963 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a7e98f8 View commit details
    Browse the repository at this point in the history
  3. - Changes coerceComponents to schemaObjectMapper

    - Fix function names serialize and deserialize => To be clear for everybody on which functions are executed on requests and responses, it's now `deserializeRequestComponent` and `serializeResponseComponent`
    pilerou committed Dec 20, 2020
    Configuration menu
    Copy the full SHA
    58675a3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    493c8e9 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2020

  1. Configuration menu
    Copy the full SHA
    06185f1 View commit details
    Browse the repository at this point in the history
  2. doc: update documentation

    cdimascio committed Dec 21, 2020
    Configuration menu
    Copy the full SHA
    99cbaf3 View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2020

  1. traverse spec

    cdimascio committed Dec 23, 2020
    Configuration menu
    Copy the full SHA
    f201808 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    76e1a85 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7480ea6 View commit details
    Browse the repository at this point in the history
  4. update preprocessor

    cdimascio committed Dec 23, 2020
    Configuration menu
    Copy the full SHA
    037cf9b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    37ee125 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a396d97 View commit details
    Browse the repository at this point in the history

Commits on Dec 24, 2020

  1. Configuration menu
    Copy the full SHA
    abce8e1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2ea49fd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c04540c View commit details
    Browse the repository at this point in the history
  4. fix: update method name

    cdimascio committed Dec 24, 2020
    Configuration menu
    Copy the full SHA
    991f4f9 View commit details
    Browse the repository at this point in the history
  5. cleanup

    cdimascio committed Dec 24, 2020
    Configuration menu
    Copy the full SHA
    1372bc2 View commit details
    Browse the repository at this point in the history
  6. rename preprocessor

    cdimascio committed Dec 24, 2020
    Configuration menu
    Copy the full SHA
    cbac269 View commit details
    Browse the repository at this point in the history
  7. rename var

    cdimascio committed Dec 24, 2020
    Configuration menu
    Copy the full SHA
    2bbe0d1 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    a939c6a View commit details
    Browse the repository at this point in the history
  9. fix: types

    cdimascio committed Dec 24, 2020
    Configuration menu
    Copy the full SHA
    80d9895 View commit details
    Browse the repository at this point in the history

Commits on Dec 25, 2020

  1. Configuration menu
    Copy the full SHA
    7ddadb1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    af09f55 View commit details
    Browse the repository at this point in the history
  3. doc: update README

    cdimascio committed Dec 25, 2020
    Configuration menu
    Copy the full SHA
    e6ba70a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f9f3df6 View commit details
    Browse the repository at this point in the history
  5. doc: update README

    cdimascio committed Dec 25, 2020
    Configuration menu
    Copy the full SHA
    18df83a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7031af4 View commit details
    Browse the repository at this point in the history
  7. doc: update README

    cdimascio committed Dec 25, 2020
    Configuration menu
    Copy the full SHA
    751a427 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    95659c7 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    63d623c View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    9b03e5c View commit details
    Browse the repository at this point in the history