Giter Site home page Giter Site logo

cb-swagger's Introduction

Couchbase Swagger Project

This project uses the swagger2markup-gradle-plugin to convert the Swagger specifications for Couchbase REST APIs into AsciiDoctor documentation.

Usage guide

This repository handles several Swagger subprojects. Each subproject is stored in its own subfolder within the src folder.

Build Script

Within each subproject there is a gradle build script with a .gradle extension. The gradle build script specifies the locations of the Swagger source file, any additional AsciiDoc content, and the output AsciiDoc files.

The build.gradle script in the root project folder calls the gradle build scripts from each subproject.

Some subprojects are not currently ready to be built. These do not have a gradle build script.

Swagger Specification

Within each subproject, the Swagger Specification (JSON or YAML) is stored in a folder called swagger. (For some subprojects, the Swagger specification file may be stored remotely, i.e. alongside the development source files.)

AsciiDoc Content

For each subproject, additional AsciiDoc content may be stored in the folder asciidoc/extensions and its subfolders.

Convert a single subproject

./gradlew project:convertSwagger2markup --rerun-tasks

Where project is the subproject that you want to convert, for example, admin.

Convert all projects

./gradlew --rerun-tasks

Acknowledgements

This project is based on the Swagger2Markup Gradle template project.

cb-swagger's People

Contributors

jamesnocentini avatar mattcarabine avatar sarahlwelton avatar simon-dew avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cb-swagger's Issues

How to use project

Hi,
I just came across your project while researching Swagger in DITA. I work on a Windows machine and don't use Python. Are there any setup steps that I can follow to use your solution?
Thanks in advance,
Ann

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.