openapi/server/petstore.camel.yaml (12 lines of code) (raw):
- restConfiguration:
clientRequestValidation: true
apiContextPath: openapi
- rest:
openApi:
specification: petstore-api.json
- route:
from:
uri: "direct:addPet"
steps:
- to:
uri: "log:info"