Files
openapi-generator/docs/generators
A. Todisco 6f211a20e8 [Protobuf] Fix Discriminator Issue and add capability Enum Extraction (#22740)
* fix(protobuf-codegen): Fix protobuf import path with discriminator

This PR fixes a critical bug in the protobuf schema generator where models using discriminators with llOf composition were generating invalid import paths when child schemas contained references to other models.

* fix: Add missing element in OpenAPI discriminator test case

* feat(protobuf-generator): Improve protobuf generation

* Improve management of inheritance
* Improve management of discriminator
* Allow to separate inline enums in external files
* Add unit test

* fix: Improve logic when extracting enums to avoid collision in enum values

* fix: Manage case with Enum in lists

* fix: Fix issue on enum extraction

Fix issue linked to enum in array when there is inheritance or discriminator

* doc: Add documentation for new parameter

* chore: Update protobuf samples

---------

Co-authored-by: Anthony TODISCO <Anthony.TODISCO+amadeus@amadeus.com>
2026-01-30 16:42:00 +08:00
..
2024-02-23 16:27:26 +08:00
2024-02-23 16:27:26 +08:00
2024-02-23 16:27:26 +08:00
2024-02-23 16:27:26 +08:00
2024-02-23 16:27:26 +08:00
2025-12-22 16:09:33 +08:00
2025-11-23 17:19:16 +08:00
2025-01-11 15:44:42 +08:00
2023-12-13 16:13:31 +08:00
2024-04-24 23:50:14 +08:00
2024-01-10 11:50:48 +08:00
2024-10-05 17:08:14 +08:00

The following generators are available:

CLIENT generators

SERVER generators

DOCUMENTATION generators

SCHEMA generators

CONFIG generators