Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

default values don't convert for zero and description is missing for path #113

Closed
deefactorial opened this issue Sep 16, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@deefactorial
Copy link

deefactorial commented Sep 16, 2019

When I convert the following yaml file the default value's of zero don't get converted, probably a falsy condition somewhere.

and

Description is converted to [object Object] for path variables.

openapi: 3.0.0
info:
  title: Test
  description: Test Resources
  contact:
    {}
  version: "1.0"
servers:
  - url: http://example.com
    description: example server
paths:
  /v1/test/{id}:
    get:
      tags:
        - TEST
      summary: TEST
      operationId: test
      Description: Test
      parameters:
        - in: path
          name: id
          description: This description doesn't show up.
          schema:
            type: string
            default: "123456"
        - in: query
          name: minTimestamp
          description: Restrict the results to be above minTimestamp
          required: false
          schema:
            type: number
            default: 0
        - in: query
          name: maxTimestamp
          description: Restrict the results to be below maxTimestamp
          required: false
          schema:
            type: number
            default: 1600290830

image

@abhijitkane abhijitkane added the bug Something isn't working label Sep 27, 2019
@umeshp7
Copy link
Contributor

umeshp7 commented Jan 20, 2020

@deefactorial this is fixed on the latest version of Postman (v7.15).
Please try it out and let us know if the issue still persists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants