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: thim81/openapi-format
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.27.3
Choose a base ref
...
head repository: thim81/openapi-format
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.28.0
Choose a head ref
  • 5 commits
  • 16 files changed
  • 3 contributors

Commits on Sep 3, 2025

  1. fix: resolve incorrect relative paths in split component references (#…

    …175)
    
    Fixes issue where split OpenAPI documents could not be bundled back
    due to incorrect relative path generation in component $ref references.
    
    **Problem:**
    When splitting an OpenAPI document, components that reference other
    components (e.g., User schema referencing NotificationPreferences)
    would generate incorrect relative paths. This caused bundling to fail
    with errors like:
    "Cannot resolve: components/schemas/schemas/NotificationPreferences.json"
    
    **Root Cause:**
    In writeComponents(), the convertComponentsToRef() function was passed
    'components' as currentFileDir instead of the full path 'components/{type}'.
    This caused relative path calculation to be incorrect.
    
    **Fix:**
    Changed utils/split.js line 63 to pass the correct directory path:
    - Before: convertComponentsToRef(..., 'components')
    - After: convertComponentsToRef(..., path.join('components', componentType))
    
    **Result:**
    - Split documents now generate correct relative paths
    - Bundling works correctly for all component references
    - All existing tests continue to pass
    
    🤖 Generated with [Claude Code](https://claude.ai/code)
    
    Co-authored-by: Claude <[email protected]>
    SaranshChaudhary and claude authored Sep 3, 2025
    Configuration menu
    Copy the full SHA
    38f2bdc View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2025

  1. Configuration menu
    Copy the full SHA
    d06f2c9 View commit details
    Browse the repository at this point in the history
  2. Overlay - Support "extends" for referencing OpenAPI documents (#178)

    * Overlay - Support "extends" for referencing OpenAPI documents
    thim81 authored Sep 12, 2025
    Configuration menu
    Copy the full SHA
    f240a5f View commit details
    Browse the repository at this point in the history
  3. release 1.28.0

    thim81 committed Sep 12, 2025
    Configuration menu
    Copy the full SHA
    31e4032 View commit details
    Browse the repository at this point in the history
  4. 1.28.0

    thim81 committed Sep 12, 2025
    Configuration menu
    Copy the full SHA
    fe448b3 View commit details
    Browse the repository at this point in the history
Loading