@tsed/schema 6.73.2 → 6.73.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/domain/JsonEntityStore.d.ts +1 -1
- package/lib/index.js +2 -2
- package/lib/index.js.map +1 -1
- package/lib/index.modern.js +2 -2
- package/lib/index.modern.js.map +1 -1
- package/package.json +5 -5
package/lib/index.modern.js
CHANGED
|
@@ -2163,10 +2163,10 @@ class JsonEntityStore extends Entity {
|
|
|
2163
2163
|
return this.from(target, propertyKey, descriptorOf(target, propertyKey));
|
|
2164
2164
|
}
|
|
2165
2165
|
|
|
2166
|
-
getResponseOptions(contentType = "application/json") {
|
|
2166
|
+
getResponseOptions(status, contentType = "application/json") {
|
|
2167
2167
|
var _this$operation, _this$operation$getRe;
|
|
2168
2168
|
|
|
2169
|
-
const media = (_this$operation = this.operation) == null ? void 0 : (_this$operation$getRe = _this$operation.getResponseOf(
|
|
2169
|
+
const media = (_this$operation = this.operation) == null ? void 0 : (_this$operation$getRe = _this$operation.getResponseOf(status)) == null ? void 0 : _this$operation$getRe.getMedia(contentType, false);
|
|
2170
2170
|
|
|
2171
2171
|
if (media && media.has("schema")) {
|
|
2172
2172
|
const schema = media.get("schema");
|