OpenFn/apollo

Code gen doesn't seem to use openAPI spec?

josephjclark opened this issue · 0 comments

It looks like the existing code gen prompt does not include the OpenAPI spec. It works solely from the generated signature.

Admittedly the signature should contain details of how the underlying endpoint is invoked... but it seems to me that the code generator really needs to understand the rules of the endpoint in order to generate correct code.

Perhaps our system is currently so constrained and restricted and simple that the spec just isn't needed? But I don't see this being viable in the long term.