Code Monkey home page Code Monkey logo

armtypegenerator's Introduction

ArmTypeGenerator

CI/CD

A console application to generator C# types for Azure ARM resources from the corresponding json schemas of Azure ARM. A set of generated libraries can be found in this repo: AzureDesignStudio.AzureResources.

ArmTypeGenerator screenshot

How to use

  1. Download the latest version from releases.
  2. Unzip it to a folder. Optionally, add the folder path to the PATH of your environment.
  3. Update the outputDir setting in the Configs/AppConfiguration.json to the absolute path of the folder where you want the generated type files to be in.
  4. Run ArmTypeGenerator.exe from the terminal.
  5. Follow the instructions.

Acknowledgement

The core functions of ArmTypeGenerator is built on top of a customized version of Microsoft.Json.Schema and Microsoft.Json.Schema.ToDotNet which are parts of Microsoft/jschema. Microsoft/jschema is the most complete and useful library for C# to deal with Json schemas that I can find so far. Thanks my colleague @cbellee for recommending it to me.

The console is built on top of the wonderful library Spectre.Console.

armtypegenerator's People

Contributors

chunliu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.