Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
Unknown
Description
If you have "mock" as missing operation then we attempt to load responses from file system. But if none is found, we should build an empty response based on the contract and verb.
In the contract we can find "example" for various fields such as for Pet where there are examples for name, tag and whatnot. We can grab them from the contract and automatic put on the response object.
Attachments
Issue Links
- is related to
-
CAMEL-20557 camel-rest - Add openapi to rest-dsl so you can expose rest services from existing schema
- Resolved
- links to