This pull request enhances Swashbuckle to support Newtonsoft.Json library for Azure Functions. Currently, Swashbuckle does not recognize JsonProperty annotations in models. With this update, Swashbuckle now properly handles models annotated with JsonProperty.
Additionally, this update introduces a new feature to enable or disable Newtonsoft.Json support during Swashbuckle initialization in Azure Functions Startup. By setting the AddNewtonsoftSupport property to true, developers can activate support for Newtonsoft.Json. By default, Newtonsoft is disabled.
This update provides more flexibility and compatibility for developers working with Azure Functions and Swashbuckle, ensuring seamless integration with Newtonsoft.Json serialization.
This pull request enhances Swashbuckle to support Newtonsoft.Json library for Azure Functions. Currently, Swashbuckle does not recognize JsonProperty annotations in models. With this update, Swashbuckle now properly handles models annotated with JsonProperty.
Additionally, this update introduces a new feature to enable or disable Newtonsoft.Json support during Swashbuckle initialization in Azure Functions Startup. By setting the AddNewtonsoftSupport property to true, developers can activate support for Newtonsoft.Json. By default, Newtonsoft is disabled.
Example usage:
This update provides more flexibility and compatibility for developers working with Azure Functions and Swashbuckle, ensuring seamless integration with Newtonsoft.Json serialization.