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 TypedException.IProps.examples type. #1171

Merged
merged 1 commit into from
Dec 27, 2024
Merged

Fix TypedException.IProps.examples type. #1171

merged 1 commit into from
Dec 27, 2024

Conversation

samchon
Copy link
Owner

@samchon samchon commented Dec 27, 2024

This pull request includes several updates to version dependencies and enhancements to the TypedException decorator. The most important changes include version bumps for various packages and the addition of detailed properties and examples to the TypedException decorator.

Dependency Updates:

  • Updated typia dependency version from ^7.5.0 to ^7.5.1 in multiple package.json files. [1] [2] [3] [4] [5] [6] [7]
  • Updated @samchon/openapi dependency version from ^2.3.0 to ^2.3.1 in multiple package.json files. [1] [2] [3] [4] [5]

Enhancements to TypedException Decorator:

  • Added detailed properties and examples to the TypedException decorator in TypedException.ts. This includes status patterns, descriptions, example values, and collections of examples.
  • Updated ExceptionController.ts to include examples for exceptions, providing summaries and descriptions for different scenarios.
  • Added tests in test_swagger.ts to validate the examples for exceptions, ensuring the correct structure and values.
  • Updated swagger.json to include examples for exceptions, enhancing the documentation with detailed scenarios.

These changes collectively improve the robustness and clarity of exception handling in the codebase, while also ensuring that dependencies are up-to-date.

@samchon samchon added bug Something isn't working enhancement New feature or request labels Dec 27, 2024
@samchon samchon self-assigned this Dec 27, 2024
Copy link

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@nestia/[email protected] None 0 139 kB samchon
npm/@trivago/[email protected] Transitive: environment +27 8.34 MB behraang
npm/@types/[email protected] None 0 13.1 kB types
npm/@types/[email protected] None 0 16.5 kB types
npm/@types/[email protected] None +4 34.6 kB types
npm/@types/[email protected] None 0 7.82 kB types
npm/@typescript-eslint/[email protected] Transitive: environment, eval, filesystem, shell, unsafe +107 16.1 MB jameshenry
npm/@typescript-eslint/[email protected] Transitive: environment, eval, filesystem, shell, unsafe +100 12.9 MB jameshenry
npm/[email protected] None 0 62.2 kB andidittrich
npm/[email protected] environment, filesystem, shell 0 174 kB shadowspawn
npm/[email protected] None 0 13.9 kB motdotla
npm/[email protected] environment, filesystem 0 75.8 kB motdotla
npm/[email protected] None 0 87.6 kB sboudrias
npm/[email protected] filesystem Transitive: environment +18 630 kB linusu
npm/[email protected] None 0 7.83 MB prettier-bot
npm/[email protected] environment, filesystem Transitive: shell +19 3.49 MB isaacs
npm/[email protected] None +1 27.6 kB sindresorhus
npm/[email protected] None +2 11.3 MB scottie1984
npm/[email protected] Transitive: environment +1 583 kB danielpza
npm/[email protected] None 0 168 kB broofa

🚮 Removed packages: npm/@eslint/[email protected], npm/@mui/[email protected], npm/@stackblitz/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@vitejs/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected]

View full report↗︎

Copy link
Owner Author

@samchon samchon left a comment

Choose a reason for hiding this comment

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

Test OK

@samchon samchon merged commit c76cf0e into master Dec 27, 2024
6 checks passed
@samchon samchon deleted the feat/examples branch December 27, 2024 03:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant