Skip to content

Uni and Multi should not be represented in OpenAPI schema #8811

@emmanuelbernard

Description

@emmanuelbernard

When using

@GET
@Path("/{name}")
public Uni<Fruit> getOne(@PathParam(value = "name") String name) {
}

The schema is

UniFruit:
  type: object

Which is wrong. Uni and Multi should not be in the open api contract.

See https://stackoverflow.com/questions/61394139/openapi-spec-for-reactive-rest-service-using-quarkus

@cescoffier @kenfinnigan

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions