How to declare other responce then 200 by Google Endpoints Api annotations?
..so that maven generated OpenAPI.json reflects it? Well it really seems to me like it is not possibe but.. I need to use OpenAPI.json as real documentation and do not feel manually edit every time is best option?
Solution
This is currently not possible. You can submit a feature request for Java or Python.