• Start your Apidog journey
    • Sample APIs
      • Deletes a pet
        DELETE
    • Auth 组件变量解析问题@vin
      • Ref Token
        • Token
      • Ref "Router Token"
        • RouterToken
    • export_openapi_multiple example
      • /multiple/example0/{TALENT}/1
        GET
      • /multiple/example2
        GET
      • /multiple/example3
        GET
    • auth 引用组件
      PUT
    • auth 非组件
      POST
    • Mock Array Test
      GET
    • /multiple/example
      GET
    • Schema description merge test
      GET
    • Finds Pets by status
      GET
    • test3333
      GET

      Mock Array Test

      GET
      /pet/{petId}
      pet
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location -g --request GET '/pet/1?pets=lily&pets=kitten&string[]=hello'
      Response Response Example
      200 - Success example
      {
          "code": 0,
          "data": {
              "name": "Hello Kitty",
              "photoUrls": [
                  "http://dummyimage.com/400x400"
              ],
              "id": 3,
              "category": {
                  "id": 71,
                  "name": "Cat"
              },
              "tags": [
                  {
                      "id": 22,
                      "name": "Cat"
                  }
              ],
              "status": "sold"
          }
      }

      Request

      Path Params
      petId
      string 
      required
      pet ID
      Example:
      1
      Query Params
      between[]
      array[string]
      optional
      Example:
      ["value1","value2"]
      pets
      array[string]
      required
      Example:
      ["lily","kitten"]
      string[]
      string 
      required
      Example:
      hello

      Responses

      🟢200OK
      application/json
      Body
      betweenWithBrackets
      object 
      required
      status code
      between
      object 
      required
      pet details
      pets
      object 
      required
      🟠404Record not found
      🟠400Invalid input
      Previous
      auth 非组件
      Next
      /multiple/example
      Built with