Skip to content

Using open api 3.1 - Putting annotation - @field:Schema(enumAsRef = true) - on a property does not result in $ref #4932

@damiankaplon

Description

@damiankaplon

It started after updating spring-doc dependency in some project. Here is springdoc-openapi issue I created. It contains minimal reproducible example project with springboot - kotlin.

I created a draft PR which contains failing tests. The test fails only for open api version 3.1. However the test is passing for 3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions