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

feat: implement openapi #482

Merged
merged 1 commit into from
Aug 25, 2024
Merged

feat: implement openapi #482

merged 1 commit into from
Aug 25, 2024

Conversation

manuel-rw
Copy link
Member

@manuel-rw manuel-rw commented May 12, 2024


Homarr

Thank you for your contribution. Please ensure that your pull request meets the following pull request:

  • Builds without warnings or errors (pnpm buid, autofix with pnpm format:fix)
  • Pull request targets dev branch
  • Commits follow the conventional commits guideline
  • No shorthand variable names are used (eg. x, y, i or any abbrevation)

@manuel-rw manuel-rw linked an issue May 24, 2024 that may be closed by this pull request
apps/nextjs/package.json Outdated Show resolved Hide resolved
Copy link

deepsource-io bot commented Aug 4, 2024

Here's the code health analysis summary for commits a3520e4..482c490. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource JavaScript LogoJavaScript✅ SuccessView Check ↗

💡 If you’re a repository administrator, you can configure the quality gates from the settings.

Copy link

github-actions bot commented Aug 4, 2024

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 39.85% 11676 / 29299
🔵 Statements 39.85% 11676 / 29299
🔵 Functions 36.71% 282 / 768
🔵 Branches 71.17% 1079 / 1516
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
apps/nextjs/src/app/[locale]/manage/layout.tsx 0% 0% 0% 0% 1-2, 23, 25-26, 28, 30-31, 33-144, 146-151, 153
apps/nextjs/src/app/[locale]/manage/tools/api/page.tsx 0% 0% 0% 0% 1, 4-6, 8-9, 11-12, 14, 16-17, 19-22, 24-25, 27-28
apps/nextjs/src/app/api/[...trpc]/route.ts 0% 0% 0% 0% 1, 3, 5-12
apps/nextjs/src/app/api/openapi/route.ts 0% 0% 0% 0% 1, 3-4, 6-8
packages/api/src/index.ts 0% 0% 0% 0% 1, 3, 5-6, 15
packages/api/src/open-api.ts 0% 0% 0% 0% 1, 3, 5-11
packages/api/src/trpc.ts 73.68% 100% 33.33% 73.68% 33-34, 36, 38-42, 56-62
packages/api/src/router/user.ts 48.38% 78.94% 100% 48.38% 77-78, 80, 96-101, 103-110, 112-117, 119-124, 126-131, 148-156, 159-165, 168-179, 181-186, 188, 197-201, 204-208, 226, 228-233, 235-243, 245-250, 252-257, 260, 262-264, 266-268, 270-276, 278-285, 290, 292-297, 299-304, 306-311, 313-318, 352-356
packages/translation/src/lang/en.ts 100% 100% 100% 100%
Generated in workflow #2685

@manuel-rw manuel-rw force-pushed the feat/implement-openapi branch 5 times, most recently from 8980095 to a6c8c63 Compare August 15, 2024 17:41
@manuel-rw manuel-rw marked this pull request as ready for review August 15, 2024 17:44
@manuel-rw manuel-rw requested a review from a team as a code owner August 15, 2024 17:44
@manuel-rw
Copy link
Member Author

I will submit a stacked PR for the API keys

apps/nextjs/package.json Outdated Show resolved Hide resolved
apps/nextjs/src/app/[locale]/manage/tools/api/page.tsx Outdated Show resolved Hide resolved
apps/nextjs/src/app/api/[...trpc]/route.ts Outdated Show resolved Hide resolved
apps/nextjs/src/app/api/[...trpc]/route.ts Show resolved Hide resolved
apps/nextjs/src/app/api/trpc/[trpc]/route.ts Outdated Show resolved Hide resolved
packages/api/src/root.ts Outdated Show resolved Hide resolved
packages/api/src/router/user.ts Show resolved Hide resolved
packages/api/src/router/user.ts Show resolved Hide resolved
Meierschlumpf
Meierschlumpf previously approved these changes Aug 18, 2024
Copy link
Member

@Meierschlumpf Meierschlumpf left a comment

Choose a reason for hiding this comment

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

Now looks good to me

Meierschlumpf
Meierschlumpf previously approved these changes Aug 18, 2024
Meierschlumpf
Meierschlumpf previously approved these changes Aug 24, 2024
@manuel-rw manuel-rw merged commit f0cd45c into dev Aug 25, 2024
10 checks passed
@manuel-rw manuel-rw deleted the feat/implement-openapi branch August 25, 2024 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: add api and documentation using swagger
3 participants