Spring MVC - RAML Spec Synchroniser Plugin. A Maven plugin designed to Generate Server & Client code in Spring from a RAML API descriptor and conversely, a RAML API document from the SpringMVC Server implementation.
Apache License 2.0
136
stars
84
forks
source link
Plugin is not adding BaseUriParameters in the method signatures #301
#%RAML 1.0
title: Amazon S3 REST API
version: 1
baseUri: /v1/{somekey}
baseUriParameters:
somekey:
description: The name of the bucket
type: string
/common:
/list:
get:
Plugin generated following controller with 2.0.5 version -
@RestController
@Validated
@RequestMapping("/v1/{somekey}/common/list")
public interface ListController {
@RequestMapping(value = "", method = RequestMethod.GET)
public ResponseEntity<?> getObject(
@RequestHeader
HttpHeaders httpHeaders);
}
As seen in the method signature, it is missing the injection of somekey path variable.
Given this RAML -
Plugin generated following controller with 2.0.5 version -
As seen in the method signature, it is missing the injection of
somekey
path variable.