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

Support $ref to other files and repos #349

Open
taylor-sutton opened this issue Mar 24, 2021 · 1 comment
Open

Support $ref to other files and repos #349

taylor-sutton opened this issue Mar 24, 2021 · 1 comment

Comments

@taylor-sutton
Copy link
Contributor

It would be helpful to reduce duplication across projects if we could refer to models/definitions from outside the current file.

@nathanleiby
Copy link
Contributor

This blog post provides a nice overview and justification: https://davidgarcia.dev/posts/how-to-split-open-api-spec-into-multiple-files/

It also suggests a workaround (basically: write multiple files then use pre-processing to join them), but ideally Wag could support this directly.

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

No branches or pull requests

2 participants