1
0
mirror of synced 2025-12-19 18:10:59 -05:00

Rename REST content-type utilities to code-example-utils (#56894)

Co-authored-by: GitHub Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Robert Sese
2025-08-05 12:10:32 -05:00
committed by GitHub
parent 8ecf8c9cd6
commit 07af0c18f7
3 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ import cx from 'classnames'
import hljs from 'highlight.js/lib/core'
import json from 'highlight.js/lib/languages/json'
import javascript from 'highlight.js/lib/languages/javascript'
import { generateExampleOptions } from '@/rest/lib/content-type-utils'
import { generateExampleOptions } from '@/rest/lib/code-example-utils'
import hljsCurl from 'highlightjs-curl'
import { useTranslation } from '@/languages/components/useTranslation'

View File

@@ -3,7 +3,7 @@ import {
shouldShowRequestContentType,
shouldShowResponseContentType,
generateExampleOptionTexts,
} from '@/rest/lib/content-type-utils'
} from '@/rest/lib/code-example-utils'
describe('Request Content Type Logic', () => {
test('detects request content types differ correctly', () => {