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: ruby-grape/grape-swagger-entity
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.6.0
Choose a base ref
...
head repository: ruby-grape/grape-swagger-entity
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.6.1
Choose a head ref
  • 5 commits
  • 6 files changed
  • 3 contributors

Commits on Apr 26, 2025

  1. Configuration menu
    Copy the full SHA
    48037ae View commit details
    Browse the repository at this point in the history
  2. Fix: badge.

    dblock committed Apr 26, 2025
    Configuration menu
    Copy the full SHA
    4bdb457 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2025

  1. Fix Correctly handle class types like Time in documentation

    This commit fixes an issue where specifying a class like `Time`
    for the `type` option in `expose` documentation resulted in an error
    instead of generating the correct Swagger/OpenAPI specification.
    
    This functionality was working correctly in v0.5.5 but regressed
    after PR #75, leading to the following error:
    
    ```
    GrapeSwagger::Errors::UnregisteredParser:
      No parser registered for Time.
    ```
    
    The `primitive_type?` method now uses
    `GrapeSwagger::DocMethods::DataType.call` to resolve the type
    name before checking if it's a primitive type.
    This ensures that types like `Time` are correctly identified as
    strings with the `date-time` format, restoring the previous behavior.
    krororo committed Apr 28, 2025
    Configuration menu
    Copy the full SHA
    653bcbe View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2025

  1. Merge pull request #79 from krororo/fix-type-class

    Fix Correctly handle class types like Time in documentation
    dblock authored Apr 29, 2025
    Configuration menu
    Copy the full SHA
    cac04bc View commit details
    Browse the repository at this point in the history

Commits on May 6, 2025

  1. Configuration menu
    Copy the full SHA
    4782b74 View commit details
    Browse the repository at this point in the history
Loading