Skip to content

Commit

Permalink
Merge pull request #3789 from Bellangelo/fix-base-type-array-joining
Browse files Browse the repository at this point in the history
Format Registry documentation is not accurate / well published
  • Loading branch information
handrews committed May 11, 2024
2 parents abd17f2 + b42916f commit e14e81d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion api/format.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ parent: API
"description": "{{ page.description }}",
"url": "{{ site.baseurl }}{{ page.url }}",
"owner": "{{ page.owner }}",
"base_type": "{{ page.base_type" }}"
"base_type": ["{{ page.base_type | join: '", "' }}"]
}{% unless forloop.last %},{% endunless %}
{% endfor %}
}
2 changes: 1 addition & 1 deletion registries/_format/sf-integer.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ issue:
description: structured fields integer as defined in [RFC8941]
source: https://www.rfc-editor.org/rfc/rfc8941#name-integers
source_label: RFC 8941
base_type: integer, number
base_type: [integer, number]
layout: default
---

Expand Down
2 changes: 1 addition & 1 deletion registry/format.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ Please raise a [Pull-Request](https://github.com/OAI/OpenAPI-Specification/pulls

|Value|Description|Type|Source|Deprecated|
|---|---|----|---|---|----|
{% for value in site.format %}| <a href="./{{ value.slug }}.html">{{ value.slug }}</a> | {{ value.description }} | {{ value.base_type }} | {% if value.source %}<a href="{{ value.source }}">{% if value.source_label %}{{value.source_label}}{% else %}Open{% endif %}</a>{% endif %} | {% if value.deprecated_note %}Yes{% else %}No{% endif %} |
{% for value in site.format %}| <a href="./{{ value.slug }}.html">{{ value.slug }}</a> | {{ value.description }} | {{ value.base_type | join: ', ' }} | {% if value.source %}<a href="{{ value.source }}">{% if value.source_label %}{{value.source_label}}{% else %}Open{% endif %}</a>{% endif %} | {% if value.deprecated_note %}Yes{% else %}No{% endif %} |
{% endfor %}

0 comments on commit e14e81d

Please sign in to comment.