Mentions légales du service

Skip to content
Snippets Groups Projects
Commit e345d56d authored by Vincent Hofman's avatar Vincent Hofman
Browse files

Add HTTP error codes in documentation + Fix Traceparent's regex

parent 2c115a6b
No related branches found
No related tags found
No related merge requests found
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
"checks": [ "checks": [
{ {
"type": "REGEX", "type": "REGEX",
"regex": "^(?!f{2})([\\da-f]{2})-(?!f{32})([\\da-f]{32})-(?!f{16})([\\da-f]{16})-(?!f{2})([\\da-f]{2})$" "regex": "^(?!f{2})([\\da-f]{2})-(?!0{32})([\\da-f]{32})-(?!0{16})([\\da-f]{16})-([\\da-f]{2})$"
} }
] ]
}, },
......
...@@ -107,7 +107,7 @@ ...@@ -107,7 +107,7 @@
"checks": [ "checks": [
{ {
"type": "REGEX", "type": "REGEX",
"regex": "^(?!f{2})([\\da-f]{2})-(?!f{32})([\\da-f]{32})-(?!f{16})([\\da-f]{16})-(?!f{2})([\\da-f]{2})$" "regex": "^(?!f{2})([\\da-f]{2})-(?!0{32})([\\da-f]{32})-(?!0{16})([\\da-f]{16})-([\\da-f]{2})$"
} }
] ]
} }
......
...@@ -23,7 +23,7 @@ This validation profile's documentation references: ...@@ -23,7 +23,7 @@ This validation profile's documentation references:
| Authorization_parameter_presence | OCCURRENCE | 1..1 | The Authorization parameter is mandatory | | Authorization_parameter_presence | OCCURRENCE | 1..1 | The Authorization parameter is mandatory |
| Authorization_parameter_value | REGEX | `^Bearer\\ [-a-zA-Z0-9._~+\\/]+=*$` | Authorization parameter's value SHALL be Bearer, followed by the token. | | Authorization_parameter_value | REGEX | `^Bearer\\ [-a-zA-Z0-9._~+\\/]+=*$` | Authorization parameter's value SHALL be Bearer, followed by the token. |
| traceparent_parameter_presence | OCCURRENCE | 1..1 | The traceparent parameter is mandatory in the HTTP header| | traceparent_parameter_presence | OCCURRENCE | 1..1 | The traceparent parameter is mandatory in the HTTP header|
| traceparent_parameter_value | REGEX | `^(?!f{2})([\da-f]{2})-(?!f{32})([\da-f]{32})-(?!f{16})([\da-f]{16})-(?!f{2})([\da-f]{2})$` | traceparent parameter's value SHALL be as defined in fhir.ch, section [tracecontext](https://fhir.ch/ig/ch-epr-mhealth/tracecontext.html). | | traceparent_parameter_value | REGEX | `^(?!f{2})([\da-f]{2})-(?!0{32})([\da-f]{32})-(?!0{16})([\da-f]{16})-([\da-f]{2})$` | traceparent parameter's value SHALL be as defined in fhir.ch, section [tracecontext](https://fhir.ch/ig/ch-epr-mhealth/tracecontext.html). |
| _id_parameter_presence | OCCURRENCE | 0..1 | _id parameter can be used only once. | | _id_parameter_presence | OCCURRENCE | 0..1 | _id parameter can be used only once. |
| _id_parameter_value | REGEX | `^\S+$` | _id parameter is a token. | | _id_parameter_value | REGEX | `^\S+$` | _id parameter is a token. |
| active_parameter_presence | OCCURRENCE | 0..1 | active parameter can be used only once. | | active_parameter_presence | OCCURRENCE | 0..1 | active parameter can be used only once. |
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment