Skip to content

Commit 013f463

Browse files
committed
Merge branch 'main' into hd-naming-strategy-optimistic
2 parents 14b090a + cdc23b5 commit 013f463

File tree

3 files changed

+410
-114
lines changed

3 files changed

+410
-114
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: PR label
2+
3+
on:
4+
pull_request:
5+
types: [labeled, unlabeled, opened, reopened, synchronize]
6+
7+
jobs:
8+
semver-label-check:
9+
name: Semantic version label check
10+
runs-on: ubuntu-latest
11+
timeout-minutes: 1
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v4
15+
with:
16+
persist-credentials: false
17+
- name: Check for Semantic Version label
18+
uses: apple/swift-nio/.github/actions/pull_request_semver_label_checker@main

Sources/_OpenAPIGeneratorCore/Translator/Content/ContentType.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ struct ContentType: Hashable {
194194
/// The header value used when validating a content-type header.
195195
///
196196
/// This should be less strict, e.g. not require `charset`.
197-
var headerValueForValidation: String { lowercasedTypeAndSubtype }
197+
var headerValueForValidation: String { lowercasedTypeSubtypeAndParameters }
198198

199199
/// The coding strategy appropriate for this content type.
200200
var codingStrategy: CodingStrategy { category.codingStrategy }

0 commit comments

Comments
 (0)