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

[WIP] Open api3 rebased #928

Draft
wants to merge 55 commits into
base: master
Choose a base branch
from
Draft

Commits on Jul 12, 2024

  1. wip: openapi 3.0

    blake authored and numbata committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    4604e1a View commit details
    Browse the repository at this point in the history
  2. move files to respective version folders

    blake authored and numbata committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    f29e14c View commit details
    Browse the repository at this point in the history
  3. begin to parse params

    blake authored and numbata committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    ac90d9f View commit details
    Browse the repository at this point in the history
  4. fix failing tests

    blake authored and numbata committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    6bac652 View commit details
    Browse the repository at this point in the history
  5. Initial support for openapi3 requestBody

    blake authored and numbata committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    af9b11d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c266c5b View commit details
    Browse the repository at this point in the history
  7. Fix array parameter type (not custom types for now)

    blake authored and numbata committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    c7170da View commit details
    Browse the repository at this point in the history
  8. add tests

    blake authored and numbata committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    94a3fee View commit details
    Browse the repository at this point in the history
  9. Initial support for openapi3 components/schemas

    blake authored and numbata committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    3189dfa View commit details
    Browse the repository at this point in the history
  10. Fix tests

    blake authored and numbata committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    d3120f8 View commit details
    Browse the repository at this point in the history
  11. Add test

    blake authored and numbata committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    7f846a6 View commit details
    Browse the repository at this point in the history
  12. Add test

    blake authored and numbata committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    54de96d View commit details
    Browse the repository at this point in the history
  13. Fix edge cases with ranges, floats and strings

    blake authored and numbata committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    aeb40a7 View commit details
    Browse the repository at this point in the history
  14. Add test

    blake authored and numbata committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    1c85b58 View commit details
    Browse the repository at this point in the history
  15. Add test

    blake authored and numbata committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    ce8c852 View commit details
    Browse the repository at this point in the history
  16. Add test

    blake authored and numbata committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    a7872ca View commit details
    Browse the repository at this point in the history
  17. Add test

    blake authored and numbata committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    f0f2816 View commit details
    Browse the repository at this point in the history
  18. Add test

    blake authored and numbata committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    48932a5 View commit details
    Browse the repository at this point in the history
  19. Better implementation of request body

    blake authored and numbata committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    ac5ad64 View commit details
    Browse the repository at this point in the history
  20. Fix test

    blake authored and numbata committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    a41d712 View commit details
    Browse the repository at this point in the history
  21. Add test

    blake authored and numbata committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    c2e6a5a View commit details
    Browse the repository at this point in the history
  22. Add test

    blake authored and numbata committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    47ec64e View commit details
    Browse the repository at this point in the history
  23. Add test

    blake authored and numbata committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    5d3b522 View commit details
    Browse the repository at this point in the history
  24. fix array test

    blake authored and numbata committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    d305600 View commit details
    Browse the repository at this point in the history
  25. Fix test

    blake authored and numbata committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    dcdcc38 View commit details
    Browse the repository at this point in the history
  26. Add test

    blake authored and numbata committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    1518be3 View commit details
    Browse the repository at this point in the history
  27. Add test

    blake authored and numbata committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    8998cbf View commit details
    Browse the repository at this point in the history
  28. Add test

    blake authored and numbata committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    e1d09c1 View commit details
    Browse the repository at this point in the history
  29. Add test

    blake authored and numbata committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    3eb21a2 View commit details
    Browse the repository at this point in the history
  30. Add test

    blake authored and numbata committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    12e7a4f View commit details
    Browse the repository at this point in the history
  31. Add test

    blake authored and numbata committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    d65d13e View commit details
    Browse the repository at this point in the history
  32. Add test

    blake authored and numbata committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    bbf21b9 View commit details
    Browse the repository at this point in the history
  33. Add test

    blake authored and numbata committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    5ff4d39 View commit details
    Browse the repository at this point in the history
  34. Add test

    blake authored and numbata committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    4c470fb View commit details
    Browse the repository at this point in the history
  35. Fix tests

    blake authored and numbata committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    f50a24a View commit details
    Browse the repository at this point in the history
  36. Add test

    blake authored and numbata committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    7a3fb37 View commit details
    Browse the repository at this point in the history
  37. Add test

    blake authored and numbata committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    a89c16f View commit details
    Browse the repository at this point in the history
  38. Add test

    blake authored and numbata committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    c0d9ee9 View commit details
    Browse the repository at this point in the history
  39. Add test

    blake authored and numbata committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    7199caf View commit details
    Browse the repository at this point in the history
  40. Fix file response body

    blake authored and numbata committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    1ebeb33 View commit details
    Browse the repository at this point in the history
  41. Add examples spec

    blake authored and numbata committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    b3eaa88 View commit details
    Browse the repository at this point in the history
  42. Fix host test

    blake authored and numbata committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    b4c95fe View commit details
    Browse the repository at this point in the history
  43. Add specs

    blake authored and numbata committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    230efaf View commit details
    Browse the repository at this point in the history
  44. Fix guarded endpoint spec, after a rebase

    blake authored and numbata committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    5d6bb3a View commit details
    Browse the repository at this point in the history
  45. Fix spec

    blake authored and numbata committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    9713a2b View commit details
    Browse the repository at this point in the history
  46. Add spec

    blake authored and numbata committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    1f9c449 View commit details
    Browse the repository at this point in the history
  47. Add spec

    blake authored and numbata committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    9b6cb2a View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2024

  1. Fix: Prevent class name collisions in specs with ApiClassDefinitionCl…

    …eaner
    
    Add ApiClassDefinitionCleaner module to track and remove classes that inherit from
    Grape::API. This change prevents classname collisions between different specs, ensures
    that no remaining classes interfere with subsequent tests, and prevents ArgumentError
    caused by unexpected module inclusions.
    
    Details:
    
    - Created ApiClassDefinitionCleaner module with before(:all) and after(:all) hooks.
    - Hooks track initial and current state of Grape::API subclasses.
    - Identifies and removes newly defined classes after each spec run to prevent
      unintentional changes and conflicts.
    numbata committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    2cbb17b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fd14ca9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f55b906 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2024

  1. Cleanup a bit

    numbata committed Jul 14, 2024
    Configuration menu
    Copy the full SHA
    510457f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    752525a View commit details
    Browse the repository at this point in the history
  3. Specs fix

    numbata committed Jul 14, 2024
    Configuration menu
    Copy the full SHA
    dcecc68 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    00ed99e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5288b69 View commit details
    Browse the repository at this point in the history