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

OpenAPI3: Fix Infinite recursion with self referencing model #732

Merged
merged 14 commits into from
Jul 25, 2022

Conversation

jianyexi
Copy link
Contributor

@jianyexi jianyexi commented Jul 20, 2022

@azure-pipelines
Copy link

You can try these changes at https://cadlplayground.z22.web.core.windows.net/prs/732/

@jianyexi jianyexi changed the title Fix self ref Fix Infinite recursion with self referencing model Jul 20, 2022
@jianyexi jianyexi marked this pull request as ready for review July 20, 2022 15:26
@timotheeguerin timotheeguerin changed the title Fix Infinite recursion with self referencing model OpenAPI3: Fix Infinite recursion with self referencing model Jul 20, 2022
Copy link
Member

@timotheeguerin timotheeguerin left a comment

Choose a reason for hiding this comment

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

Looks good, I think the same change needs to be done to cadl-autorest as well. The issue in question was showing the cadl-autorest emitter.

packages/openapi3/src/openapi.ts Outdated Show resolved Hide resolved
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.

None yet

2 participants