Examples of NestedType


Examples of com.mangofactory.swagger.dummy.models.NestedType

  }

  //Calculates effective url and ignores UriComponentsBuilder
  @RequestMapping(value = "/effective", method = RequestMethod.GET)
  public ResponseEntity<Example> getEffective(UriComponentsBuilder builder) {
    return new ResponseEntity<Example>(new Example("Hello", 1, EnumType.ONE, new NestedType("test")), HttpStatus.OK);
  }
View Full Code Here

Examples of com.mangofactory.swagger.dummy.models.NestedType

  //Returns nested generic types
  @RequestMapping(value = "/effectives", method = RequestMethod.GET)
  private ResponseEntity<List<Example>> getEffectives() {
    return new ResponseEntity<List<Example>>(newArrayList(new Example("Hello", 1, EnumType.ONE,
            new NestedType("test"))),
            HttpStatus.OK);
  }
View Full Code Here

Examples of com.mangofactory.swagger.dummy.models.NestedType

@Controller
public class ControllerWithNoRequestMappingService {
  @RequestMapping(value = "/no-request-mapping", method = RequestMethod.GET)
  public ResponseEntity<Example> exampleWithNoRequestMapping(UriComponentsBuilder builder) {
    return new ResponseEntity<Example>(new Example("Hello", 1, EnumType.ONE, new NestedType("test")), HttpStatus.OK);
  }
View Full Code Here

Examples of org.springframework.data.mongodb.core.convert.DBObjectAccessorUnitTests.NestedType

   * @see DATAMONGO-766
   */
  @Test
  public void writesProjectingTypeCorrectly() {

    NestedType nested = new NestedType();
    nested.c = "C";

    ProjectingType type = new ProjectingType();
    type.name = "name";
    type.foo = "bar";
View Full Code Here
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.