Forum Discussion
HKosova
6 years agoSmartBear Alumni (Retired)
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]},
Related Content
- 4 years ago
Recent Discussions
- 7 days ago
- 8 days ago
- 24 days ago