From 361dd9c271d9d339c67f1cc3b0cfba40e612f3c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=87=A4=E5=AE=9D=28Leo=29?= Date: Sun, 2 Feb 2025 21:34:30 +0800 Subject: [PATCH] chore: update changelog --- CHANGELOG.md | 7 ++++++- README.md | 11 +++++++---- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7eb8ac9..2d7cf01 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,9 @@ -# swigger-api-hub +## [1.2.3](https://github.com/shijistar/swagger-api-hub/compare/1.2.2...1.2.3) (2025-02-02) + +### Features + +- add intTotalElements option ([f8fd255](https://github.com/shijistar/swagger-api-hub/commit/f8fd25502fb2ea2ecbadeb029151f829a84920e6)) +- rename service instance variable ([8121fcc](https://github.com/shijistar/swagger-api-hub/commit/8121fcc2e537123d25a72d8b33725e23422dc021)) ## [1.2.2](https://github.com/shijistar/swagger-api-hub/compare/1.2.1...1.2.2) (2025-01-16) diff --git a/README.md b/README.md index 63b1734..be20c15 100644 --- a/README.md +++ b/README.md @@ -1,24 +1,27 @@ # swagger-api-hub +[![npm version](https://img.shields.io/npm/v/swagger-api-hub.svg)](https://www.npmjs.com/package/swagger-api-hub) +[![npm downloads](https://img.shields.io/npm/dm/swagger-api-hub.svg)](https://www.npmjs.com/package/swagger-api-hub) +![GitHub License](https://img.shields.io/github/license/shijistar/swagger-api-hub?label=License&color=%23F68F1E) + ![cover image](cover.webp) Produce front-end interface code for OpenAPI-based backend services with a single click. This tool is designed to generate TypeScript code for API clients and request methods from OpenAPI specifications. It can be used as a command line tool or as a Node.js module that is integrated into your build process. It supports both OpenAPI 2.0 and 3.0 specifications. -This tool is a wrapper of the [swagger-typescript-api -](https://github.com/acacode/swagger-typescript-api) +This tool is a wrapper of the [swagger-typescript-api](https://github.com/acacode/swagger-typescript-api) ## Installation **Install as a global command:** ```bash -$ npm install -g swagger-api-hub +npm install -g swagger-api-hub ``` **Install as a project-wide dependency:** ```bash -$ npm install -D swagger-api-hub +npm install -D swagger-api-hub ``` ## Usage