-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Azure stack deployment resource provider admin open api specification #7561
Conversation
Can one of the admins verify this patch? |
Automation for azure-sdk-for-goNothing to generate for azure-sdk-for-go |
@viananth, please fix those code check errors in Avocado and ModelValidation. |
@viananth, I will take a look |
@viananth, wrong click to remove your comments. Could you leave this issue for now and fix other problems first? |
@lirenhe I posted the question on Teams Channel.... |
@bganapa , thanks for sharing the detailed information, we will investigate this issue. |
@bganapa I took a look at your issue, if you are asking how to specify the "type" of a JToken parameter, you can try using "object" instead of "string". Please refer to the following link: |
Automation for azure-sdk-for-pythonNothing to generate for azure-sdk-for-python |
@lirenhe I have this avocado failure, where as it fails to resolve $(this-folder) for one json but resolves the same for other json files. I can't repro this on my local dev machine. Seems like an issue in the build. Could you pls take a look?
|
I fixed the Model validation errors and it doesn't repro on my dev machine. Not sure why CI is still complaining about it:
|
/azp run |
Azure Pipelines successfully started running 2 pipeline(s). |
.../deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/FileContainer/Create.json
Outdated
Show resolved
Hide resolved
...esource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/ProductPackage.json
Show resolved
Hide resolved
...resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/FileContainer.json
Outdated
Show resolved
Hide resolved
The model validation failed because you added additional space in the property name and value |
For avocado error, currently avocado don't support |
...resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/FileContainer.json
Outdated
Show resolved
Hide resolved
It would be good if you could also fix the code style issue reported by 'PrettierCheck' |
@lirenhe I fixed the prettier check issues, still the CI is reporting the same. I fixed all the examples as well.
|
], | ||
"responses": { | ||
"200": { | ||
"description": "OK", |
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.
I think you need to add 'default' in each response, you could refer this as an example: https://github.com/Azure/azure-rest-api-specs/blob/master/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/DatabaseSchema.json
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.
Prettier Check passed now. It was failing because I had to rebase from master.
@lirenhe Everything looks good now except the known avocado issue. We don't need the "default" value for each response. Could you please merge if it looks good otherwise? Thanks!
Fixes from PR build Fix action type for action plan operation Add response body for operations list example
Fix model validation errors Fix model validation errors. Fix model validation errors
@viananth, please wait for ARM team to signoff this PR then I could merge it. |
@lirenhe This is for AZURESTACK Admin API surface. This does not get deployed to azure. We have our internal AZURESTACK review process and it has already gone through that process. These specs never go through ARM Team sign off. You can look at any PRs for changes under https://github.com/Azure/azure-rest-api-specs/tree/master/specification/azsadmin/resource-manager |
I checked your last PR #7591, it still requires ARM sign off. As you have this PR reviewed in your internal process, I will merge it. |
@lirenhe Thanks for pointing out the last PR. I am pinging the PR owner offline to loop us in. |
Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.
Contribution checklist:
ARM API Review Checklist
Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.
Please follow the link to find more details on API review process.