Giter VIP home page Giter VIP logo

azure-rest-api-specs's Introduction

Repo Status

Azure REST API Specifications

Description

This repository is the canonical source for REST API specifications for Microsoft Azure.

Basics

If you're a spec author looking for information about all of of the repositories and steps in the pipeline, go to the adx-documentation-pr repository. Make sure to join the Github Azure organization to get access to that repo.

Getting started

Directory Structure

The structure of the directory should strictly follow these rules:

  1. Profile: The profile holder contains the profiles' definition MD files. these files will contain information and references to the snapshots of the RPs' Resource types or Dataplane API versions that represent a specific profile.

  2. Specification: This folder the is root folder for all Specs (Management and Dataplane) related docs.

  3. Folders - each RP will have a seperate folder

  4. 'resource-manager' and 'data-plane' Folders: the RPs can put specs in one of two categories: resource-manager (for ARM resources) and data-plane (for everything else) . The autorest configuration file (readme.md) for the RP should be inside this folder

  5. API versions: this folder will be the direct child of the category folder. there will be one such folder per resource type or dataplane service version. This folder will contain the OpenAPI validation Specs (Swaggers previously) and the examples folder.

  6. Examples: the example folder will contain the x-ms-examples files. it will reside under the APIs or Resources' version folders as different APIs or Resource types version can have different examples.

  7. Notes:

    • folder names should be singular (ie, 'profile' not 'profiles' ) -- this removes ambiguity for some non-english speakers.
    • generic folder names should be lower-case
    • proper-name/product name/namespace folders can be PascalCased (ie, "KeyVault")
    • files are whatever case you think is good for your soul.

The structure should appear like so:

.
+---automation
|   \---resource-manager
|       \---Microsoft.Automation
|           \---2015-10-31
|               \---examples
+---batch
|   +---data-plane
|   |   \---Microsoft.Batch
|   |       +---2015-12-01.2.2
|   |       +---2016-02-01.3.0
|   |       +---2016-07-01.3.1
|   |       +---2017-01-01.4.0
|   |       |   \---examples
|   |       \---2017-05-01.5.0
|   \---resource-manager
|       \---Microsoft.Batch
|           +---2015-12-01
|           +---2017-01-01
|           |   \---examples
|           \---2017-05-01
|               \---examples
+---billing
|   \---resource-manager
|       \---Microsoft.Billing
|           +---2017-02-27-preview
|           |   \---examples
|           \---2017-04-24-preview
|               \---examples
└── readme.md

Currently, the specifications are expected to be in Swagger JSON format

Next steps

The next step in the process after a spec is completed is to generate SDKs and API reference documentation. Go to the Azure Developer Experience guide for more information.


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.

azure-rest-api-specs's People

Contributors

amarzavery avatar athipp avatar begoldsm avatar brendandburns avatar brjohnstmsft avatar devigned avatar dihan0604 avatar dmakwana avatar dsgouda avatar erickson-doug avatar fearthecowboy avatar gucalder avatar hyonholee avatar jaredmoo avatar lmazuel avatar matthchr avatar mmacy avatar nathannfan avatar nilambari avatar olydis avatar sarangan12 avatar selvasingh avatar smithaborkar avatar solankisamir avatar stankovski avatar tbombach avatar vishrutshah avatar vivsriaus avatar vrmurthy01 avatar x10shun 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.