Module neberus.core

Class RestClassData


  • public class RestClassData
    extends java.lang.Object
    Contains data belonging the REST service class.
    • Field Detail

      • classDoc

        public javax.lang.model.element.TypeElement classDoc
      • label

        public java.lang.String label
      • className

        public java.lang.String className
      • description

        public java.lang.String description
        the javadoc comment on the class
      • shortDescription

        public java.lang.String shortDescription
        the value of an ApiDescription annotation on the class
      • headerDefinitions

        public java.util.Map<java.lang.String,​RestMethodData.HeaderInfo> headerDefinitions
        Class scope defined headers that enable the reuse of the provided header description in the whole class
      • commonResponseData

        public java.util.List<RestMethodData.ResponseData> commonResponseData
        Class scope defined responses that will be added to every method in the whole class.
    • Constructor Detail

      • RestClassData

        public RestClassData()
    • Method Detail

      • validate

        public void validate​(boolean ignoreErrors)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object