Skip to content

[OpenAPI 3.1] Phase 0: test harness for paired 3.0/3.1 fixtures #948

Description

@DrSatyr

Part of the OpenAPI 3.1 plan: #942 (Stage 1, Phase 0)

Goal

The test setup that every later phase uses.

Scope

  • Fixture layout: core/src/test/resources/oas31/<rule>/ with old-3.0.yaml, new-3.0.yaml, old-3.1.yaml, new-3.1.yaml
  • A parameterized test that checks 3.0→3.0, 3.1→3.1 and 3.0→3.1 give the same verdict
  • An equivalence test: the same spec written in 3.0 and in 3.1 gives no changes
  • First fixtures: type change, null allowed, exclusive bounds, array items, allOf, oneOf
  • One Swagger 2.0 fixture
  • Today's 3.1 failures are marked as known (disabled with a reference to the phase that fixes them), so the build stays green

Done when

  • Harness and first fixtures merged, build green
  • Known failures are listed in this issue, each linked to the phase that fixes it
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

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions