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

[FEATURE]: Swagger Documentation #371

Merged
merged 58 commits into from
Aug 3, 2022
Merged

[FEATURE]: Swagger Documentation #371

merged 58 commits into from
Aug 3, 2022

Conversation

dsousa12
Copy link
Contributor

@dsousa12 dsousa12 commented Jul 25, 2022

Relates to #296

Screenshots

image
image

Proposed Changes

  • Install Swagger packages;
  • Use decorators for type responses, parameteres and body on each endpoint;
  • Create default errors response classes to use on Swaggger.

This pull request closes #296

tutods and others added 30 commits July 19, 2022 14:20
@dsousa12 dsousa12 requested review from nunocaseiro and a team July 25, 2022 15:28
@dsousa12 dsousa12 linked an issue Jul 25, 2022 that may be closed by this pull request
26 tasks
@dsousa12 dsousa12 changed the title Feat swagger documentation [FEATURE]: Swagger Documentation Jul 25, 2022
Copy link
Contributor

@nunocaseiro nunocaseiro left a comment

Choose a reason for hiding this comment

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

Amazing job! Before the merge please verify if this pr doesn't break any feature

backend/src/app.module.ts Outdated Show resolved Hide resolved
backend/src/modules/cards/controller/cards.controller.ts Outdated Show resolved Hide resolved
dsousa12 and others added 3 commits August 2, 2022 07:28
Co-authored-by: Nuno Caseiro <90208434+nunocaseiro@users.noreply.github.com>
Co-authored-by: Nuno Caseiro <90208434+nunocaseiro@users.noreply.github.com>
Copy link
Contributor

@geomarb geomarb left a comment

Choose a reason for hiding this comment

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

Congratulations there is a huge and great work here, and the most important part: it works perfectly! There are some small adjustments to be done in the code.

backend/src/libs/swagger/errors/bard-request.swagger.ts Outdated Show resolved Hide resolved
backend/src/libs/swagger/errors/bard-request.swagger.ts Outdated Show resolved Hide resolved
backend/src/libs/swagger/errors/forbidden.swagger.ts Outdated Show resolved Hide resolved
backend/src/libs/swagger/errors/not-found.swagger.ts Outdated Show resolved Hide resolved
frontend/src/api/boardService.tsx Outdated Show resolved Hide resolved
@dsousa12 dsousa12 requested review from geomarb, nunocaseiro and a team August 2, 2022 13:08
Copy link
Contributor

@geomarb geomarb left a comment

Choose a reason for hiding this comment

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

Perfect!!!

@dsousa12 dsousa12 requested review from nunocaseiro and removed request for nunocaseiro August 3, 2022 06:12
Copy link
Contributor

@nunocaseiro nunocaseiro left a comment

Choose a reason for hiding this comment

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

Great job!

@dsousa12 dsousa12 merged commit 309b78b into main Aug 3, 2022
@dsousa12 dsousa12 deleted the feat-swagger-documentation branch August 3, 2022 14:22
dsousa12 added a commit that referenced this pull request Aug 4, 2022
Co-authored-by: Daniel Sousa @tutods <jdaniel.asousa@gmail.com>
Co-authored-by: Geomar Bastiani <g.bastiani@kigroup.de>
Co-authored-by: João Santos <68588265+joaosantos99@users.noreply.github.com>
Co-authored-by: joaosantos99 <jfss291@gmail.com>
Co-authored-by: Catia Barroco <104831678+CatiaBarroco-xgeeks@users.noreply.github.com>
Co-authored-by: Francisco Morgado <f.morgado@kigroup.de>
Co-authored-by: Daniel Sousa <tutods@Macbook-Pro.local>
Co-authored-by: Nuno Caseiro <90208434+nunocaseiro@users.noreply.github.com>
Co-authored-by: CatiaBarroco-xgeeks <104831678+CatiaBarroco-xgeeks@users.noreply.github.com>
Co-authored-by: Luís Francisco <67462841+dvpfran@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend documentation Improvements or additions to documentation enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[FEATURE]: Swagger Documentation
6 participants