-
Notifications
You must be signed in to change notification settings - Fork 183
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
REST API PR pipeline should build and store OpenAPI from TypeSpec #3573
Comments
Moved this item to backlog as it's not urgent. |
Need to wait for directory structure, etc. topics to settle before we can do this. |
Starting from API spec pipeline to support swagger auto generation from CADL. |
Hold off this task as the swagger example needs to be considered as part of this automation effort because example is requried along with swagger when check specs into azure rest api spec repo. CADL doesn't support native example so it uses swagger example instead. Swagger example can be automatically generated by oav tool but every time of generation the radom string generated will be different which causes the value overridden. We need to either support generating fixed string value or skipping generation if example exists. |
@mikekistler I wonder if this is still relevant. It also seems to me it might be quite a big chunk of work, judging by the description. |
This is still relevant. My understanding is that there is concern about pushing commits into PRs, but I don't understand the specifics of that concern. The azure-docs-rest-apis pipeline does add new commits to PRs, so it is clearly possible. |
Currently we are deeply into figuring out the correct dir structure. Newest here: @mikekistler re the concern of "do not make automation push changes to PRs automatically" - the sad truth is that many engineers have very weak grasp of how Git branching model operates, hence automation pushing commits to PRs often leads to confusion and increased support burden. @mikeharder just FYI we have this issue on backlog since almost 2 years. |
The REST API Pipeline should run the Cadl compiler to generate the OpenAPI for a service team's Cadl file and add these files to the PR automatically.
The text was updated successfully, but these errors were encountered: