Coder Social home page Coder Social logo

swagger-jsdoc's Introduction

swagger-jsdoc

This library reads your JSDoc-annotated source code and generates an OpenAPI (Swagger) specification.

npm Downloads CI

Installation

npm install swagger-jsdoc --save

Or

yarn add swagger-jsdoc

Supported specifications

  • OpenAPI 3.x
  • Swagger 2

Documentation

It's available within /docs.

Webpack integrations

Reporting issues

Before starting a new issue, please check whether there is an existing one. It is quite possible that the topic you would like to bring up has been discussed already in the past.

In case of an issue which hasn't been considered yet, please include as much information as possible. This will help maintainers and other users relate to your problem and possibly solve it.

Guidelines:

  • Describe what you were doing when the issue appeared.
  • Add a set of steps to reproduce your issue.
  • Include screenshots.
  • Give examples on expected vs actual behavior.
  • Share your failed attempts: what you have tried and what you have considered.

Contributing

The project exists thanks to the many contributors who shared their use cases, questions, comments and suggestions for improvements.

Here's how to jump in and contribute yourself:

  • Fork the project and clone it locally.
  • Create a branch for each separate topic. Semantic commit messages will be highly appreciated.
  • Comment your code as if you are going to maintain it in the future.
  • Use the rich set of unit tests as an example and add more for the new use cases. This will not only enable you to programatically reproduce your fix faster than setting up an application, but it will also make you super cool! :)
  • Push to your changes to the origin of your repository and create a new pull request towards the upstream master. (this repository)

swagger-jsdoc's People

Contributors

kalinchernev avatar chdanielmueller avatar fliptoo avatar drgrove avatar sposmen avatar calmdev avatar efmr avatar ehmicky avatar dependabot[bot] avatar a-morn avatar sapegin avatar posquit0 avatar kc-dot-io avatar stelcheck avatar trendfischer avatar relvao avatar tlvince avatar allisonverdam avatar antonjb avatar brantw avatar katalonne avatar danielkhan avatar gabrieldelepine avatar gautier-lefebvre avatar hg-pyun avatar iansltx avatar jamesburns-rts avatar aslan11 avatar lerignoux avatar mprokopowicz avatar

Watchers

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