Conversation
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>
| 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 |
Complete the discovery TEI UUID to 12 hex digits in the last group, and use examples: for tei/purl to match mediaType and the 2020-12 dialect. tei:// form still waits on CycloneDX#261. Signed-off-by: Mehrn0ush <mehrnoush.vaseghi@gmail.com>
|
Thanks, |
Summary
/discoverytei/purland artifactmediaTypequery parametersCloses Avoid double-encoding of TEI, PURL, and mediaType query parameters #283.