Don't reference the major version for the push gateway specification

If we ever have a v2 endpoint for the push gateway, we'd likely spec it alongside the v1 stuff, updating applicable references elsewhere.
pull/977/head
Travis Ralston 6 years ago
parent 72c6fa2aaf
commit b402608b41

@ -20,7 +20,7 @@ host: localhost:8008
schemes:
- https
- http
basePath: /_matrix/push/%PUSH_GATEWAY_MAJOR_VERSION%
basePath: /_matrix/push/v1
consumes:
- application/json
produces:

@ -546,7 +546,6 @@ if __name__ == '__main__':
"%CLIENT_MAJOR_VERSION%": "r0",
"%SERVER_RELEASE_LABEL%": args.server_release,
"%SERVER_MAJOR_VERSION%": extract_major(args.server_release),
"%PUSH_GATEWAY_MAJOR_VERSION%": "v1",
"%PUSH_GATEWAY_RELEASE_LABEL%": args.push_gateway_release,
}

Loading…
Cancel
Save