@RestController @RequestMapping(value="/schema") public class SchemaController extends Object
SchemaService
Modifier and Type | Class and Description |
---|---|
static class |
SchemaController.SchemaVersionTargetResourceAssembler |
Constructor and Description |
---|
SchemaController(org.springframework.cloud.dataflow.schema.service.SchemaService schemaService) |
Modifier and Type | Method and Description |
---|---|
SchemaVersionTargetResource |
getTarget(String schemaTarget) |
SchemaVersionTargetsResource |
getTargets() |
ResponseEntity<org.springframework.cloud.dataflow.schema.AppBootSchemaVersions> |
getVersions() |
public SchemaController(org.springframework.cloud.dataflow.schema.service.SchemaService schemaService)
@RequestMapping(value="/versions", method=GET) public ResponseEntity<org.springframework.cloud.dataflow.schema.AppBootSchemaVersions> getVersions()
@RequestMapping(value="/targets", method=GET) @ResponseStatus(value=OK) public SchemaVersionTargetsResource getTargets()
@RequestMapping(value="/targets/{schemaTarget}", method=GET) @ResponseStatus(value=OK) public SchemaVersionTargetResource getTarget(@PathVariable(value="schemaTarget") String schemaTarget)
Copyright © 2023 Pivotal Software, Inc.. All rights reserved.