-
Notifications
You must be signed in to change notification settings - Fork 208
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 with emitter framework (for schemas) #2547
OpenAPI3 with emitter framework (for schemas) #2547
Conversation
…napi3/emitter-framework
Changes in this PR will be published to the following url to try(check status of TypeSpec Pull Request Try It pipeline for publish status): Website: https://tspwebsitepr.z22.web.core.windows.net/prs/2547/ |
…napi3/emitter-framework
…napi3/emitter-framework
packages/samples/test/output/grpc-library-example/@typespec/openapi3/openapi.yaml
Show resolved
Hide resolved
return sourceFiles; | ||
}, | ||
|
||
emitType(type, context?: ContextState) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't you need to handle context's lexicalContext as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like a great improvement to me!
fix #2563
Laborious conversion of the openapi3 emitter to use the emitter framework and hopefully have a cleaner experience
TODO: