-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adds missing formats in the registry (#3167)
* - typo fix * - adds UUID format * - adds URI format * - moves source links to YAML header so it can be in the table as well * - adds URI template, IRI, IRI reference and URI reference * - adds time and duration formats * - adds email and idn email formats * - adds ipv4, v6, hostname and idn hostname formats * - adds json and relative json pointers * - adds regex * - adds base64 url format * - adds decimal format * - adds char format * - typo fix * - switches base type for decimal to number * - removes link to master issue Signed-off-by: Vincent Biret <vibiret@microsoft.com> * - adds recommendation for binary format in 3.1 Signed-off-by: Vincent Biret <vibiret@microsoft.com> * Update registries/_format/date.md Co-authored-by: Ralf Handl <ralf.handl@sap.com> * - fixes link to duration spec Co-authored-by: Ralf Handl <ralf.handl@sap.com> * - fixes email RFC number Co-authored-by: Ralf Handl <ralf.handl@sap.com> * - adds email rfc link Co-authored-by: Ralf Handl <ralf.handl@sap.com> * - adds IDN hostname RFC link Co-authored-by: Ralf Handl <ralf.handl@sap.com> * - adds idn email RFC link Co-authored-by: Ralf Handl <ralf.handl@sap.com> * - adds base type, version and remarks to format table Signed-off-by: Vincent Biret <vibiret@microsoft.com> * - adds version and remarks for binary format Signed-off-by: Vincent Biret <vibiret@microsoft.com> * - adds support for floating points in decimal * Apply suggestions from code review Co-authored-by: Ralf Handl <ralf.handl@sap.com> * - adds int16 to the format list Signed-off-by: Vincent Biret <vibiret@microsoft.com> * - adds link to the base64 url RFC Co-authored-by: Ralf Handl <ralf.handl@sap.com> * - adds remark for base64url format * - adds link to the base64 url RFC * - fixes link to source Signed-off-by: Vincent Biret <vibiret@microsoft.com> * - adds details about base64, base64url and byte formats Signed-off-by: Vincent Biret <vibiret@microsoft.com> * - typo fix Signed-off-by: Vincent Biret <vibiret@microsoft.com> * - adds links to base64 RFC Signed-off-by: Vincent Biret <vibiret@microsoft.com> * - first batch of review suggestions Co-authored-by: Ralf Handl <ralf.handl@sap.com> * - second batch of PR feedback Co-authored-by: Darrel <darrmi@microsoft.com> * - third batch of PR review suggestions Signed-off-by: Vincent Biret <vibiret@microsoft.com> * - moves and renames version column for formats Signed-off-by: Vincent Biret <vibiret@microsoft.com> * - adds password format Signed-off-by: Vincent Biret <vibiret@microsoft.com> * - adds a source label for formats Signed-off-by: Vincent Biret <vibiret@microsoft.com> * - removes examples from registry entries Signed-off-by: Vincent Biret <vibiret@microsoft.com> * - removes remarks column in formats Signed-off-by: Vincent Biret <vibiret@microsoft.com> * - renames oas version to deprecated version Signed-off-by: Vincent Biret <vibiret@microsoft.com> * Update registry/format.md Co-authored-by: Darrel <darrmi@microsoft.com> * - changes the deprecation to a true/false in the table Signed-off-by: Vincent Biret <vibiret@microsoft.com> * - removes the deprecation notice from detail pages Signed-off-by: Vincent Biret <vibiret@microsoft.com> * - renames deprecated version to note as PR feedback Signed-off-by: Vincent Biret <vibiret@microsoft.com> * - moves base64url, int16 and char to separate PRs * Apply suggestions from code review Co-authored-by: Darrel <darrmi@microsoft.com> * - moves decimal to a separate PR * - adds OAS source for relevant formats Signed-off-by: Vincent Biret <vibiret@microsoft.com> * Update registries/_format/idn-email.md Co-authored-by: Mike Ralphson <mike.ralphson@gmail.com> --------- Signed-off-by: Vincent Biret <vibiret@microsoft.com> Co-authored-by: Ralf Handl <ralf.handl@sap.com> Co-authored-by: Darrel <darrmi@microsoft.com> Co-authored-by: Mike Ralphson <mike.ralphson@gmail.com>
- Loading branch information
1 parent
6c3caaa
commit 7592eb8
Showing
31 changed files
with
633 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
owner: baywet | ||
issue: | ||
description: duration as defined by duration - RFC3339 | ||
base_type: string | ||
layout: default | ||
source_label: JSON Schema | ||
source: https://json-schema.org/draft/2020-12/json-schema-validation.html#name-dates-times-and-duration | ||
--- | ||
|
||
# <a href="..">{{ page.collection }}</a> | ||
|
||
## {{ page.slug }} - {{ page.description }} | ||
|
||
Base type: `{{ page.base_type }}`. | ||
|
||
The `{{page.slug}}` format represents a duration as defined by duration - [RFC3339](https://www.rfc-editor.org/rfc/rfc3339.html#appendix-A). | ||
|
||
{% if page.issue %} | ||
### GitHub Issue | ||
|
||
* [#{{ page.issue }}](https://github.com/OAI/OpenAPI-Specification/issues/{{ page.issue }}) | ||
{% endif %} | ||
|
||
{% if page.remarks %} | ||
### Remarks | ||
|
||
{{ page.remarks }} | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
owner: baywet | ||
issue: | ||
description: An email address as defined as Mailbox in RFC5321 | ||
base_type: string | ||
layout: default | ||
source_label: JSON Schema | ||
source: https://json-schema.org/draft/2020-12/json-schema-validation.html#name-email-addresses | ||
--- | ||
|
||
# <a href="..">{{ page.collection }}</a> | ||
|
||
## {{ page.slug }} - {{ page.description }} | ||
|
||
Base type: `{{ page.base_type }}`. | ||
|
||
The `{{page.slug}}` format is an email address as defined as Mailbox in [RFC5321](https://www.rfc-editor.org/rfc/rfc5321). | ||
|
||
{% if page.issue %} | ||
### GitHub Issue | ||
|
||
* [#{{ page.issue }}](https://github.com/OAI/OpenAPI-Specification/issues/{{ page.issue }}) | ||
{% endif %} | ||
|
||
{% if page.remarks %} | ||
### Remarks | ||
|
||
{{ page.remarks }} | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
owner: baywet | ||
issue: | ||
description: A host name as defined by RFC1123 | ||
base_type: string | ||
layout: default | ||
source_label: JSON Schema | ||
source: https://json-schema.org/draft/2020-12/json-schema-validation.html#name-hostnames | ||
--- | ||
|
||
# <a href="..">{{ page.collection }}</a> | ||
|
||
## {{ page.slug }} - {{ page.description }} | ||
|
||
Base type: `{{ page.base_type }}`. | ||
|
||
The `{{page.slug}}` format is a host name as defined by [RFC1123](https://www.rfc-editor.org/info/rfc1123). | ||
|
||
{% if page.issue %} | ||
### GitHub Issue | ||
|
||
* [#{{ page.issue }}](https://github.com/OAI/OpenAPI-Specification/issues/{{ page.issue }}) | ||
{% endif %} | ||
|
||
{% if page.remarks %} | ||
### Remarks | ||
|
||
{{ page.remarks }} | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
owner: baywet | ||
issue: | ||
description: An email address as defined as Mailbox in RFC6531 | ||
base_type: string | ||
layout: default | ||
source_label: JSON Schema | ||
source: https://json-schema.org/draft/2020-12/json-schema-validation.html#name-email-addresses | ||
--- | ||
|
||
# <a href="..">{{ page.collection }}</a> | ||
|
||
## {{ page.slug }} - {{ page.description }} | ||
|
||
Base type: `{{ page.base_type }}`. | ||
|
||
The `{{page.slug}}` format is an email address as defined as Mailbox in [RFC6531](https://www.rfc-editor.org/rfc/rfc6531). | ||
|
||
{% if page.issue %} | ||
### GitHub Issue | ||
|
||
* [#{{ page.issue }}](https://github.com/OAI/OpenAPI-Specification/issues/{{ page.issue }}) | ||
{% endif %} | ||
|
||
{% if page.remarks %} | ||
### Remarks | ||
|
||
{{ page.remarks }} | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
owner: baywet | ||
issue: | ||
description: An internationalized host name as defined by RFC5890 | ||
base_type: string | ||
layout: default | ||
source_label: JSON Schema | ||
source: https://json-schema.org/draft/2020-12/json-schema-validation.html#name-hostnames | ||
--- | ||
|
||
# <a href="..">{{ page.collection }}</a> | ||
|
||
## {{ page.slug }} - {{ page.description }} | ||
|
||
Base type: `{{ page.base_type }}`. | ||
|
||
The `{{page.slug}}` format is an internationalized host name as defined by [RFC5890](https://www.rfc-editor.org/rfc/rfc5890.html). | ||
|
||
{% if page.issue %} | ||
### GitHub Issue | ||
|
||
* [#{{ page.issue }}](https://github.com/OAI/OpenAPI-Specification/issues/{{ page.issue }}) | ||
{% endif %} | ||
|
||
{% if page.remarks %} | ||
### Remarks | ||
|
||
{{ page.remarks }} | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.