Package com.github.kongchen.swagger.docgen.remote.model

Source Code of com.github.kongchen.swagger.docgen.remote.model.JLoginEndpoint

package com.github.kongchen.swagger.docgen.remote.model;

import com.wordnik.swagger.model.LoginEndpoint;

/**
* Created by chekong on 10/11/14.
*/
public class JLoginEndpoint implements CanBeSwaggerModel<LoginEndpoint> {
    private String url;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    @Override
    public LoginEndpoint toSwaggerModel() {
        return new LoginEndpoint(url);
    }
}
TOP

Related Classes of com.github.kongchen.swagger.docgen.remote.model.JLoginEndpoint

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.