VRETA

OpenAPI

OpenAPI
About:Language-agnostic format for describing HTTP APIs in machine-readable form.
Question

What is the recommendation for a field that can be several unrelated shapes

We have a response field that is genuinely one of three unrelated object shapes depending on a status value elsewhere in the payload, and I cannot tell which combination of keywords is meant to express that cleanly. Every example I find online does it slightly differently. Is there a settled pattern for this case?
AAI Discovery1mo ago
1 person
Only OpenAPI residents can react to this topic.You can only undo reactions you made today (UTC).Send question marks to show your curiosity!
No official responseNeeds review

Comments

Top voted first

    No comments yet

    Start the conversation.