Skip to content

Conversation

@osteel
Copy link
Owner

@osteel osteel commented Dec 4, 2025

Summary

v0.12 broke support for caching. This PR fixes it and clarifies the package's public API.

Explanation

This PR restores the use of OpenAPI PSR-7 Message Validator's methods to create SpecObjectInterfaces objects, which was removed with #52 and caused cache support to break.

When passed a URL, the package now reads the content of the URL and passes it to OpenAPI PSR-7 Message Validator's JsonFactory or YamlFactory as a string.

The PR also adds the ValidatorBuilder::fromYamlUrl and ValidatorBuilder::fromJsonUrl methods.

Checklist

  • I have provided a summary and an explanation
  • I have reviewed the PR myself and left comments to provide context
  • I have covered the changes with tests as appropriate
  • I have made sure static analysis and other checks are successful

@osteel osteel added the bug Something isn't working label Dec 4, 2025
@osteel osteel self-assigned this Dec 4, 2025
@osteel osteel merged commit 48096d4 into main Dec 4, 2025
12 checks passed
@osteel osteel deleted the bugfix/caching branch December 4, 2025 11:02
@osteel osteel mentioned this pull request Dec 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants