Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .post('/').description('Create a new store').type(Store_V1_0).outType(Store_V1_0)
- .consumes('application/x.canopy.store+json; version=1.0, application/x.canopy.store+json; version=2.0')
- .produces('application/x.canopy.store+json; version=1.0, application/x.canopy.store+json; version=2.0' )
- .param().name('body').type(body).description('The store to create').endParam()
- .route()
- .to('log:com.acme.api.store?level=INFO&showHeaders=true')
- .endRest()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement