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

fix(OpenApi): resolve errors and generate openapi file #919

Merged
merged 5 commits into from
Mar 12, 2024
Merged

Conversation

blizzz
Copy link
Member

@blizzz blizzz commented Mar 11, 2024

composer run openapi was not running through

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
@blizzz blizzz added the 3. to review Waiting for reviews label Mar 11, 2024
@blizzz blizzz requested review from juliusknorr and elzody March 11, 2024 15:09
@blizzz blizzz mentioned this pull request Mar 11, 2024
8 tasks
Copy link
Member

@juliusknorr juliusknorr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, would be nice to check if the file is up to date as we talked about earlier

https://github.com/nextcloud/spreed/blob/6e8aaa29b0074c0c76c9606113e5cbdebfdd7c8a/.github/workflows/openapi.yml#L61 for inspiration

@blizzz blizzz force-pushed the fix/noid/openapi branch from 2b6e4fb to 7921a25 Compare March 12, 2024 10:22
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
id: check_typescript_openapi
uses: andstor/file-existence-action@076e0072799f4942c8bc574a82233e1e4d13e9d6 # v3.0.0
with:
files: "src/types/openapi/openapi*.ts"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't have that (yet), but let me quickly check how talk does it, maybe we can adapt it as well for #799

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pushed a commit

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aye, it was optional for the check however.

Signed-off-by: Julius Härtl <jus@bitgrid.net>
blizzz added 2 commits March 12, 2024 11:44
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
@blizzz
Copy link
Member Author

blizzz commented Mar 12, 2024

Green smoke!

@blizzz blizzz added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Mar 12, 2024
@blizzz blizzz merged commit 8f7c6d8 into main Mar 12, 2024
51 checks passed
@blizzz blizzz deleted the fix/noid/openapi branch March 12, 2024 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants