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

feat: support allOf for query params in toOpenApiSpec #97

Merged

Conversation

SchaeStewart
Copy link
Contributor

Motivation

Sometimes /introspection produces a response with allOf: [] for the query params. This adds support to handle it in toOpenApiSpec

aymanenadi
aymanenadi previously approved these changes Mar 25, 2024

expect(errors).toHaveLength(0);

console.log(JSON.stringify(result));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

stray console.log

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@SchaeStewart SchaeStewart force-pushed the support-allOf-for-query-params-in-toOpenApiSpec branch from 7ac7acc to ca7581d Compare March 25, 2024 18:24
@SchaeStewart SchaeStewart merged commit 903f994 into master Mar 25, 2024
4 checks passed
@SchaeStewart SchaeStewart deleted the support-allOf-for-query-params-in-toOpenApiSpec branch March 25, 2024 18:42
Copy link

🎉 This PR is included in version 6.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

3 participants