stoplightio / api-spec-converter

This package helps to convert between different API specifications (Postman, Swagger, RAML, StopLight).
MIT License
137 stars 86 forks source link

"null" generated value for baseUri in RAML #33

Closed sichvoge closed 8 years ago

sichvoge commented 8 years ago

Taking the following Swagger YAML:

swagger: "2.0"
info:
  version: "1.0"
  title: "Hello World API"
paths:
  /hello/{user}:
    get:
      description: Returns a greeting to the user!
      parameters:
        - name: user
          in: path
          type: string
          required: true
          description: The name of the user to greet.
      responses:
        200:
          description: Returns the greeting.
          schema:
            type: string
        400:
          description: Invalid characters in "user" were provided.

I am getting a RAML generated that contains baseUri: "null". That obviously shouldn't happen. Am I right?