Update identity server spec to use global versioning (#3459)

* Update identity server spec to use global versioning

* changelog
This commit is contained in:
Travis Ralston 2021-10-26 15:47:40 -06:00 committed by GitHub
parent 4a581a8048
commit 5ea6d5610f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View file

@ -0,0 +1 @@
Describe how [MSC2844](https://github.com/matrix-org/matrix-doc/pull/2844) affects the `/versions` endpoint.

View file

@ -29,7 +29,9 @@ paths:
description: |- description: |-
Gets the versions of the specification supported by the server. Gets the versions of the specification supported by the server.
Values will take the form `rX.Y.Z`. <!-- TODO: TravisR: Global versioning spec --> Values will take the form `vX.Y` or `rX.Y.Z` in historical cases. See
[the Specification Versioning](../#specification-versions) for more
information.
All supported versions, including patch versions, are reported by the server. All supported versions, including patch versions, are reported by the server.
operationId: getVersions operationId: getVersions
@ -38,7 +40,7 @@ paths:
description: The versions supported by the server. description: The versions supported by the server.
examples: examples:
application/json: { application/json: {
"versions": ["r0.1.0", "r0.2.0", "r0.2.1"] "versions": ["r0.2.0", "r0.2.1", "v1.1"]
} }
schema: schema:
type: object type: object