Giter Club home page Giter Club logo

rest-api-doc-template's Introduction

REST API documentation template

This repository provides a template for creating testable documentation for a REST API using Markdown Scanner and Markdown.

When we started out to build the OneDrive API we knew it was important to have great documentation available for the API in addition to a simple, well designed API surface. To accomplish this, we evaluated a number of tools for writing API documentation and best practices from other teams and created a unique process that we use now to ensure we have high quality APIs and documentation.

Our process treats the documentation as the single source of truth for our API. Following this, if it isn't documented it doesn't exist. We start off writing the developer documentation for a new API, refining the design, and then writing the code for the API and using the documentation to validate the implementation. Our tools also allow the documentation to be transformed into other formats as necessary while preserving the single source of truth goal.

Getting Started

This repository has two folders, which can be used to organize your content. A folder for resources which we use to store the definitions for resources in the API, and a folder for apis where the various API calls your API supports can be documented.

Resources

A resource defines the response from an API call, such as an item, an event, or a message. The resource documentation describes the shape of the resource (usually in JSON) and the properties / details of those resources.

rest-api-doc-template's People

Contributors

rgregg avatar

Watchers

James Cloos 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.