Interface OpenApiTypeDescriber

    • Method Detail

      • describe

        void describe​(JSONObject description,
                      Parameter parameter)
        Describes a REST event handler method parameter.
        Parameters:
        description - JSONObject containing the description of an event handler parameter.
        parameter - the event handler method parameter.
      • describeReturnType

        void describeReturnType​(JSONObject description,
                                Method method)
        Describes a REST event handler method return type.
        Parameters:
        description - JSONObject containing the description of a path response.
        method - the event handler method itself.