refactor(openapi): resource-oriented paths for /openapi/v1 + difyctl version gate (#38367)