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

pub.codex.apix.doc.ControllerDocument Maven / Gradle / Ivy

There is a newer version: 5.0.2
Show newest version
package pub.codex.apix.doc;

import pub.codex.apix.schema.ApiDescription;

import java.util.ArrayList;
import java.util.List;

public class ControllerDocument {


    private String name;

    private List apis;


    public ControllerDocument(String name, List apis) {

        this.name = name;

        if (apis.size() > 0) {
            this.apis = new ArrayList<>();
            apis.forEach(apiDescription -> {
                this.apis.add(new ApiDocument(apiDescription));
            });
        }
    }


    public List getApis() {
        return apis;
    }

    public String getName() {
        return name;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy