Skip to content

@ExtensionProperty is not generated without @Operation #368

Closed
@wutzebaer

Description

@wutzebaer

When i define
@ApiResponse(content = @Content(schema = @Schema(type = "file")), extensions = @Extension(properties = @ExtensionProperty(name = "x-is-file", value = "true")))

grafik

the x-is-file is missing, but when i wrap it in an operation, it gets rendered:

@Operation(responses = @ApiResponse(content = @Content(schema = @Schema(type = "file")), extensions = @Extension(properties = @ExtensionProperty(name = "x-is-file", value = "true"))))

grafik

which is annoying because i have an custom annotation which includes an @operation definition

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions