swagger-api / swagger-play

Apache License 2.0
330 stars 181 forks source link

operationId should not default to controller method name #181

Open jaapterwoerds opened 5 years ago

jaapterwoerds commented 5 years ago

According to the specification(https://swagger.io/docs/specification/paths-and-operations/):

operationId is an optional unique string used to identify an operation

The controller method name is not a good default because as a developer I do not expect that this implementation detail leaks in the documentation.