Parameters by GET Request not send correctly

Hi!

I am trying to use a synchronized API from openAPI specification…
It shows correctly that the hotel-ff should be an array of integers, but it is not sending the values described and shown in the apidog.

In openAPI I have:
@OA\Get(

  • path="/v1/hotel-light",
    
  • summary="Get all data of a favourite hotels",
    
  • tags={"hotel-light-data"},
    
  • operationId="getHotelFavourite",
    
  • @OA\Parameter(
    
  •      name="hotel-iff",
    
  •      in="query",
    
  •      required=true,
    
  •      description="One or more Hotel-IFF-Code, separated by comma",
    
  •      example={16314,20308},
    
  •      explode=false,
    
  •      @OA\Schema(type="array",
    
  •          @OA\Items(type="integer", example=16314)
    
  •      ),
    
  • ),
    

Any idea, how I should write it correctly and if this is a bug in APIDOG?

The resulting actual request is:
https://dev2-api.flux.reisen/v1/hotel-light?hotel-iff&hotel-iff

and it should be https://dev2-api.flux.reisen/v1/hotel-light?hotel-iff=16314,20308

please advice how to fix it.

You can try using the string type to send the request instead of an array. This should format the parameters as a single comma-separated value like “hotel-iff=16314,20308”.

We currently have plans to add support for explode and will keep you updated on the progress.

thank you very much. I really appreciate your support and reaction time. I will leave the openAPI documentation then, and wait, untill you fix it. is it possible you will update this ticket, so I know, when to update?

We’ll update this ticket once the feature is released.