1

I try to add a description for field on java google endpoint like this :

https://developers.google.com/apis-explorer/#p/adexchangebuyer/v1.2/adexchangebuyer.accounts.get

On field id there is a description : The account id (integer)

Theres is an annotation like @Named to add description ?

 @Named("valueX")  Double valueX,

I can't update the .discovery files because it's generated.

Do you have any idea to add description ? Because there is only a value (integer) near the field

It's java api.

Thanks for your help

Lionel B
  • 1,172
  • 2
  • 9
  • 24

1 Answers1

0

It looks like you're talking about parameter descriptions, not field descriptions. The new Endpoints framework supports this by using the com.google.api.server.spi.config.Description annotation.

saiyr
  • 2,575
  • 1
  • 11
  • 13