You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds support for System.Text.Json.RequiredAttribute
Fixes an issue where referencing same schema multiple times causes runtime error. domaindrivendev#2679 Instead changed the runtime to throw error if same id path is used for different schemas. for #3
v3.0.2
Fixes an issue where nullable is not defined for primitive response type schema domaindrivendev#2731
Fixes an issue where nested record types nullable does not get generated correctly ab7e8e6
DotSwashbuckle dependencies are now defined with open version to allow applications update them
v3.0.0
Adds support for using <remarks> on schema XML comments.
When using <remarks> on a class, it will be used as the description for the schema.
When there is also <summary> defined, the <summary> will be used as the title for the schema.
When <summary> is defined alone it is used as description for the schema.
Adds support for defining examples using SwaggerSchemaAttribute.
Adds support for custom Required and Binding attributes
Fixes an issue where UniqueItems is not set true for IReadOnlySet<T>
Adds support for WithSummary and WithDescription metadata
Improve performance of IsRequiredSpecified method
Fixes an issue where query string parameters crash OpenApi path generation System.ArgumentException: Literal sections cannot contain the '?' character.
SwaggerGenOptionsExtensions.TagActionsBy overload -> "Use the overload that accepts a Func that returns a list of tags"
SwaggerGenOptionsExtensions.GeneratePolymorphicSchemas -> You can use "UseOneOfForPolymorphism", "UseAllOfForInheritance" and "SelectSubTypesUsing" to configure equivalent behavior
DataContract.ForPrimitive -> "Provide jsonConverter function instead of enumValues"
DataContract.EnumValues -> Use JsonConverter instead
ApiDescriptionExtensions.GetAdditionalMetadata -> "Use TryGetMethodInfo() and CustomAttributes() instead"
ApiParameterDescriptionExtensions.GetAdditionalMetadata -> "Use ParameterInfo(), PropertyInfo() and CustomAttributes() extension methods instead"
SwaggerUIOptionsExtensions.ValidatorUrl -> "The validator is disabled by default. Use EnableValidator to enable it"
SwaggerSubType, SwaggerSubTypesAttribute and SwaggerDiscriminator has been removed, use JsonPolymorphic and JsonDerivedType instead