Skip to content

Schemas used to author and validate Resource Manager Templates

License

Notifications You must be signed in to change notification settings

andimarc/azure-resource-manager-schemas

 
 

Repository files navigation

azure-resource-manager-schemas

This is the repo for template deployment schemas hosted under https://schema.management.azure.com/schemas. Please see below for information on contributing and publishing updated schemas.

Submitting a PR

Tests

Use the following commands to execute the test suite locally:

  • cd tools
  • npm install
  • npm test

Autogenerating from swagger

You can use the generator in this repo to automatically generate a schema from a swagger spec checked into the azure-rest-api-specs repo. We are working on fully automating this process, but please note that until then, it is your responsibility to ensure that the auto-generated schema has been correctly formatted before submitting a pull request.

See Generator README for more information.

Instructions

  1. Fork this repo, and clone it locally.
  2. Run the following commands (replace the base path accordingly - valid paths can be disovered with npm run list-basepaths):
    • cd generator
    • npm install
    • npm run generate-single myprovider/resource-manager
  3. Review the generator logs to ensure no errors, and review the changes generated.
  4. Ensure that you have reviewed the guidelines under Submitting a PR.
  5. Generate a commit and push it to your fork.
  6. Submit a pull request to this repo. Please include the full command output in a PR comment.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

About

Schemas used to author and validate Resource Manager Templates

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%