swagger: '2.0'
info:
  version: '2.0'
  title: ServiceNow Connector File
  description: Swagger API for ServiceNow and AEM
host: dev87628.service-now.com
basePath: /api/now/table
schemes:
  - https
  - http
consumes:
  - application/json
  - application/xml
produces:
  - application/json
  - application/xml
paths:
  /incident:
    get:
      summary: Get all incidents
      description: ''
      operationId: Get All Incidents
      produces:
        - application/json
        - application/xml
      responses:
        '200':
          description: Successful record creation
          schema:
            $ref: '#/definitions/incidents'
        
definitions:
  incident: 
    type: object
    properties:
      number:
        type: string
      short_description:
        type: string
      comments:
        type: string
  incidents:
    type: object
    properties:
      result:
        type: array
        items:
            $ref: '#/definitions/incident'
    
  