Skip to content

rodabarbosa/fastendpointtamplate

Repository files navigation

Fast Endpoint Template

This project is intended to be used as a template for creating new API endpoints.

Exception Handling

Considering performance, the API should be designed to handle exceptions using a exception filter. Therefor inside method you should not use the try and catch keywords and create custom exceptions if needed.

Check out the exception filter for more information. Use the filter file to enter new rules if needed.

Note:

  • The exception filter is not required for the API to work.
  • Use of try/catch inside method will impact in performance.
  • The use of custom exceptions is not required for the API to work.

Consideration

This project was created using swagger as the API specification and documentation. For this reason always specify the type of the response, if not it loses its meaning.

Quality Gate Status

About

Fast Endpoint Template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages