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.
Generated POJOs should properly reflect properties even in case of data type inheritance.
Example:
types:
Person:
type: object
properties:
firstName:
type: string
maxLength: 5
User:
type: Person
properties:
firstName:
default: Alex
minLength: 3
pattern: ^[a-zA-Z]+$
description: Some property description
example: Aleks
Expected result is User.java that handles its own default, minLength and pattern properties.
Person.java should define firstName and handle maxLength validation.
Generated POJOs should properly reflect properties even in case of data type inheritance.
Example:
Expected result is
User.java
that handles its owndefault
,minLength
andpattern
properties.Person.java
should definefirstName
and handlemaxLength
validation.