Skip to content

[BUG] Spring generator - example is ignored in query parameter #22904

@Jdas33

Description

@Jdas33

Description

Extract of yml file :

parameters:
- in: path
name: test
required: true
description: My test
schema:
type: string
example: todo

The spring generator generate :

@NotNull @Parameter(name = "test", description = "My test", required = true, in = ParameterIn.QUERY) @Valid @RequestParam(value = "origine", required = true) String test

Bug

Example "todo" is not added.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions