Skip to content

[BUG] io.swagger.v3.oas.models.parameters.RequestBody doesn't support extensions  #10133

Description

@ShijunDeng

io.swagger.v3.oas.models.parameters.RequestBody

public class RequestBody {
private String description = null;
private Content content = null;
private Boolean required = null;
private java.util.Map<String, Object> extensions = null;
private String $ref = null;

the size of extensions is always 0,though there are some extension properties in swagger started with "x",for examle:
- in: body
name: XXXBody
description: "request"。
required: true
schema:
$ref: '#/definitions/KeystoneCreateAgencyTokenRequestBody'
x-order: 3

in above swagger,the "x-order" won't be added to extensions of RequestBody

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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