All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.s3s3l.yggdrasil.doc.node.ApiDocNode Maven / Gradle / Ivy

The newest version!
package io.github.s3s3l.yggdrasil.doc.node;

import java.util.SortedSet;

import io.github.s3s3l.yggdrasil.doc.bean.BaseField;
import io.github.s3s3l.yggdrasil.doc.enumerations.Protocol;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
public class ApiDocNode extends DocNode {

    /**
     * 接口的协议,默认是{@code NATIVE}
     * 
     * @protocol
     */
    @Builder.Default
    private Protocol protocol = Protocol.NATIVE;
    /**
     * 接口地址,默认是{@code ${className}#${methodName}}
     * 
     * @path
     */
    private String path;
    private SortedSet params;
    private SortedSet response;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy