phoenixnap / springmvc-raml-plugin

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

Marking an endpoint as deprecated? #311

Open CmptrSean opened 2 years ago

CmptrSean commented 2 years ago

I am trying to deprecate an old endpoint that is generated by springmvc-raml-plugin. Adding the deprecated annotation as I see in raml examples to my raml file leads to an InvalidRamlException being returned. I cannot seem to find any documentation on how I should be deprecating an endpoint where the controller gets generated by the springmvc-raml-plugin.

If this functionality does not currently exist, I think it would be important to add.