/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package org.redkale.net.http;

import java.lang.annotation.*;
import static java.lang.annotation.ElementType.PARAMETER;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * 只能依附在Service类的方法的参数上, name值不能是'&#38;'
 * name='#'表示截取uri最后一段
 * name='#xxx:'表示从uri中/pipes/xxx:v/截取xxx:的值
 * <p>
 * 详情见: https://redkale.org
 *
 * @author zhangjx
 */
@Inherited
@Documented
@Target({PARAMETER})
@Retention(RUNTIME)
public @interface RestParam {

    String name(); //参数名 name值不能是'&';  name='#'表示截取uri最后一段;  name='#xxx:'表示从uri中/pipes/xxx:v/截取xxx:的值

    int radix() default 10; //转换数字byte/short/int/long时所用的进制数， 默认10进制

    boolean required() default true; //参数是否必传

    String comment() default ""; //备注描述

    boolean required() default true; //参数是否必传
}

@@ -923,57 +923,8 @@
 %E6%B3%A8%E6%8F%8F%E8%BF%B0%0D
-%0A%0D%0A    boolean required() default true; //%E5%8F%82%E6%95%B0%E6%98%AF%E5%90%A6%E5%BF%85%E4%BC%A0%0D
 %0A%7D%0D%0A

Update RestParam.java