Skip to content

v2 to v3 converter: support for x-nullable extension in formdata parameters #820

Closed

Description

@jmini

As demonstrated in #810 the x-nullable: <true or false> extension in OASv2 should be converted to nullable: <value> in OASv3.

This does not work for formData parameters like this input:

      parameters:
        - name: p1
          in: formData
          description: first description
          required: false
          type: string
          x-nullable: true

OAS3 output:

      requestBody:
        content:
          multipart/form-data:
            schema:
              properties:
                p1:
                  type: string
                  description: first description

Activity

  1. changed the title [-]v2 to v3 converter: x-nullable extension gets lost for formdata param[/-] [+]v2 to v3 converter: support for x-nullable extension in formdata parameters[/+] on Aug 30, 2018
  2. jmini commented on Aug 30, 2018

    @jmini
    ContributorAuthor

    Pull-Request to fix this issue: #821

  3. gracekarina commented on Aug 30, 2018

    @gracekarina
    Contributor

    Closed By #821

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

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