Giter Site home page Giter Site logo

alexdenvir / api-tools-documentation-apiblueprint Goto Github PK

View Code? Open in Web Editor NEW

This project forked from laminas-api-tools/api-tools-documentation-apiblueprint

0.0 0.0 0.0 128 KB

Laminas API Tools API Blueprint Documentation Module

Home Page: https://api-tools.getlaminas.org/documentation

License: BSD 3-Clause "New" or "Revised" License

PHP 95.32% HTML 4.68%

api-tools-documentation-apiblueprint's Introduction

API Blueprint Documentation Provider for Laminas API Tools

Build Status Coverage Status

Introduction

This module provides Laminas API Tools the ability to show API documentation through a Apiary documentation.

In addition to providing Apiary documentation, module also plugs in the original Laminas API Tools documentation and provides content negotiated response with raw API Blueprint.

Requirements

Please see the composer.json file.

Installation

Run the following composer command:

$ composer require laminas-api-tools/api-tools-documentation-apiblueprint

Alternately, manually add the following to your composer.json, in the require section:

"require": {
    "laminas-api-tools/api-tools-documentation-apiblueprint": "^1.2"
}

And then run composer update to ensure the module is installed.

Finally, add the module name to your project's config/application.config.php under the modules key:

return [
    /* ... */
    'modules' => [
        /* ... */
        'Laminas\ApiTools\Documentation\ApiBlueprint',
    .,
    /* ... */
.;

laminas-component-installer

If you use laminas-component-installer, that plugin will install api-tools-documentation-apiblueprint as a module for you.

Usage

Apiary documentation can be found on /api-tools/blueprint/:api uri and is accessible from the Laminas API Tools welcome page.

Querying API Blueprint

When raw API Blueprint is needed, request can be done via content negotiation. Target uri is /api-tools/blueprint/:api and Accept header is text/vnd.apiblueprint+markdown.

To learn more about API Blueprint language, please check its specification.

api-tools-documentation-apiblueprint's People

Contributors

breiteseite avatar michalbundyra avatar weierophinney 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.