Skip to content

[codex] Resolve operation-level server URLs - #38

Merged
k-kinzal merged 2 commits into
mainfrom
codex/resolve-operation-level-servers
Jul 4, 2026
Merged

[codex] Resolve operation-level server URLs#38
k-kinzal merged 2 commits into
mainfrom
codex/resolve-operation-level-servers

Conversation

@k-kinzal

@k-kinzal k-kinzal commented Jul 4, 2026

Copy link
Copy Markdown
Owner

Summary

  • Resolve effective OpenAPI server URLs with operation-level servers overriding path-level servers, and path-level servers overriding root servers.
  • Register effective server URLs so path/operation-level base URLs can dispatch to the fake server.
  • Use most-specific server URL matching for path stripping and prevent an overridden operation from responding through the wrong server URL.
  • Generate FakeRequest URLs from the matched operation's effective server URL.

Validation

  • composer test
  • composer lint

@k-kinzal
k-kinzal marked this pull request as ready for review July 4, 2026 16:19
…on-level-servers

# Conflicts:
#	src/Interceptor.php
@k-kinzal
k-kinzal merged commit 241f8e8 into main Jul 4, 2026
57 checks passed
@k-kinzal
k-kinzal deleted the codex/resolve-operation-level-servers branch July 4, 2026 16:23
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.

1 participant