openapi-sync 1.0.14 → 1.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +5 -5
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Openapi-sync
2
2
 
3
- **Openapi-sync** leverages the power of OpenAPI schemas, just like Swagger UI, Postman, Redoc, and other popular tools. This package automates the creation of endpoint URIs and all defined types (including shared types) in a simple and developer-friendly manner and ensures your API remains up-to-date by checking for updates at intervals or right before committing your code (pre-commit).
3
+ **Openapi-sync** is a developer-friendly tool designed to keep your API up-to-date by leveraging OpenAPI schemas. It automates the generation of endpoint URIs and type definitions, including shared types, directly from your OpenAPI specification. Whether you need real-time synchronization before commits or periodic updates, openapi-sync ensures your API structure is always current and consistent. With an easy-to-use CLI, this tool integrates seamlessly into your development workflow, making API maintenance simpler and more reliable.
4
4
 
5
5
  ## Installation
6
6
 
@@ -12,7 +12,7 @@ npm install openapi-sync
12
12
 
13
13
  ## Configuration
14
14
 
15
- Create an `openapi.sync.json` file at the root of your project to configure openapi-sync. You can use the provided `openapi.sync.sample.json` as a reference.
15
+ Create an `openapi.sync.json` file at the root of your project to configure openapi-sync. You can use the provided [`openapi.sync.sample.json`](https://github.com/akintomiwa-fisayo/openapi-sync/blob/master/openapi.sync.sample.json) as reference.
16
16
 
17
17
  ## Usage
18
18
 
@@ -32,6 +32,6 @@ You can also add it as a script in your package.json for easy access:
32
32
 
33
33
  ## Features
34
34
 
35
- - Endpoint URI Generation: Automatically generate endpoint URIs from your OpenAPI schema.
36
- - Types Generation: Generate all defined types, including shared types, from your OpenAPI schema.
37
- - CLI Commands: Use the command-line interface to regenerate files at any time—on app start, pre-commit, or whenever needed.
35
+ - Automated Endpoint URI Generation: Effortlessly generate endpoint URIs from your OpenAPI schema.
36
+ - Type Generation: Automatically create all types defined in your API schema, including shared types, for better code consistency.
37
+ - Flexible CLI Commands: Sync your API at any point in the development process on app start, pre-commit, or via manual triggers.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "openapi-sync",
3
- "version": "1.0.14",
4
- "description": "sync openapi variables",
3
+ "version": "1.0.15",
4
+ "description": "A developer-friendly tool designed to keep your API up-to-date by leveraging OpenAPI schemas. It automates the generation of endpoint URIs and type definitions, including shared types, directly from your OpenAPI specification.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "bin": {