@RestController public class SchemaController extends Object
Constructor and Description |
---|
SchemaController(SchemaService schemaService)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getJSONSchema()
The GET endpoint that returns the JSON API schema.
|
@Autowired public SchemaController(SchemaService schemaService)
schemaService
- The SchemaService
to use.@GetMapping(path="/columns", produces={"application/vnd.api+json","application/json"}) public String getJSONSchema()
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.