title: YAML Syntax Error: Incomplete explicit mapping pair; a key node is missed at
body: <p>I'm writing swagger spec in YAML and getting vague errors. I've mapped my paths and definitions I think correctly, and not sure what this error means:</p>
  
  <blockquote>
    <p>YAML Syntax Error Incomplete explicit mapping pair; a key node is
    missed at line 66, column 30: format: int64schema: ^t</p>
  </blockquote>
  
  <p>Lines:</p>
  
  <pre><code> Line 65:         type: integer
   Line 66:         format: int64
  </code></pre>
  
  <p>Swagger:</p>
  
  <pre><code>  /product/{productId}:
      get:
        tags:
          - content
        summary: Find product item by ID
        description: Returns a product item when ID &lt; 10.  ID &gt; 10 or nonintegers will simulate API error conditions
        operationId: getProductItemByID
        produces:
          - application/json
          - application/xml
        parameters:
          - in: path
            name: productId
            description: ID of menu item that needs to be fetched
            required: true
            type: integer
            format: int64
            schema:
              $ref: "#/definitions/Product"
        responses:
          "404":
            description: Product item not found
          "200":
            description: successful operation
            schema:
              $ref: "#/definitions/Product"
          "400":
            description: Invalid ID supplied
        security:
          - api_key: []
          - my_auth:
            - write
            - read
  </code></pre>
  
  <p>Then at bottom of swagger file in definitions:</p>
  
  <pre><code>definitions:
  
    Product:
      type: object
      properties:
        id:
          type: integer
          format: int64
        category:
          $ref: '#/definitions/Category'
        name:
          type: string
        detail:
          type: string
  </code></pre>