From 4905e2da963ea54606d950b458316533b922dc7a Mon Sep 17 00:00:00 2001 From: "@kobi.carmeli" Date: Wed, 13 May 2020 16:53:44 +0300 Subject: [PATCH 1/2] 2.0.1 --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 97ddb87..7974b7f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "api-schema-builder", - "version": "2.0.0", + "version": "2.0.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index b6fb8ee..1b26c46 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "api-schema-builder", - "version": "2.0.0", + "version": "2.0.1", "description": "build schema with validators for each endpoint", "main": "src/index.js", "files": [ From 303b9afba8e6f44dfabf55d8066ba4e0942c1461 Mon Sep 17 00:00:00 2001 From: "@kobi.carmeli" Date: Wed, 13 May 2020 17:01:34 +0300 Subject: [PATCH 2/2] fix project's urls in readme and package.json --- README.md | 23 ++++++----------------- package.json | 10 +++++----- 2 files changed, 11 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index 08980ff..7152e81 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # api-schema-builder [![NPM Version](https://img.shields.io/npm/v/api-schema-builder.svg?style=flat)](https://npmjs.org/package/api-schema-builder) -[![Build Status](https://travis-ci.org/Zooz/api-schema-builder.svg?branch=master)](https://travis-ci.org/Zooz/api-schema-builder) -[![Coverage Status](https://coveralls.io/repos/github/Zooz/api-schema-builder/badge.svg?branch=master)](https://coveralls.io/github/Zooz/api-schema-builder?branch=master) +[![Build Status](https://travis-ci.org/payu/api-schema-builder.svg?branch=master)](https://travis-ci.org/payu/api-schema-builder) +[![Coverage Status](https://coveralls.io/repos/github/PayU/api-schema-builder/badge.svg?branch=master)](https://coveralls.io/github/PayU/api-schema-builder?branch=master) [![Known Vulnerabilities](https://snyk.io/test/npm/api-schema-builder/badge.svg)](https://snyk.io/test/npm/api-schema-builder) [![Apache 2.0 License](https://img.shields.io/badge/license-Apache_2.0-green.svg?style=flat)](LICENSE) @@ -17,12 +17,12 @@ This package is used to build schema for input validation base on openapi doc [S - [Install](#install) - [API](#api) - [How to use](#how-to-use) - - [api-schema-builder.buildSchemaSync(PathToSwaggerFile, options)](#express-ajv-swagger-validationgetSchemapathtoswaggerfile-options) + - [api-schema-builder.buildSchemaSync(PathToSwaggerFile, options)](#api-schema-buildergetSchemapathtoswaggerfile-options) - [Arguments](#arguments) - [Options](#options) - [Response](#response) - - [api-schema-builder.buildSchemaSync(jsonSchema, options)](#express-ajv-swagger-validationgetSchemajsonSchema-options) - - [api-schema-builder.buildSchema(PathToSwaggerFile, options)](#express-ajv-swagger-validationgetSchemaAsyncpathtoswaggerfile-options) + - [api-schema-builder.buildSchemaSync(jsonSchema, options)](#api-schema-buildergetSchemajsonSchema-options) + - [api-schema-builder.buildSchema(PathToSwaggerFile, options)](#api-schema-buildergetSchemaAsyncpathtoswaggerfile-options) - [Usage Example](#usage-example) - [Important Notes](#important-notes) - [Open api 3 - known issues](#open-api-3---known-issues) @@ -172,15 +172,4 @@ Arguments, options and response are the same as for the `buildSchemaSync` method Using mocha and istanbul ```bash npm run test -``` - -[npm-image]: https://img.shields.io/npm/v/express-ajv-swagger-validation.svg?style=flat -[npm-url]: https://npmjs.org/package/express-ajv-swagger-validation -[travis-image]: https://travis-ci.org/Zooz/express-ajv-swagger-validation.svg?branch=master -[travis-url]: https://travis-ci.org/Zooz/express-ajv-swagger-validation -[coveralls-image]: https://coveralls.io/repos/github/Zooz/express-ajv-swagger-validation/badge.svg?branch=master -[coveralls-url]: https://coveralls.io/github/Zooz/express-ajv-swagger-validation?branch=master -[downloads-image]: http://img.shields.io/npm/dm/express-ajv-swagger-validation.svg?style=flat -[downloads-url]: https://npmjs.org/package/express-ajv-swagger-validation -[license-image]: https://img.shields.io/badge/license-Apache_2.0-green.svg?style=flat -[license-url]: LICENSE +``` \ No newline at end of file diff --git a/package.json b/package.json index 1b26c46..227933f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "api-schema-builder", - "version": "2.0.1", + "version": "2.0.0", "description": "build schema with validators for each endpoint", "main": "src/index.js", "files": [ @@ -29,7 +29,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/Zooz/api-schema-builder.git" + "url": "https://github.com/PayU/api-schema-builder.git" }, "keywords": [ "ajv", @@ -40,9 +40,9 @@ "validator" ], "bugs": { - "url": "https://github.com/Zooz/api-schema-builder/issues" + "url": "https://github.com/PayU/api-schema-builder/issues" }, - "homepage": "https://github.com/Zooz/api-schema-builder.git", + "homepage": "https://github.com/PayU/api-schema-builder.git", "author": "Idan Tovi", "contributors": [ "Igor Savin", @@ -81,4 +81,4 @@ "engines": { "node": ">=8" } -} +} \ No newline at end of file