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

Refactor openapi3 shared route to reuse logic better #4044

Merged
merged 9 commits into from
Jul 29, 2024

Conversation

timotheeguerin
Copy link
Member

@timotheeguerin timotheeguerin commented Jul 29, 2024

There was a lot of duplicate code that made it very annoying to update and error prone.

Additionally I got rid of the currentEndpoint state to depend more on functional resolution

@microsoft-github-policy-service microsoft-github-policy-service bot added the emitter:openapi3 Issues for @typespec/openapi3 emitter label Jul 29, 2024
@azure-sdk
Copy link
Collaborator

azure-sdk commented Jul 29, 2024

All changed packages have been documented.

  • @typespec/openapi3
Show changes

@typespec/openapi3 - internal ✏️

Refactor openapi3 shared route to reuse logic better

@azure-sdk
Copy link
Collaborator

You can try these changes here

🛝 Playground 🌐 Website 📚 Next docs

@timotheeguerin timotheeguerin added this pull request to the merge queue Jul 29, 2024
Merged via the queue into microsoft:main with commit a3ccb1a Jul 29, 2024
22 checks passed
@timotheeguerin timotheeguerin deleted the refactor/shared-routes branch July 29, 2024 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
emitter:openapi3 Issues for @typespec/openapi3 emitter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants