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: apple/swift-openapi-generator
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.10.1
Choose a base ref
...
head repository: apple/swift-openapi-generator
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.10.2
Choose a head ref
  • 2 commits
  • 13 files changed
  • 2 contributors

Commits on Jul 29, 2025

  1. Configuration menu
    Copy the full SHA
    576e620 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2025

  1. Fix command plugin when run on targets with dependencies (#801)

    ### Motivation
    
    The command plugin is used for ahead-of-time (AOT) code generation. It
    can be run with `--target`, or without, in which case it considers all
    targets based on the presence of the requisite OpenAPI document and
    config file.
    
    If a target is detected that doesn't have either of these files, it
    should be considered an error if that target was explicitly asked for
    using `--target`. If it wasn't—either because we're looking at all
    targets, or because it is a dependency—it should be skipped.
    
    ### Modifications
    
    - Extend integration test to repro issue for AOT targets with
    dependencies
    - Skip targets that have no requisite files for generation unless they
    were asked for
    
    ### Result
    
    Fixes command plugin when used for AOT generation with targets with
    target dependencies.
    
    ### Test Plan
    
    This PR starts out with a commit that updated the integration test to
    repro the issue, which we should see fail in CI. Only then was a commit
    added to address the issue, restoring the CI to green.
    simonjbeaumont authored Jul 30, 2025
    Configuration menu
    Copy the full SHA
    bb9a135 View commit details
    Browse the repository at this point in the history
Loading