Solved
Forum Discussion
rramanadham
5 years agoNew Contributor
Thank you for the clarification
Related Content
- 9 months agoRichardPla
- 3 years agoaaronpliu
Recent Discussions
- 4 hours agonoob_Vibes
1. OpenAPI Specification does not have a way to define dynamic/computed values. These values will have to be computed by the sender of the data.
2. Your example is correct, but if you mean that "audit" is always true use an enum instead:
"audit": {"type": "boolean", "enum" [true]},
There's no real way of enforcing that in the spec.
Thank you for the clarification