joolfe / postman-to-openapi

🛸 Convert postman collection to OpenAPI
MIT License
575 stars 99 forks source link

Missing Request Body Schema Properties in the generated Open Api Spec #194

Closed amitpl closed 2 years ago

amitpl commented 2 years ago

Looks like it is not defining the properties of the request body. Example incomplete spec:

  /auth/login:
    post:
      tags:
        - default
      summary: 1.SignIn
      description: Get all users
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                email: narendra@settleking.com
                password: sds@7005
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
joolfe commented 2 years ago

Hi,

For test please provide the source collection.

Best regards

joolfe commented 2 years ago

Please reopen this when ever you have a collection for test, thanks!