We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47f6533 commit 15d4828Copy full SHA for 15d4828
packages/apidom-ns-api-design-systems/src/adapters/json.ts
@@ -16,7 +16,7 @@ const jsonMediaTypes = new ApiDesignSystemsMediaTypes(
16
export { jsonMediaTypes as mediaTypes };
17
18
export const detect = (source: string): boolean =>
19
- !!source.match(/(["']?)version\1\s*:\s*(["']?)2021-05-07\2/g);
+ !!source.match(/(["]?)version\1\s*:\s*(["]?)2021-05-07\2/g);
20
21
export const parse = async (
22
source: string,
0 commit comments