Skip to content

[codex] support scoped OpenAPI servers#254

Closed
HavenDV wants to merge 8 commits intomainfrom
codex/issue-229-runtime-server-selection
Closed

[codex] support scoped OpenAPI servers#254
HavenDV wants to merge 8 commits intomainfrom
codex/issue-229-runtime-server-selection

Conversation

@HavenDV
Copy link
Copy Markdown
Collaborator

@HavenDV HavenDV commented Apr 9, 2026

Summary

  • add operation-level and path-level server precedence on top of document-level servers
  • generate runtime server selection support only for clients that actually need multi-server resolution
  • cover the new precedence and generation paths with focused unit tests

Testing

  • dotnet build /p:TreatWarningsAsErrors=true
  • dotnet test src/tests/AutoSDK.UnitTests/AutoSDK.UnitTests.csproj
  • dotnet test src/tests/AutoSDK.IntegrationTests.Cli/AutoSDK.IntegrationTests.Cli.csproj --filter "FullyQualifiedName~Generate_WithServerVariableDefaults_UsesResolvedBaseUrl"
  • dotnet test src/tests/AutoSDK.SnapshotTests/AutoSDK.SnapshotTests.csproj

Closes #229

@HavenDV HavenDV marked this pull request as ready for review April 10, 2026 01:15
@HavenDV
Copy link
Copy Markdown
Collaborator Author

HavenDV commented Apr 10, 2026

Superseded by #271. This PR shell stopped attaching GitHub Actions runs to new head SHAs, so the updated branch was republished on a fresh PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support path-level and operation-level servers plus runtime server selection

1 participant