{"id":14986608,"url":"https://github.com/apidevtools/swagger-methods","last_synced_at":"2025-07-12T19:32:25.821Z","repository":{"id":57098185,"uuid":"42078039","full_name":"APIDevTools/swagger-methods","owner":"APIDevTools","description":"HTTP methods that are supported by Swagger 2.0","archived":false,"fork":false,"pushed_at":"2020-07-19T10:27:12.000Z","size":489,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-02T17:06:38.267Z","etag":null,"topics":["http","javascript","methods","nodejs","open-api","rest-api","swagger"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/APIDevTools.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-09-07T22:51:18.000Z","updated_at":"2023-11-30T18:49:10.000Z","dependencies_parsed_at":"2022-08-20T16:50:54.470Z","dependency_job_id":null,"html_url":"https://github.com/APIDevTools/swagger-methods","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/APIDevTools%2Fswagger-methods","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/APIDevTools%2Fswagger-methods/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/APIDevTools%2Fswagger-methods/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/APIDevTools%2Fswagger-methods/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/APIDevTools","download_url":"https://codeload.github.com/APIDevTools/swagger-methods/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248476497,"owners_count":21110294,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["http","javascript","methods","nodejs","open-api","rest-api","swagger"],"created_at":"2024-09-24T14:13:13.354Z","updated_at":"2025-04-11T20:32:23.867Z","avatar_url":"https://github.com/APIDevTools.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Swagger Methods\n============================\n#### HTTP methods that are supported by Swagger 2.0\n\n[![Cross-Platform Compatibility](https://apitools.dev/img/badges/os-badges.svg)](https://github.com/APIDevTools/swagger-methods/actions)\n[![Build Status](https://github.com/APIDevTools/swagger-methods/workflows/CI-CD/badge.svg)](https://github.com/APIDevTools/swagger-methods/actions)\n\n[![Coverage Status](https://coveralls.io/repos/github/APIDevTools/swagger-methods/badge.svg?branch=master)](https://coveralls.io/github/APIDevTools/swagger-methods?branch=master)\n[![Dependencies](https://david-dm.org/APIDevTools/swagger-methods.svg)](https://david-dm.org/APIDevTools/swagger-methods)\n\n[![npm](https://img.shields.io/npm/v/@apidevtools/swagger-methods.svg?branch=master)](https://www.npmjs.com/package/@apidevtools/swagger-methods)\n[![License](https://img.shields.io/npm/l/@apidevtools/swagger-methods.svg)](LICENSE)\n[![Buy us a tree](https://img.shields.io/badge/Treeware-%F0%9F%8C%B3-lightgreen)](https://plant.treeware.earth/APIDevTools/swagger-methods)\n\nThis is an array of lower-case HTTP method names that are supported by the [Swagger 2.0 spec](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md).\n\nThis module is [tested](test/index.spec.js) against the [Swagger 2.0 schema](https://www.npmjs.com/package/swagger-schema-official)\n\n\nInstallation\n--------------------------\nInstall using [npm](https://docs.npmjs.com/about-npm/):\n\n```bash\nnpm install @apidevtools/swagger-methods\n```\n\n\n\nUsage\n--------------------------\n\n```javascript\nvar methods = require('@apidevtools/swagger-methods');\n\nmethods.forEach(function(method) {\n  console.log(method);\n});\n\n// get\n// put\n// post\n// delete\n// options\n// head\n// patch\n```\n\n\n\nContributing\n--------------------------\nI welcome any contributions, enhancements, and bug-fixes.  [Open an issue](https://github.com/APIDevTools/swagger-methods/issues) on GitHub and [submit a pull request](https://github.com/APIDevTools/swagger-methods/pulls).\n\n#### Building/Testing\nTo build/test the project locally on your computer:\n\n1. **Clone this repo**\u003cbr\u003e\n`git clone https://github.com/APIDevTools/swagger-methods.git`\n\n2. **Install dev dependencies**\u003cbr\u003e\n`npm install`\n\n3. **Run the unit tests**\u003cbr\u003e\n`npm test`\n\n\n\nLicense\n--------------------------\n[MIT license](LICENSE). Use it however you want.\n\nThis package is [Treeware](http://treeware.earth). If you use it in production, then we ask that you [**buy the world a tree**](https://plant.treeware.earth/APIDevTools/swagger-methods) to thank us for our work. By contributing to the Treeware forest you’ll be creating employment for local families and restoring wildlife habitats.\n\n\n\nBig Thanks To\n--------------------------\nThanks to these awesome companies for their support of Open Source developers ❤\n\n[![Travis CI](https://jstools.dev/img/badges/travis-ci.svg)](https://travis-ci.com)\n[![SauceLabs](https://jstools.dev/img/badges/sauce-labs.svg)](https://saucelabs.com)\n[![Coveralls](https://jstools.dev/img/badges/coveralls.svg)](https://coveralls.io)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapidevtools%2Fswagger-methods","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapidevtools%2Fswagger-methods","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapidevtools%2Fswagger-methods/lists"}