Skip to content

Commit 5b840b0

Browse files
committed
Encapsulate integer
1 parent a4222bf commit 5b840b0

File tree

1 file changed

+4
-18
lines changed

1 file changed

+4
-18
lines changed

registries/_format/sf-integer.md

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,7 @@ base_type: [integer, number]
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 integer as defined in [RFC8941].
1813

1914
```abnf
@@ -24,18 +19,9 @@ Integers have a range of -999,999,999,999,999 to 999,999,999,999,999 inclusive (
2419
for IEEE 754 compatibility [IEEE754].
2520

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

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

4026
[RFC8941]: https://www.rfc-editor.org/rfc/rfc8941#name-integers
41-
[IEEE754]: https://ieeexplore.ieee.org/document/8766229
27+
[IEEE754]: https://ieeexplore.ieee.org/document/8766229

0 commit comments

Comments
 (0)