@moccona/apicodegen 0.1.1 β 0.1.2
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.
- package/README.md +230 -117
- package/bin/cli.cjs +12 -12
- package/npm/index.cjs +1256 -729
- package/npm/index.cjs.map +1 -1
- package/npm/index.d.cts +124 -50
- package/npm/index.d.cts.map +1 -1
- package/npm/index.d.mts +124 -50
- package/npm/index.d.mts.map +1 -1
- package/npm/index.mjs +1254 -729
- package/npm/index.mjs.map +1 -1
- package/npm/vite/index.d.mts +11 -0
- package/npm/vite/index.d.mts.map +1 -1
- package/npm/vite/index.mjs +1074 -535
- package/npm/vite/index.mjs.map +1 -1
- package/package.json +6 -3
package/README.md
CHANGED
|
@@ -5,24 +5,71 @@ A powerful OpenAPI code generator that automatically generates TypeScript API cl
|
|
|
5
5
|
[](https://www.npmjs.com/package/@moccona/apicodegen)
|
|
6
6
|
[](https://opensource.org/licenses/MIT)
|
|
7
7
|
[](https://nodejs.org)
|
|
8
|
+
[](https://github.com/freemode1614/api-codegen)
|
|
9
|
+
[](https://github.com/freemode1614/api-codegen)
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## Table of Contents
|
|
14
|
+
|
|
15
|
+
- [Features](#-features)
|
|
16
|
+
- [Quick Start](#-quick-start)
|
|
17
|
+
- [Installation](#-installation)
|
|
18
|
+
- [CLI Usage](#-cli-usage)
|
|
19
|
+
- [Vite Plugin](#-vite-plugin)
|
|
20
|
+
- [Generated Code](#-generated-code)
|
|
21
|
+
- [Supported Features](#-supported-features)
|
|
22
|
+
- [Examples](#-examples)
|
|
23
|
+
- [Troubleshooting](#-troubleshooting)
|
|
24
|
+
- [Development](#-development)
|
|
25
|
+
- [Roadmap](#-roadmap)
|
|
26
|
+
|
|
27
|
+
---
|
|
8
28
|
|
|
9
29
|
## β¨ Features
|
|
10
30
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
31
|
+
| Feature | Description |
|
|
32
|
+
|---------|-------------|
|
|
33
|
+
| **Multi-version Support** | Full support for OpenAPI 2.0, 3.0, and 3.1 |
|
|
34
|
+
| **TypeScript First** | Generates complete type definitions and type-safe API functions |
|
|
35
|
+
| **Multiple Adaptors** | Built-in `fetch` and `axios` HTTP client support |
|
|
36
|
+
| **CLI Tool** | Simple command-line interface with retro ASCII banner |
|
|
37
|
+
| **Vite Plugin** | Seamless integration into Vite build workflow |
|
|
38
|
+
| **File Upload** | Native support for multipart/form-data file uploads |
|
|
39
|
+
| **Complete Types** | Enums, union types, intersection types, complex nested objects |
|
|
40
|
+
|
|
41
|
+
### Key Highlights
|
|
42
|
+
|
|
43
|
+
- **Zero Runtime Dependencies** - Lightweight generated code with no external runtime
|
|
44
|
+
- **Type-safe** - Full TypeScript support with strict type inference
|
|
45
|
+
- **Circular Reference Handling** - Properly handles `$ref` loops in OpenAPI schemas
|
|
46
|
+
- **JSDoc Generation** - Automatic documentation from OpenAPI descriptions
|
|
47
|
+
- **Watch Mode** - Auto-regenerate when OpenAPI spec changes
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
## π Quick Start
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
# Install globally
|
|
55
|
+
npm install -g @moccona/apicodegen
|
|
56
|
+
|
|
57
|
+
# Generate from URL
|
|
58
|
+
apicodegen https://petstore3.swagger.io/api/v3/openapi.json -o ./src/api/petstore.ts
|
|
59
|
+
|
|
60
|
+
# Or use npx (no installation)
|
|
61
|
+
npx @moccona/apicodegen ./openapi.json -o ./src/api.ts
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
---
|
|
18
65
|
|
|
19
66
|
## π¦ Installation
|
|
20
67
|
|
|
21
68
|
```bash
|
|
22
|
-
# Global installation (recommended for CLI
|
|
69
|
+
# Global installation (recommended for CLI)
|
|
23
70
|
npm install -g @moccona/apicodegen
|
|
24
71
|
|
|
25
|
-
# Local installation
|
|
72
|
+
# Local installation for project use
|
|
26
73
|
npm install -D @moccona/apicodegen
|
|
27
74
|
|
|
28
75
|
# Using pnpm
|
|
@@ -31,71 +78,49 @@ pnpm add -D @moccona/apicodegen
|
|
|
31
78
|
|
|
32
79
|
### Peer Dependencies
|
|
33
80
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
81
|
+
| Package | Version | Required For |
|
|
82
|
+
|---------|---------|--------------|
|
|
83
|
+
| `typescript` | v5 | Type checking generated code |
|
|
84
|
+
| `prettier` | v3 | Formatting output |
|
|
85
|
+
| `vite` | v7 / v8 | Vite plugin only (optional) |
|
|
39
86
|
|
|
40
|
-
|
|
87
|
+
---
|
|
41
88
|
|
|
42
|
-
|
|
89
|
+
## π CLI Usage
|
|
43
90
|
|
|
44
|
-
|
|
45
|
-
# Basic usage
|
|
46
|
-
apicodegen <OpenAPIζζ‘£URL> -o ./src/api.ts
|
|
47
|
-
|
|
48
|
-
# Full example
|
|
49
|
-
apicodegen https://api.example.com/openapi.json \
|
|
50
|
-
-o ./src/api.ts \
|
|
51
|
-
-a fetch \
|
|
52
|
-
-b https://api.example.com \
|
|
53
|
-
-v
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
### Options
|
|
91
|
+
### Basic Options
|
|
57
92
|
|
|
58
93
|
| Option | Short | Description | Default |
|
|
59
94
|
|--------|-------|-------------|---------|
|
|
60
95
|
| `--output` | `-o` | Output file path | `./output.ts` |
|
|
61
|
-
| `--spec` | `-s` | OpenAPI spec file path or URL |
|
|
62
|
-
| `--adaptor` | `-a` | HTTP client
|
|
96
|
+
| `--spec` | `-s` | OpenAPI spec file path or URL | Required |
|
|
97
|
+
| `--adaptor` | `-a` | HTTP client (`fetch` or `axios`) | `fetch` |
|
|
63
98
|
| `--baseURL` | `-b` | API base URL | - |
|
|
64
99
|
| `--config` | `-c` | Path to config file | - |
|
|
65
|
-
| `--watch` | `-w` | Watch for file changes |
|
|
100
|
+
| `--watch` | `-w` | Watch for file changes | `false` |
|
|
66
101
|
| `--verbose` | `-v` | Enable verbose logging | `false` |
|
|
67
102
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
### 1. Basic Code Generation
|
|
103
|
+
### Examples
|
|
71
104
|
|
|
72
105
|
```bash
|
|
73
|
-
# From remote
|
|
74
|
-
apicodegen https://
|
|
106
|
+
# From remote URL
|
|
107
|
+
apicodegen https://api.example.com/openapi.json -o ./src/api.ts
|
|
75
108
|
|
|
76
109
|
# From local file
|
|
77
110
|
apicodegen ./docs/openapi.json -o ./src/generated/api.ts
|
|
78
|
-
```
|
|
79
111
|
|
|
80
|
-
|
|
112
|
+
# With axios and custom baseURL
|
|
113
|
+
apicodegen ./openapi.json -a axios -b https://api.example.com -o ./src/api.ts
|
|
81
114
|
|
|
82
|
-
|
|
83
|
-
apicodegen
|
|
84
|
-
-o ./src/api.ts \
|
|
85
|
-
-a axios \
|
|
86
|
-
-b https://api.example.com
|
|
115
|
+
# Watch mode for development
|
|
116
|
+
apicodegen ./openapi.yaml -w -o ./src/api.ts -v
|
|
87
117
|
```
|
|
88
118
|
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
```bash
|
|
92
|
-
# Watch for file changes and regenerate
|
|
93
|
-
apicodegen ./openapi.yaml -w -o ./src/api.ts
|
|
94
|
-
```
|
|
119
|
+
---
|
|
95
120
|
|
|
96
121
|
## π Vite Plugin
|
|
97
122
|
|
|
98
|
-
Automatically
|
|
123
|
+
Automatically generate API clients during your Vite build:
|
|
99
124
|
|
|
100
125
|
```typescript
|
|
101
126
|
// vite.config.ts
|
|
@@ -117,22 +142,23 @@ export default defineConfig({
|
|
|
117
142
|
});
|
|
118
143
|
```
|
|
119
144
|
|
|
120
|
-
###
|
|
145
|
+
### Plugin Options
|
|
121
146
|
|
|
122
|
-
| Option | Type | Description |
|
|
123
|
-
|
|
124
|
-
| `name` | `string` | Human-readable API name
|
|
125
|
-
| `spec` | `string` | OpenAPI spec file path or URL |
|
|
126
|
-
| `
|
|
127
|
-
| `
|
|
128
|
-
| `
|
|
129
|
-
| `
|
|
130
|
-
| `
|
|
131
|
-
| `
|
|
147
|
+
| Option | Type | Required | Description |
|
|
148
|
+
|--------|------|----------|-------------|
|
|
149
|
+
| `name` | `string` | Yes | Human-readable API name |
|
|
150
|
+
| `spec` | `string` | Yes* | OpenAPI spec file path or URL |
|
|
151
|
+
| `docURL` | `string` | Yes* | OpenAPI document URL (alias for `spec`) |
|
|
152
|
+
| `output` | `string` | Yes | Output file path |
|
|
153
|
+
| `adaptor` | `'fetch' \| 'axios'` | No | HTTP client (default: `fetch`) |
|
|
154
|
+
| `baseURL` | `string` | No | API base URL |
|
|
155
|
+
| `importClientSource` | `string` | No | Custom client import source |
|
|
156
|
+
| `verbose` | `boolean` | No | Enable verbose logging |
|
|
157
|
+
| `typeCheck` | `boolean` | No | Run type check after generation |
|
|
132
158
|
|
|
133
|
-
|
|
159
|
+
*\*Either `spec` or `docURL` is required
|
|
134
160
|
|
|
135
|
-
|
|
161
|
+
### Custom Axios Instance
|
|
136
162
|
|
|
137
163
|
```typescript
|
|
138
164
|
// src/lib/api-client.ts
|
|
@@ -151,7 +177,6 @@ apiClient.interceptors.request.use((config) => {
|
|
|
151
177
|
|
|
152
178
|
```typescript
|
|
153
179
|
// vite.config.ts
|
|
154
|
-
import { defineConfig } from 'vite';
|
|
155
180
|
import { apiCodeGenPlugin } from '@moccona/apicodegen/vite';
|
|
156
181
|
import { apiClient } from './src/lib/api-client';
|
|
157
182
|
|
|
@@ -170,27 +195,28 @@ export default defineConfig({
|
|
|
170
195
|
});
|
|
171
196
|
```
|
|
172
197
|
|
|
173
|
-
|
|
198
|
+
Generated code will use your custom instance:
|
|
174
199
|
|
|
175
200
|
```typescript
|
|
176
|
-
// Generated code
|
|
177
201
|
import { apiClient as axios } from '@/lib/api-client';
|
|
178
202
|
|
|
179
|
-
// Uses apiClient under the hood
|
|
180
203
|
export async function getPetById({ petId }: { petId: number }) {
|
|
181
204
|
return apiClient(`/pets/${petId}`, { method: 'GET' });
|
|
182
205
|
}
|
|
183
206
|
```
|
|
184
207
|
|
|
185
|
-
|
|
208
|
+
---
|
|
209
|
+
|
|
210
|
+
## π Generated Code
|
|
186
211
|
|
|
187
|
-
Given
|
|
212
|
+
Given this OpenAPI spec:
|
|
188
213
|
|
|
189
214
|
```yaml
|
|
190
215
|
paths:
|
|
191
216
|
/pets/{petId}:
|
|
192
217
|
get:
|
|
193
218
|
operationId: getPetById
|
|
219
|
+
summary: Get a pet by ID
|
|
194
220
|
parameters:
|
|
195
221
|
- name: petId
|
|
196
222
|
in: path
|
|
@@ -221,15 +247,6 @@ components:
|
|
|
221
247
|
The generated TypeScript code:
|
|
222
248
|
|
|
223
249
|
```typescript
|
|
224
|
-
/**
|
|
225
|
-
* Pet object
|
|
226
|
-
*/
|
|
227
|
-
export type Pet = {
|
|
228
|
-
id?: number;
|
|
229
|
-
name?: string;
|
|
230
|
-
status?: 'available' | 'pending' | 'sold';
|
|
231
|
-
};
|
|
232
|
-
|
|
233
250
|
/**
|
|
234
251
|
* Get a pet by ID
|
|
235
252
|
*/
|
|
@@ -238,71 +255,121 @@ export async function getPetById({ petId }: { petId: number }) {
|
|
|
238
255
|
method: 'GET',
|
|
239
256
|
}).then(async (response) => (await response.json()) as Pet);
|
|
240
257
|
}
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* Pet object
|
|
261
|
+
*/
|
|
262
|
+
export type Pet = {
|
|
263
|
+
id?: number;
|
|
264
|
+
name?: string;
|
|
265
|
+
status?: 'available' | 'pending' | 'sold';
|
|
266
|
+
};
|
|
241
267
|
```
|
|
242
268
|
|
|
243
|
-
|
|
269
|
+
---
|
|
270
|
+
|
|
271
|
+
## π― Supported Features
|
|
244
272
|
|
|
245
273
|
### Schema Types
|
|
246
|
-
- β
Basic types: `string`, `number`, `integer`, `boolean`
|
|
247
|
-
- β
Complex objects: `object` and property definitions
|
|
248
|
-
- β
Array types: `array` and nested arrays
|
|
249
|
-
- β
Enum types: Automatically generate TypeScript enums
|
|
250
|
-
- β
Union types: `oneOf`, `anyOf`
|
|
251
|
-
- β
Intersection types: `allOf`
|
|
252
|
-
- β
Reference types: `$ref` with circular reference handling
|
|
253
|
-
- β
File types: `binary`, `blob`, `file` formats
|
|
254
274
|
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
275
|
+
| Type | Status | Notes |
|
|
276
|
+
|------|--------|-------|
|
|
277
|
+
| `string` | β
| Full support with formats |
|
|
278
|
+
| `number` / `integer` | β
| int8, uint8, int16, etc. |
|
|
279
|
+
| `boolean` | β
| Full support |
|
|
280
|
+
| `object` | β
| Complex nested objects |
|
|
281
|
+
| `array` | β
| Nested and multi-dimensional |
|
|
282
|
+
| `enum` | β
| Auto-generated TypeScript enums |
|
|
283
|
+
| `oneOf` / `anyOf` | β
| Union types with deduplication |
|
|
284
|
+
| `allOf` | β
| Intersection types |
|
|
285
|
+
| `$ref` | β
| Circular reference handling |
|
|
286
|
+
| `binary` / `blob` / `file` | β
| File upload types |
|
|
261
287
|
|
|
262
|
-
###
|
|
263
|
-
- β
`application/json` β parsed and typed
|
|
264
|
-
- β
SSE `text/event-stream` β raw response returned for application-layer handling
|
|
265
|
-
- β
Other text/binary types β returned unparsed
|
|
288
|
+
### Parameter Locations
|
|
266
289
|
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
290
|
+
| Location | Status | Example |
|
|
291
|
+
|----------|--------|---------|
|
|
292
|
+
| `path` | β
| `/users/{id}` |
|
|
293
|
+
| `query` | β
| `?page=1&limit=10` |
|
|
294
|
+
| `header` | β
| `X-API-Key: xxx` |
|
|
295
|
+
| `cookie` | β
| `session=xxx` |
|
|
296
|
+
| `body` | β
| JSON and FormData |
|
|
270
297
|
|
|
271
298
|
### Request Body Formats
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
299
|
+
|
|
300
|
+
| Content-Type | Status |
|
|
301
|
+
|--------------|--------|
|
|
302
|
+
| `application/json` | β
|
|
|
303
|
+
| `multipart/form-data` | β
|
|
|
304
|
+
| `application/x-www-form-urlencoded` | β
|
|
|
305
|
+
| `text/plain` | β
|
|
|
306
|
+
| `image/*` | β
|
|
|
307
|
+
|
|
308
|
+
### OpenAPI Versions
|
|
309
|
+
|
|
310
|
+
| Version | Status |
|
|
311
|
+
|---------|--------|
|
|
312
|
+
| OpenAPI 2.0 (Swagger) | β
|
|
|
313
|
+
| OpenAPI 3.0 | β
|
|
|
314
|
+
| OpenAPI 3.1 | β
|
|
|
315
|
+
|
|
316
|
+
---
|
|
317
|
+
|
|
318
|
+
## π Examples
|
|
319
|
+
|
|
320
|
+
### Complete API with Authentication
|
|
321
|
+
|
|
322
|
+
```bash
|
|
323
|
+
apicodegen https://api.example.com/openapi.json \
|
|
324
|
+
-o ./src/api.ts \
|
|
325
|
+
-a fetch \
|
|
326
|
+
-b https://api.example.com \
|
|
327
|
+
-v
|
|
328
|
+
```
|
|
329
|
+
|
|
330
|
+
### Using Custom Axios with Interceptors
|
|
331
|
+
|
|
332
|
+
See [Custom Axios Instance](#custom-axios-instance) section above.
|
|
333
|
+
|
|
334
|
+
### Watch Mode for Development
|
|
335
|
+
|
|
336
|
+
```bash
|
|
337
|
+
apicodegen ./openapi.json \
|
|
338
|
+
--watch \
|
|
339
|
+
--output ./src/generated/api.ts \
|
|
340
|
+
--verbose
|
|
341
|
+
```
|
|
342
|
+
|
|
343
|
+
---
|
|
276
344
|
|
|
277
345
|
## π§ Troubleshooting
|
|
278
346
|
|
|
279
347
|
### Common Issues
|
|
280
348
|
|
|
281
349
|
**"Command not found" after installation**
|
|
282
|
-
If using the CLI globally but getting command not found, try:
|
|
283
350
|
```bash
|
|
284
351
|
# Reinstall globally
|
|
285
352
|
npm install -g @moccona/apicodegen
|
|
286
353
|
|
|
287
354
|
# Or use npx
|
|
288
|
-
npx @moccona/apicodegen <
|
|
355
|
+
npx @moccona/apicodegen <url> -o ./src/api.ts
|
|
289
356
|
```
|
|
290
357
|
|
|
291
358
|
**Network errors when fetching OpenAPI documents**
|
|
292
359
|
- Verify the URL is publicly accessible
|
|
293
360
|
- Try downloading the document locally first
|
|
294
361
|
- Check firewall/proxy settings
|
|
295
|
-
- Use `-v` flag for verbose logging
|
|
362
|
+
- Use `-v` flag for verbose logging
|
|
296
363
|
|
|
297
364
|
**TypeScript errors in generated code**
|
|
298
365
|
- Ensure `typescript` is installed: `npm install -D typescript`
|
|
299
366
|
- Run `tsc --noEmit` to see specific errors
|
|
300
|
-
-
|
|
367
|
+
- Verify your `tsconfig.json` is properly configured
|
|
301
368
|
|
|
302
369
|
**Vite plugin not generating files**
|
|
303
370
|
- Ensure Node.js 24+ is installed
|
|
304
371
|
- Check that all required options (`name`, `output`) are provided
|
|
305
|
-
- Set `verbose: true` in plugin options
|
|
372
|
+
- Set `verbose: true` in plugin options
|
|
306
373
|
|
|
307
374
|
**Watch mode not triggering regeneration**
|
|
308
375
|
- Watch mode monitors the spec file, not your output file
|
|
@@ -311,8 +378,11 @@ npx @moccona/apicodegen <OpenAPIζζ‘£URL> -o ./src/api.ts
|
|
|
311
378
|
|
|
312
379
|
### Getting Help
|
|
313
380
|
|
|
314
|
-
-
|
|
315
|
-
-
|
|
381
|
+
- π [CHANGELOG](CHANGELOG.md) - Recent updates
|
|
382
|
+
- π [GitHub Issues](https://github.com/freemode1614/api-codegen/issues) - Report bugs
|
|
383
|
+
- π [docs/roadmap.md](docs/roadmap.md) - Future plans
|
|
384
|
+
|
|
385
|
+
---
|
|
316
386
|
|
|
317
387
|
## π§ Development
|
|
318
388
|
|
|
@@ -320,13 +390,13 @@ npx @moccona/apicodegen <OpenAPIζζ‘£URL> -o ./src/api.ts
|
|
|
320
390
|
# Install dependencies
|
|
321
391
|
pnpm install
|
|
322
392
|
|
|
323
|
-
# Development mode
|
|
393
|
+
# Development mode (watch)
|
|
324
394
|
pnpm dev
|
|
325
395
|
|
|
326
|
-
# Build
|
|
396
|
+
# Build for production
|
|
327
397
|
pnpm build
|
|
328
398
|
|
|
329
|
-
# Run tests
|
|
399
|
+
# Run all tests
|
|
330
400
|
pnpm test
|
|
331
401
|
|
|
332
402
|
# Type check
|
|
@@ -335,10 +405,42 @@ pnpm typecheck
|
|
|
335
405
|
# Lint
|
|
336
406
|
pnpm lint
|
|
337
407
|
|
|
338
|
-
# Format
|
|
408
|
+
# Format code
|
|
339
409
|
pnpm format
|
|
340
410
|
```
|
|
341
411
|
|
|
412
|
+
### Project Structure
|
|
413
|
+
|
|
414
|
+
```
|
|
415
|
+
src/
|
|
416
|
+
βββ cli.ts # CLI entry point
|
|
417
|
+
βββ cli/ # CLI modules
|
|
418
|
+
βββ core/ # Core code generation
|
|
419
|
+
β βββ generator/ # TypeScript AST generation
|
|
420
|
+
β βββ client/ # fetch/axios adaptors
|
|
421
|
+
β βββ base/ # Base utilities
|
|
422
|
+
β βββ constants/ # Constants
|
|
423
|
+
βββ openapi/ # OpenAPI spec parsing
|
|
424
|
+
β βββ V2.ts # OpenAPI 2.0
|
|
425
|
+
β βββ V3.ts # OpenAPI 3.0
|
|
426
|
+
β βββ V3_1.ts # OpenAPI 3.1
|
|
427
|
+
βββ vite-plugin/ # Vite plugin
|
|
428
|
+
βββ types/ # TypeScript types
|
|
429
|
+
```
|
|
430
|
+
|
|
431
|
+
---
|
|
432
|
+
|
|
433
|
+
## πΊοΈ Roadmap
|
|
434
|
+
|
|
435
|
+
See [docs/roadmap.md](docs/roadmap.md) for detailed future plans:
|
|
436
|
+
|
|
437
|
+
- **v0.1.0** - TypeScript strict mode, config files, enhanced errors
|
|
438
|
+
- **v0.2.0** - Plugin system, template engine, incremental generation
|
|
439
|
+
- **v0.3.0** - VSCode LSP, GitHub Action, mock server
|
|
440
|
+
- **v0.4.0+** - Web UI, GraphQL support
|
|
441
|
+
|
|
442
|
+
---
|
|
443
|
+
|
|
342
444
|
## π License
|
|
343
445
|
|
|
344
446
|
[MIT](LICENSE) Β© freemode
|
|
@@ -347,6 +449,17 @@ pnpm format
|
|
|
347
449
|
|
|
348
450
|
Issues and Pull Requests are welcome!
|
|
349
451
|
|
|
452
|
+
- π [Contributing Guide](./CONTRIBUTING.md) β dev setup, code style, PR process
|
|
453
|
+
- π [Code of Conduct](./CODE_OF_CONDUCT.md) β community norms & engineering standards
|
|
454
|
+
- π [Security Policy](./SECURITY.md) β how to report vulnerabilities privately
|
|
455
|
+
- π¬ [GitHub Discussions](https://github.com/freemode1614/api-codegen/discussions) β questions & ideas
|
|
456
|
+
|
|
457
|
+
When opening an issue, you'll be guided through **Bug Report**, **Feature Request**,
|
|
458
|
+
**Documentation**, or **Question** templates so we can help you faster.
|
|
459
|
+
|
|
460
|
+
By participating in this project you agree to abide by the [Code of Conduct](./CODE_OF_CONDUCT.md).
|
|
461
|
+
|
|
350
462
|
---
|
|
351
463
|
|
|
352
|
-
Questions or suggestions?
|
|
464
|
+
*Questions or suggestions? [Start a discussion](https://github.com/freemode1614/api-codegen/discussions)
|
|
465
|
+
or [open an issue](https://github.com/freemode1614/api-codegen/issues).*
|