Skip to content

Commit b16dad7

Browse files
author
ttristan
committed
ADD application/ld+json to BASIC_MEDIA_TYPES
1 parent 08bfe46 commit b16dad7

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

dist/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1928,6 +1928,7 @@ const getOperationParameters = (openApi, parameters) => {
19281928
const BASIC_MEDIA_TYPES = [
19291929
'application/json-patch+json',
19301930
'application/json',
1931+
'application/ld+json',
19311932
'application/x-www-form-urlencoded',
19321933
'text/json',
19331934
'text/plain',

src/openApi/v3/parser/getContent.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export interface Content {
1212
const BASIC_MEDIA_TYPES = [
1313
'application/json-patch+json',
1414
'application/json',
15+
'application/ld+json',
1516
'application/x-www-form-urlencoded',
1617
'text/json',
1718
'text/plain',

0 commit comments

Comments
 (0)