Skip to content

Document a Swashbuckle schema filter for ranges and sets #49

Done

Description

@CaffeinatedCoder

In 10.5.0 since 2026-11-28 (maintainer), as one of two small additions (#521). Documentation and its test only. It merges into main first and is cherry-picked into release/10.x.


docs/serialization.md documents the OpenAPI schema transformer for Microsoft.AspNetCore.OpenApi. Many consumers still use Swashbuckle, and they get the default schema for a range: an object with the record's properties, not the literal string the API actually sends.

Add the Swashbuckle equivalent (a schema filter) next to it, tested the same way ValueRangesSchemaTransformer.cs is in test/CodoMetis.ValueRanges.AspNetCore.Tests.

Activity

  1. added this to the 9.1.0 milestone on Oct 17, 2026
  2. added
    documentation
    area/json
    on Oct 17, 2026
  3. added
    package/core
    on Oct 17, 2026
  4. removed this from the 9.1.0 milestone on Oct 17, 2026
  5. CaffeinatedCoder commented on Oct 17, 2026

    @CaffeinatedCoder
    OwnerAuthor

    Moved off 9.1.0 into the backlog (#83), with no milestone.

    release/9.x has been cut, and 9.1.0 ships with the work that's already finished. Nothing has started on this issue, and it shouldn't hold up the tag. Docs, tests and internal work aren't tied to a version, so this doesn't need a milestone until someone picks it up.

    When someone picks it up, it goes under the epic of the release it will ship in and takes that milestone. A 9.x minor would need the change cherry-picked onto release/9.x.

  6. added this to the 10.5.0 milestone on Nov 28, 2026
  7. added 2 commits that reference this issue on Nov 30, 2026
  8. added a commit that references this issue on Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/jsondocumentationpackage/core

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions