Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add function to check if a schema matches one in root document #945

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Apr 22, 2024

  1. Add function to check if a schema matches the root document's

    It does this by keeping track of the source file paths of schemas in
    multi-file'd specs.
    
    This enables the amalgamation of schemas which reference the same underlying
    model which removes *very annoying* to use anonymous structs in generated
    models when using codegen tools like oapi-codegen.
    percivalalb authored and Alex Barter committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    8306348 View commit details
    Browse the repository at this point in the history