Closed shaaga closed 2 years ago
@shaaga - Microsoft.BareMetalInfrastructure
already is onboarded for auto generation. There are no resource PUT APIs defined in your swagger, so there are no possible template resources. Autogeneration runs for this RP and simply doesn't output any resources.
If your RP legitimately supports PUT, then you will need to declare support for this via your swagger spec.
I am trying to onboard "Microsoft.BareMetalInfrastructure" to autogen as part of "Schema Completeness KPI" requirement from ARM team. I am following steps mentioned in this doc: https://github.com/Azure/azure-resource-manager-schemas/blob/main/generator/README.md#onboarding-teams-to-autogeneration-pipeline I have been able to follow till "Running commands" , pasting the output of each comman below. I am not sure what to do next as I dont see schema files autogenerated in my local when I run git status. Pasted the output of it also below.
Can you please guide me on what needs to eb done next?
C:\Users\shaaga\OneDrive - Microsoft\Documents\codebase\azure-resource-manager-schemas\generator>npm run clean
C:\Users\shaaga\OneDrive - Microsoft\Documents\codebase\azure-resource-manager-schemas\generator>npm run list-basepaths
C:\Users\shaaga\OneDrive - Microsoft\Documents\codebase\azure-resource-manager-schemas\generator>npm run list-resources
C:\Users\shaaga\OneDrive - Microsoft\Documents\codebase\azure-resource-manager-schemas\generator>npm run generate-single -- --base-path baremetalinfrastructure/resource-manager
C:\Users\shaaga\OneDrive - Microsoft\Documents\codebase\azure-resource-manager-schemas\generator>git status