atc-net / atc-rest-api-generator

A REST API code generator from OpenAPI Specification in YAML or Json file format
https://atc-net.github.io/repository/atc-rest-api-generator
MIT License
19 stars 4 forks source link

feat: Add optional reason to Forbidden Result when using ProblemDetails #186

Closed Anders-Toegersen closed 1 year ago

Anders-Toegersen commented 1 year ago

changes

Adds optional reason message to Forbidden Result if ProblemDetails are used.

This is in compliance with RFC 7231 and useful when the Forbidden Result is part of the application logic in a specific endpoint.