Commit d1a20a45 by Venkatesh Seetharam

BUG-37759 rest api documentation does not capture types?type=TRAIT api

parent 9728c6ad
...@@ -140,6 +140,11 @@ public class TypesResource { ...@@ -140,6 +140,11 @@ public class TypesResource {
/** /**
* Gets the list of trait type names registered in the type system. * Gets the list of trait type names registered in the type system.
*
* @param type type should be the name of enum
* org.apache.hadoop.metadata.typesystem.types.DataTypes.TypeCategory
* Typically, would be one of all, TRAIT, CLASS, ENUM, STRUCT
* @return entity names response payload as json
*/ */
@GET @GET
@Produces(MediaType.APPLICATION_JSON) @Produces(MediaType.APPLICATION_JSON)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment