Use logical values for TEI, PURL, and mediaType query params - #284
Conversation
| schema: | ||
| type: string | ||
| example: urn%3Atei%3Auuid%3Aproducts.example.com%3Ad4d9f54a-abcf-11ee-ac79-1a52914d44b | ||
| example: urn:tei:uuid:products.example.com:d4d9f54a-abcf-11ee-ac79-1a52914d44b |
There was a problem hiding this comment.
this needs to use new URI syntax
oej
left a comment
There was a problem hiding this comment.
Looks good to me. Normative changes, so urgency
|
See below - generally, 2 and 3 should be addressed, then we should wait on #261 merge before merging this. 1. This collides with #261 on the same line, and carries the URN form. This PR sets: example: urn:tei:uuid:products.example.com:d4d9f54a-abcf-11ee-ac79-1a52914d44bwhile #261 sets that same line to 2. The truncated UUID is being propagated. 3. Keyword inconsistency within the PR. The schema:
type: string
examples:
- application/vnd.cyclonedx+jsonThe file declares |
|
Thanks, |
|
#261 is now merged, so let's focus on fixing and merging this |
Stop putting percent-encoded forms in OpenAPI parameter examples so clients do not double-encode. Document one-shot query serialization and show wire forms only in serialized request examples. Closes CycloneDX#283. Signed-off-by: Mehrn0ush <mehrnoush.vaseghi@gmail.com>
638ccc7 to
7d6105e
Compare
|
Rebased onto main after #261. TEI examples now use |
Summary
/discoverytei/purland artifactmediaTypequery parametersCloses Avoid double-encoding of TEI, PURL, and mediaType query parameters #283.