swagger-methods

WebJar for swagger-methods

License

License

MIT
Categories

Categories

Swagger Program Interface REST Frameworks
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

swagger-methods
Last Version

Last Version

1.0.6
Release Date

Release Date

Type

Type

jar
Description

Description

swagger-methods
WebJar for swagger-methods
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/APIDevTools/swagger-methods

Download swagger-methods

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/swagger-methods/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>swagger-methods</artifactId>
    <version>1.0.6</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/swagger-methods/
implementation 'org.webjars.npm:swagger-methods:1.0.6'
// https://jarcasting.com/artifacts/org.webjars.npm/swagger-methods/
implementation ("org.webjars.npm:swagger-methods:1.0.6")
'org.webjars.npm:swagger-methods:jar:1.0.6'
<dependency org="org.webjars.npm" name="swagger-methods" rev="1.0.6">
  <artifact name="swagger-methods" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='swagger-methods', version='1.0.6')
)
libraryDependencies += "org.webjars.npm" % "swagger-methods" % "1.0.6"
[org.webjars.npm/swagger-methods "1.0.6"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

Swagger Methods

HTTP methods that are supported by Swagger 2.0

Cross-Platform Compatibility Build Status

Coverage Status Dependencies

npm License Buy us a tree

This is an array of lower-case HTTP method names that are supported by the Swagger 2.0 spec.

This module is tested against the Swagger 2.0 schema

Installation

Install using npm:

npm install @apidevtools/swagger-methods

Usage

var methods = require('@apidevtools/swagger-methods');

methods.forEach(function(method) {
  console.log(method);
});

// get
// put
// post
// delete
// options
// head
// patch

Contributing

I welcome any contributions, enhancements, and bug-fixes. Open an issue on GitHub and submit a pull request.

Building/Testing

To build/test the project locally on your computer:

  1. Clone this repo
    git clone https://github.com/APIDevTools/swagger-methods.git

  2. Install dev dependencies
    npm install

  3. Run the unit tests
    npm test

License

MIT license. Use it however you want.

This package is Treeware. If you use it in production, then we ask that you buy the world a tree to thank us for our work. By contributing to the Treeware forest you’ll be creating employment for local families and restoring wildlife habitats.

Big Thanks To

Thanks to these awesome companies for their support of Open Source developers

Travis CI SauceLabs Coveralls

org.webjars.npm

API Dev Tools

Tools and libraries for API developers

Versions

Version
1.0.6
1.0.4