Skip to content

Commit 209d991

Browse files
committed
Encapsulate sf-token
1 parent 2bcc825 commit 209d991

File tree

1 file changed

+3
-17
lines changed

1 file changed

+3
-17
lines changed

registries/_format/sf-token.md

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,7 @@ base_type: string
88
layout: default
99
---
1010

11-
# <a href="..">{{ page.collection }}</a>
12-
13-
## {{ page.slug }} - {{ page.description }}
14-
15-
Base type: `{{ page.base_type }}`.
16-
11+
{% capture summary %}
1712
The `{{page.slug}}` format represents a structured fields token as defined in [RFC8941].
1813

1914
```abnf
@@ -23,17 +18,8 @@ sf-token = ( ALPHA / "*" ) *( tchar / ":" / "/" )
2318
Tokens are short textual words; their abstract model is identical to their expression in the HTTP field value serialization.
2419

2520
This format is appropriate for a header value that must conform to the {{page.slug}} structured field definition.
21+
{% endcapture %}
2622

27-
{% if page.issue %}
28-
### GitHub Issue
29-
30-
* [#{{ page.issue }}](https://github.com/OAI/OpenAPI-Specification/issues/{{ page.issue }})
31-
{% endif %}
32-
33-
{% if page.remarks %}
34-
### Remarks
35-
36-
{{ page.remarks }}
37-
{% endif %}
23+
{% include format-entry.md summary=summary %}
3824

3925
[RFC8941]: https://www.rfc-editor.org/rfc/rfc8941#name-tokens

0 commit comments

Comments
 (0)