Skip to content

Commit ea23d86

Browse files
committed
Initial version
1 parent 32a87cf commit ea23d86

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+23486
-0
lines changed

.editorconfig

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
root = true
2+
3+
# All files
4+
[*]
5+
charset = utf-8
6+
end_of_line = lf
7+
indent_style = space
8+
indent_size = 2
9+
insert_final_newline = true
10+
trim_trailing_whitespace = true
11+
12+
# Markdown files
13+
[*.md]
14+
trim_trailing_whitespace = false
15+
16+
# Package files
17+
[{package.json,package-lock.json}]
18+
indent_size = 2
19+
20+
# YAML files
21+
[*.{yml,yaml}]
22+
indent_size = 2
23+
24+
# JSON files
25+
[*.json]
26+
indent_size = 2
27+
28+
# TypeScript and JavaScript files
29+
[*.{ts,tsx,js,jsx}]
30+
indent_size = 2
31+
# Note: EditorConfig has limited formatting options
32+
# For detailed formatting like spaces around braces { },
33+
# consider using Prettier or ESLint with formatting rules
34+
35+
# Configuration files
36+
[*.{toml,ini}]
37+
indent_size = 2
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
name: Bug report
3+
about: Create a bug report to help us improve
4+
title: "[BUG] Description"
5+
labels: 'Issue: Bug'
6+
assignees: ''
7+
8+
---
9+
10+
#### Bug Report Checklist
11+
12+
- [ ] Have you provided a code sample to reproduce the issue?
13+
- [ ] Have you tested with the latest release to confirm the issue still exists?
14+
- [ ] Have you searched for related issues/PRs?
15+
- [ ] What's the actual output vs expected output?
16+
17+
<!--
18+
Please follow the issue template below for bug reports and feature requests.
19+
-->
20+
21+
**Description**
22+
A clear and concise description of what is the question, suggestion, or issue and why this is a problem for you.
23+
24+
**To Reproduce**
25+
Steps to reproduce the behavior.
26+
27+
**Expected behavior**
28+
A clear and concise description of what you expected to happen.
29+
30+
**Screenshots**
31+
If applicable, add screenshots to help explain your problem.
32+
33+
**Additional context**
34+
Add any other context about the problem here (OS, language version, etc..).
35+
36+
37+
**Related issues/PRs**
38+
Has a similar issue/PR been reported/opened before?
39+
40+
**Suggest a fix/enhancement**
41+
If you can't fix the bug yourself, perhaps you can point to what might be causing the problem (line of code or commit), or simply make a suggestion.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: "[REQ] Feature Request Description"
5+
labels: 'Enhancement: Feature'
6+
assignees: ''
7+
8+
---
9+
10+
### Is your feature request related to a problem? Please describe.
11+
12+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
13+
14+
### Describe the solution you'd like
15+
16+
A clear and concise description of what you want to happen.
17+
18+
### Describe alternatives you've considered
19+
20+
A clear and concise description of any alternative solutions or features you've considered.
21+
22+
### Additional context
23+
24+
Add any other context or screenshots about the feature request here.

.github/pull_request_template.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<!-- Please check the completed items below -->
2+
### PR checklist
3+
4+
- [ ] An issue/feature request has been created for this PR
5+
- [ ] Pull Request title clearly describes the work in the pull request and the Pull Request description provides details about how to validate the work. Missing information here may result in a delayed response.
6+
- [ ] File the PR against the `master` branch
7+
- [ ] The code in this PR is covered by unit tests
8+
9+
#### Link to issue/feature request: *add the link here*
10+
11+
#### Description
12+
A clear and concise description of what is this PR for and any additional info might be useful for reviewing it.

.github/workflows/ci-axios.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: axios
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- develop
8+
pull_request:
9+
branches:
10+
- main
11+
- develop
12+
13+
jobs:
14+
integration-axios:
15+
strategy:
16+
matrix:
17+
node-version:
18+
- 24.x
19+
axios-version:
20+
- 1.9.0
21+
- 1.10.0
22+
- 1.11.0
23+
- 1.12.0
24+
- 1.13.0
25+
uses: ./.github/workflows/test-template.yaml
26+
with:
27+
node-version: ${{ matrix.node-version }}
28+
axios-version: ${{ matrix.axios-version }}
29+
superagent-version: ''
30+
test-command: 'npx jest tests/integration/e2e -t "axios"'
31+
cache-generated-clients: false

.github/workflows/ci-fetch.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: fetch
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- develop
8+
pull_request:
9+
branches:
10+
- main
11+
- develop
12+
13+
jobs:
14+
integration-fetch:
15+
strategy:
16+
matrix:
17+
node-version:
18+
- 20.x
19+
- 22.x
20+
- 24.x
21+
uses: ./.github/workflows/test-template.yaml
22+
with:
23+
node-version: ${{ matrix.node-version }}
24+
axios-version: ''
25+
superagent-version: ''
26+
test-command: 'npx jest tests/integration/e2e -t "fetch"'
27+
cache-generated-clients: false

.github/workflows/ci-nodejs.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Node.js
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- develop
8+
pull_request:
9+
branches:
10+
- main
11+
- develop
12+
13+
jobs:
14+
unit-tests:
15+
strategy:
16+
matrix:
17+
node-version:
18+
- 20.x
19+
- 22.x
20+
- 24.x
21+
uses: ./.github/workflows/test-template.yaml
22+
with:
23+
node-version: ${{ matrix.node-version }}
24+
test-command: 'npm test'
25+
cache-generated-clients: true
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: openapi-axios
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- develop
8+
pull_request:
9+
branches:
10+
- main
11+
- develop
12+
13+
jobs:
14+
integration-openapi-axios:
15+
strategy:
16+
matrix:
17+
node-version:
18+
- 24.x
19+
openapi-generator-version:
20+
- 7.0.0
21+
- 7.19.0
22+
axios-version:
23+
- 1.9.0
24+
- 1.10.0
25+
- 1.11.0
26+
- 1.12.0
27+
- 1.13.0
28+
uses: ./.github/workflows/test-template.yaml
29+
with:
30+
node-version: ${{ matrix.node-version }}
31+
openapi-generator-version: ${{ matrix.openapi-generator-version }}
32+
axios-version: ${{ matrix.axios-version }}
33+
superagent-version: ''
34+
test-command: 'npx jest tests/integration/e2e -t "openapi-axios"'
35+
cache-generated-clients: false
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: openapi-fetch
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- develop
8+
pull_request:
9+
branches:
10+
- main
11+
- develop
12+
13+
jobs:
14+
integration-openapi-fetch:
15+
strategy:
16+
matrix:
17+
node-version:
18+
- 24.x
19+
openapi-generator-version:
20+
- 7.0.0
21+
- 7.19.0
22+
uses: ./.github/workflows/test-template.yaml
23+
with:
24+
node-version: ${{ matrix.node-version }}
25+
openapi-generator-version: ${{ matrix.openapi-generator-version }}
26+
axios-version: ''
27+
superagent-version: ''
28+
test-command: 'npx jest tests/integration/e2e -t "openapi-fetch"'
29+
cache-generated-clients: false
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: openapi-superagent
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- develop
8+
pull_request:
9+
branches:
10+
- main
11+
- develop
12+
13+
jobs:
14+
integration-openapi-superagent:
15+
strategy:
16+
matrix:
17+
node-version:
18+
- 24.x
19+
openapi-generator-version:
20+
- 7.0.0
21+
- 7.19.0
22+
superagent-version:
23+
- 8.1.0
24+
- 9.0.0
25+
- 10.0.0
26+
- 10.1.0
27+
- 10.2.0
28+
uses: ./.github/workflows/test-template.yaml
29+
with:
30+
node-version: ${{ matrix.node-version }}
31+
openapi-generator-version: ${{ matrix.openapi-generator-version }}
32+
axios-version: ''
33+
superagent-version: ${{ matrix.superagent-version }}
34+
test-command: 'npx jest tests/integration/e2e -t "openapi-superagent"'
35+
cache-generated-clients: false

0 commit comments

Comments
 (0)