swagger-tools

WebJar for swagger-tools

Лицензия

Лицензия

MIT
Категории

Категории

Swagger Межпрограммное взаимодействие REST Frameworks
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

swagger-tools
Последняя версия

Последняя версия

0.9.16
Дата

Дата

Тип

Тип

jar
Описание

Описание

swagger-tools
WebJar for swagger-tools
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/apigee-127/swagger-tools

Скачать swagger-tools

Как подключить последнюю версию

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

Зависимости

compile (18)

Идентификатор библиотеки Тип Версия
org.webjars.npm : commander jar [2.8.1,3)
org.webjars.npm : async jar [1.3.0,2)
org.webjars.npm : lodash-compat jar [3.10.0,4)
org.webjars.npm : debug jar [2.2.0,3)
org.webjars.npm : serve-static jar [1.10.0,2)
org.webjars.npm : string jar [3.3.0,4)
org.webjars.npm : json-refs jar [2.1.5,3)
org.webjars.npm : parseurl jar [1.3.0,2)
org.webjars.npm : body-parser jar [1.12.4]
org.webjars.npm : traverse jar [0.6.6,0.7)
org.webjars.npm : qs jar [4.0.0,5)
org.webjars.npm : swagger-converter jar [0.1.7,0.2)
org.webjars.npm : path-to-regexp jar [1.2.0,2)
org.webjars.npm : superagent jar [1.2.0,2)
org.webjars.npm : js-yaml jar [3.3.1,4)
org.webjars.npm : multer jar [1.1.0,2)
org.webjars.npm : z-schema jar [3.15.4,4)
org.webjars.npm : spark-md5 jar [1.0.0,2)

Модули Проекта

Данный проект не имеет модулей.

The project provides various tools for integrating and interacting with Swagger. This project is in its infancy but what is within the repository should be fully tested and reusable. Please visit the issue tracker to see what issues we are aware of and what features/enhancements we are working on. Otherwise, feel free to review the Release Notes to see what is new and improved.

Project Badges

Join the chat at https://gitter.im/apigee-127/swagger-tools

  • Build status: Build Status
  • Dependencies: Dependencies
  • Developer dependencies: Dev Dependencies
  • Downloads: NPM Downloads Per Month
  • License: License
  • Bower Version NPM Version
  • NPM Version: NPM Version

Supported Swagger Versions

Features

  • Simple CLI
    • Validate Swagger document(s)
    • Convert Swagger 1.2 documents to Swagger 2.0
  • Schema validation: For the file(s) supported by the Swagger specification, ensure they pass structural validation based on the JSON Schema associated with that version of the specification (Browser and Node)
  • Semantic validation: Validates Swagger files above and beyond the structure of the file (Browser and Node)
  • Connect middleware for adding pertinent Swagger information to your requests (Node only)
  • Connect middleware for wiring up security handlers for requests based on Swagger documentation (Node only)
  • Connect middleware for wiring request handlers to requests based on Swagger documentation (Node only)
  • Connect middleware for serving your Swagger documents and Swagger UI (Node only)
  • Connect middleware for using Swagger resource documents for pre-route validation (Node only)
    • Validate the request/response Content-Type based on the operation's consumes/produces value(s)
    • Validate the request parameter types
    • Validate the request parameter values
    • Validate the response values

Installation

Swagger Tools is available for both Node.js and the browser. Installation instructions for each environment are below.

Browser

Installation for browser applications can be done via Bower or by downloading a standalone binary.

Using Bower

bower install swagger-tools --save

Standalone Binaries

The standalone binaries come in two flavors:

Node.js

Installation for Node.js applications can be done via NPM.

npm install swagger-tools --save

If you want to use the swagger-tools executable for validating Swagger documents, you can install swagger-tools globally using the following:

npm install -g swagger-tools

Documentation

swagger-tools is heavily documented so head on over to the project documentation or jump straight to the Quick Start.

Contributing

This project uses Gulp for building so npm install -g gulp once you clone this project. Running gulp in the project root will lint check the source code and run the unit tests.

org.webjars.npm

Apigee-127

Tools for building APIs using Node and OpenAPI

Версии библиотеки

Версия
0.9.16
0.9.9