Skip to content

Commit f3c3fd5

Browse files
committed
Update meta-schemas for "method" removal
...and the simultaneous "schema" and "encType" renames.
1 parent 2de869b commit f3c3fd5

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

hyper-schema.json

+2-6
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,12 @@
4141
"description": "media type (as defined by RFC 2046) describing the link target",
4242
"type": "string"
4343
},
44-
"method": {
45-
"description": "specifies that the client can construct a templated query (\"get\") or non-idempotent request (\"post\") to a resource.",
46-
"type": "string"
47-
},
48-
"encType": {
44+
"submissionEncType": {
4945
"description": "The media type in which to submit data along with the request",
5046
"type": "string",
5147
"default": "application/json"
5248
},
53-
"schema": {
49+
"submissionSchema": {
5450
"description": "Schema describing the data to submit along with the request",
5551
"allOf": [ { "$ref": "#" } ]
5652
}

links.json

+2-6
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,12 @@
3030
"description": "media type (as defined by RFC 2046) describing the link target",
3131
"type": "string"
3232
},
33-
"method": {
34-
"description": "specifies that the client can construct a templated query (\"get\") or non-idempotent request (\"post\") to a resource.",
35-
"type": "string"
36-
},
37-
"encType": {
33+
"submissionEncType": {
3834
"description": "The media type in which to submit data along with the request",
3935
"type": "string",
4036
"default": "application/json"
4137
},
42-
"schema": {
38+
"submissionSchema": {
4339
"description": "Schema describing the data to submit along with the request",
4440
"allOf": [ { "$ref": "hyper-schema#" } ]
4541
}

0 commit comments

Comments
 (0)