Skip to content

Upgrading Swashbuckle.AspNetCore.Annotations 4 to 5

Unknown4.0.1 → 5.6.3

Fetching 22 releases from GitHub…0 / 22
UnknownUpgrade verdict

DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.

  • DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
  • This page updates as the notes come in.
Still reading release notes

DepDelta is still reading the release notes in this range. This updates as they come in.

Target frameworks requirement changed in 5.0.0-rc5: .NETStandard2.0 → .NETCoreApp3.0, .NETStandard2.0.

1 package of its own release moves with it.

Generated by DepDelta from published .NET assemblies. Not mixed with prose notes.

  • added: static method AnnotationsSwaggerGenOptionsExtensions.EnableAnnotations(SwaggerGenOptions options, bool enableAnnotationsForInheritance, bool enableAnnotationsForPolymorphism): void
  • added: static method AnnotationsSwaggerGenOptionsExtensions.EnableAnnotations(SwaggerGenOptions options, bool enableSubTypeAnnotations): void
  • removed: property SwaggerOperationAttribute.Consumes: string[] { get; set; }
  • removed: property SwaggerOperationAttribute.Produces: string[] { get; set; }
  • removed: property SwaggerOperationAttribute.Schemes: string[] { get; set; }
  • changed: method AnnotationsDocumentFilter.Apply(SwaggerDocument swaggerDoc, DocumentFilterContext context): void → method AnnotationsDocumentFilter.Apply(OpenApiDocument swaggerDoc, DocumentFilterContext context): void
  • changed: method AnnotationsOperationFilter.Apply(Operation operation, OperationFilterContext context): void → method AnnotationsOperationFilter.Apply(OpenApiOperation operation, OperationFilterContext context): void
  • changed: method AnnotationsParameterFilter.Apply(IParameter parameter, ParameterFilterContext context): void → method AnnotationsParameterFilter.Apply(OpenApiParameter parameter, ParameterFilterContext context): void
  • changed: method AnnotationsSchemaFilter.Apply(Schema schema, SchemaFilterContext context): void → method AnnotationsSchemaFilter.Apply(OpenApiSchema schema, SchemaFilterContext context): void
  • changed: static method AnnotationsOperationFilter.ApplySwaggerOperationFilterAttributes(Operation operation, OperationFilterContext context, IEnumerable<object> actionAndControllerAttributes): void → static method AnnotationsOperationFilter.ApplySwaggerOperationFilterAttributes(OpenApiOperation operation, OperationFilterContext context, IEnumerable<object> controllerAndActionAttributes): void
  • added: class AnnotationsRequestBodyFilter implements IRequestBodyFilter
  • added: class SwaggerDiscriminatorAttribute extends Attribute
  • added: class SwaggerRequestBodyAttribute extends Attribute
  • added: class SwaggerSchemaAttribute extends Attribute
  • added: class SwaggerSubTypeAttribute extends Attribute
  • added: class SwaggerSubTypesAttribute extends Attribute
  • added: ctor AnnotationsRequestBodyFilter()
  • added: ctor SwaggerDiscriminatorAttribute(string propertyName)
  • added: ctor SwaggerRequestBodyAttribute(string description = …)
  • added: ctor SwaggerSchemaAttribute(string description = …)
  • added: ctor SwaggerSubTypeAttribute(Type subType)
  • added: ctor SwaggerSubTypesAttribute(Type[] subTypes)
  • added: method AnnotationsRequestBodyFilter.Apply(OpenApiRequestBody requestBody, RequestBodyFilterContext context): void
  • added: property SwaggerDiscriminatorAttribute.PropertyName: string { get; set; }
  • added: property SwaggerRequestBodyAttribute.Description: string { get; set; }
  • added: property SwaggerRequestBodyAttribute.Required: bool { get; set; }
  • added: property SwaggerSchemaAttribute.Description: string { get; set; }
  • added: property SwaggerSchemaAttribute.Format: string { get; set; }
  • added: property SwaggerSchemaAttribute.ReadOnly: bool { get; set; }
  • added: property SwaggerSchemaAttribute.Required: string[] { get; set; }
  • added: property SwaggerSchemaAttribute.Title: string { get; set; }
  • added: property SwaggerSchemaAttribute.WriteOnly: bool { get; set; }
  • added: property SwaggerSubTypeAttribute.DiscriminatorValue: string { get; set; }
  • added: property SwaggerSubTypeAttribute.SubType: Type { get; set; }
  • added: property SwaggerSubTypesAttribute.Discriminator: string { get; set; }
  • added: property SwaggerSubTypesAttribute.SubTypes: IEnumerable<Type> { get; }