-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Closed
Labels
Description
Bug Report Checklist
- Have you provided a full/minimal spec to reproduce the issue?
- Have you validated the input using an OpenAPI validator (example)?
- Have you tested with the latest master to confirm the issue still exists?
- Have you searched for related issues/PRs?
- What's the actual output vs expected output?
- [Optional] Sponsorship to speed up the bug fix or feature request (example)
Description
openapi-generator version
regression in 6.5.0
OpenAPI declaration file content or url
This OA spec snippet
CompanyDto:
type: object
description: ....
properties:
priceCategory:
description: The price category
nullable: true
x-field-extra-annotation: '@IgnoreForRoles("MEDIA_ADMIN")'
allOf:
- $ref: '#/components/schemas/SamplingPriceCategoryEnum'Expected Output
... produced the following output in v6.4.0 (using openApiNullable = true):
@JsonProperty("priceCategory")
@IgnoreForRoles("MEDIA_ADMIN")
private JsonNullable<SamplingPriceCategoryEnum> priceCategory = JsonNullable.undefined();Actual Output
... but produces the following in 6.5.0:
private JsonNullable<SamplingPriceCategoryEnum> priceCategory = JsonNullable.undefined();Reactions are currently unavailable