-
I will like to find out how I can reference the data in a node.js project and react based project. Also how to use the workflow in a project |
Beta Was this translation helpful? Give feedback.
Answered by
handrews
Jul 23, 2024
Replies: 1 comment 8 replies
-
I am not sure if I understand what you are asking. I'll give it a shot though. I assume you are referring to the execution of a given workflow as if it were code, such that whatever is returned in the end step, say for example a workflow that buys a pet from a pet store, the result might be a payload (response body) that provides details about the transaction? |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@kevinduffey actually "complete document" does not mean it's self-contained, just that it's not a fragment (naming is hard!) A fragment would be something like a document containing only a Path Item Object. This sort of thing was typical in 2.0 and is still quite common in 3.0. It causes a lot of problems in OAS 3.1, which is explained much more clearly in the forthcoming 3.1.1. Although 3.1 makes it more beneficial to have standalone JSON Schema documents, which technically are fragments in OAS terms. Hopefully 3.1.1 makes more sense in this area as it has been a challenge for a lot of tooling vendors.
So the thing here is that you can have multiple complete documents (at least in OAS) t…