Merge pull request #31490 from rferreira98/fix-propertyNaming-ignored-on-hyphen-usage

feat: preserve hyphenated property names in OpenAPI generators when u…
This commit is contained in:
Ben Lambert
2025-11-25 11:03:10 +01:00
committed by GitHub
9 changed files with 27 additions and 15 deletions
@@ -113,7 +113,7 @@ components:
type: string
description:
type: string
"'examples'":
examples:
type: array
items:
$ref: '#/components/schemas/ActionExample'
@@ -417,7 +417,7 @@ components:
$ref: '#/components/schemas/JsonObject'
output:
$ref: '#/components/schemas/JsonObject'
"'examples'":
examples:
type: array
items:
$ref: '#/components/schemas/ScaffolderUsageExample'
@@ -449,7 +449,7 @@ components:
$ref: '#/components/schemas/JsonObject'
output:
$ref: '#/components/schemas/JsonObject'
"'examples'":
examples:
type: array
items:
$ref: '#/components/schemas/ScaffolderUsageExample'
@@ -173,7 +173,7 @@ export const spec = {
description: {
type: 'string',
},
"'examples'": {
examples: {
type: 'array',
items: {
$ref: '#/components/schemas/ActionExample',
@@ -588,7 +588,7 @@ export const spec = {
},
},
},
"'examples'": {
examples: {
type: 'array',
items: {
$ref: '#/components/schemas/ScaffolderUsageExample',
@@ -636,7 +636,7 @@ export const spec = {
},
},
},
"'examples'": {
examples: {
type: 'array',
items: {
$ref: '#/components/schemas/ScaffolderUsageExample',