Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drop
uri-reference
format for template URLs
`Server.url` and `Link.operationRef` both allow variable substitution with {brackets}, which means they're not always valid URI references. For example, the [current specification][0] shows `https://{username}.gigantic-server.com:{port}/{basePath}` as a Server Object `url`, but it's not a valid URI reference because the host includes curly brackets. [`operationRef`][1] similarly includes `https://na2.gigantic-server.com/#/paths/~12.0~1repositories~1{username}/get` as an example that isn't valid using the `uri-reference` format. I looked into the other uses of `uri-reference` and they seemed ok. Related: - OAI/OpenAPI-Specification#2586 - OAI/OpenAPI-Specification#3235 - OAI/OpenAPI-Specification#3256 - davishmcclurg/json_schemer#158 [0]: https://spec.openapis.org/oas/v3.1.0#server-object-example [1]: https://spec.openapis.org/oas/v3.1.0#operationref-examples (cherry picked from commit 5f765f29e3c12dcab370f5155fe21c6895a8ac5e)
- Loading branch information