Package com.wordnik.swagger.sample.model

Examples of com.wordnik.swagger.sample.model.Owner


  @Produces("application/json")
  @ApiOperation(
    value = "Gets the owner of a pet",
    response = Owner.class)
  public Owner getOwner() throws NotFoundException {
    Owner o = new Owner();
    o.setName("Tony");
    o.setId(1);
    return o;
  }
View Full Code Here

TOP

Related Classes of com.wordnik.swagger.sample.model.Owner

Copyright © 2018 www.massapicom. 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.