This library helps to add an endpoint to an Azure Function that provides a specification of the provided HTTP trigger endpoints according to the OpenAPI Specification.
The route demo/{id?} and parameter int id may result in an Internal Server Error (500) if called as demo/. The parameter should be int? id to allow for the optional int. We can detect this while generating the documentation and report it.