I’m using: SWI-Prolog version 8.1.20
I want the code to: I am trying to get a simple OpenAPI server running. The server call I’m testing is askQuery(ID,RequestBody,Response) and the instance I’m calling is askQuery(1,“test”,Response) .
But what I’m getting is: The query call fails on the client side because the input ID is not recognized / is invalid. The debugger traces the code to a stack of:
askQuery(1,“test”,Response)
openapi:segment_value(any,Value,1)
openapi:json_check(any,Value,1)
openapi:oas_type(any,In,1)
I conjecture that the definition of oas_type() is incomplete, as it includes no rule handling the ‘any’ binding.
Thanks for any help you can provide,
Carl