openapi: 3.0.1
info:
  title: testAllApi
  description: API Definition of testAllApi
  version: 1.0.0
servers:
  - url: /hello
paths:
  /addUser:
    put:
      requestBody:
        description: Sample Payload
        content:
          application/json:
            schema:
              type: object
              properties:
                payload:
                  type: object
        required: false
      responses:
        default:
          description: Default response
    post:
      requestBody:
        description: Sample Payload
        content:
          application/json:
            schema:
              type: object
              properties:
                payload:
                  type: object
        required: false
      responses:
        default:
          description: Default response
  /updateUser:
    get:
      responses:
        default:
          description: Default response
    delete:
      responses:
        default:
          description: Default response
  /getUser/{userId}/{userName}:
    get:
      parameters:
        - name: userId
          in: path
          required: true
          schema:
            type: string
        - name: userName
          in: path
          required: true
          schema:
            type: string
      responses:
        default:
          description: Default response
    post:
      parameters:
        - name: userId
          in: path
          required: true
          schema:
            type: string
        - name: userName
          in: path
          required: true
          schema:
            type: string
      requestBody:
        description: Sample Payload
        content:
          application/json:
            schema:
              type: object
              properties:
                payload:
                  type: object
        required: false
      responses:
        default:
          description: Default response
  /getUser/{userId}:
    get:
      parameters:
        - name: username
          in: query
          schema:
            type: string
        - name: age
          in: query
          schema:
            type: int32
        - name: userId
          in: path
          required: true
          schema:
            type: string
      responses:
        default:
          description: Default response
    post:
      parameters:
        - name: username
          in: query
          schema:
            type: string
        - name: age
          in: query
          schema:
            type: string
        - name: userId
          in: path
          required: true
          schema:
            type: string
      requestBody:
        description: Sample Payload
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  format: int64
                  example: 10
                petId:
                  type: integer
                  format: int64
                  example: 198772
                quantity:
                  type: integer
                  format: int32
                  example: 7
                shipDate:
                  type: string
                  format: date-time
                status:
                  type: string
                  description: Order Status
                  example: approved
                  enum:
                    - placed
                    - approved
                    - delivered
                complete:
                  type: boolean
        required: false
      responses:
        default:
          description: Default response
  /:
    put:
      responses:
        default:
          description: Default response
  /additional:
    put:
      requestBody:
        description: Sample Payload
        content:
          application/json:
            schema:
              type: object
              properties:
                payload:
                  type: object
        required: false
      responses:
        default:
          description: Default response
    delete:
      responses:
        default:
          description: Default response
