Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usability issues with the API doc #9419

Open
teolemon opened this issue Nov 27, 2023 · 4 comments
Open

Usability issues with the API doc #9419

teolemon opened this issue Nov 27, 2023 · 4 comments
Labels
API v3 API Issues related to the Open Food Facts API. More specific labels exist & should be used (API WRITE…) 📚 Documentation Documentation issues improve the project for everyone. OpenAPI OpenAPI documentation of Open Food Facts. Still incomplete, and needs help.

Comments

@teolemon
Copy link
Member

What

Hey, I was searching for documentation of the product fields returned by the API. However, I could not find it at first, because the V2 API documentation page looks pretty empty. Moreover, the UX of the side navigation is poor (unfortunately).

  • initially loaded page is empty
  • search box did not work for me
  • clicking on the text of a nav item does nothing - but clicking on the empty space next the text works. :thinking_face:

Video

https://openfoodfacts.slack.com/files/U05LPLXNZHR/F066ZKHHDEZ/off_api-doc_issues.mov

@teolemon teolemon added 🐛 bug This is a bug, not a feature request. API Issues related to the Open Food Facts API. More specific labels exist & should be used (API WRITE…) 🎯 P1 📚 Documentation Documentation issues improve the project for everyone. OpenAPI OpenAPI documentation of Open Food Facts. Still incomplete, and needs help. API v3 labels Nov 27, 2023
@alexgarel
Copy link
Member

I don't see how we might fix it:

  • we are using rapidoc and we won't build our own framework
  • we are using this one because it support (more or lees) openAPI 3.1 (many tools are blocked to 3.0)
  • search is not great but it works, it's just that "product" is in every page !

So for me this is a wontfix, until someone finds a better tool for the job and set it up !

@teolemon teolemon changed the title Usability issues with the API Usability issues with the API doc Nov 27, 2023
@teolemon
Copy link
Member Author

teolemon commented Nov 27, 2023

@alexgarel

@alexgarel
Copy link
Member

I'm happy if someone investigate other options :-)

@shinjigi
Copy link
Contributor

shinjigi commented Oct 14, 2024

I debugged the OpenAPITools/openapi-generator tool and fixed some files:

With the "pulled request" (10883, 10884, 10885, 10886) versions I have this result:

> [email protected] validate:openapi-generator /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play
> NODE_EXTRA_CA_CERTS=/usr/local/share/ca-certificates/extra/cloudflare_for_teams_ECC_Certificate_authority.crt openapi-generator-cli validate -i fork-shinjigi-4pullrequest-api-ref/api.yml 

Validating spec (fork-shinjigi-4pullrequest-api-ref/api.yml)
Warnings: 
        - Unused model: Product-Metadata
        - Unused model: Product-Base
        - Unused model: Product-Misc
        - Unused model: Product-Tags
        - Unused model: Product-Eco-Score
        - Unused model: Product-Images
        - Unused model: Product-Data-Quality
        - Unused model: Product
        - Unused model: Product-Attribute-Groups
        - Unused model: Product-Ingredients
        - Unused model: Product-Nutrition
        - Unused model: Product-Knowledge-Panels

[info] Spec has 12 recommendation(s).```
`

**# and this for generation: **


```$ pnpm run generate:openapi-generator:cloudflare

> [email protected] generate:openapi-generator:cloudflare /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play
> NODE_EXTRA_CA_CERTS=/usr/local/share/ca-certificates/extra/cloudflare_for_teams_ECC_Certificate_authority.crt openapi-generator-cli generate -i fork-shinjigi-4pullrequest-api-ref/api.yml -g typescript-fetch -o ./dist/openapi-generator-cli

[main] WARN  o.o.codegen.DefaultCodegen - Generation using 3.1.0 specs is in development and is not officially supported yet. If you would like to expedite development, please consider working on the open issues in the 3.1.0 project: https://github.com/orgs/OpenAPITools/projects/4/views/1 and reach out to our team on Slack at https://join.slack.com/t/openapi-generator/shared_invite/zt-12jxxd7p2-XUeQM~4pzsU9x~eGLQqX2g
[main] INFO  o.o.codegen.DefaultGenerator - Generating with dryRun=false
[main] INFO  o.o.codegen.DefaultGenerator - OpenAPI Generator: typescript-fetch (client)
[main] INFO  o.o.codegen.DefaultGenerator - Generator 'typescript-fetch' is considered stable.
[main] INFO  o.o.c.l.AbstractTypeScriptClientCodegen - Hint: Environment variable 'TS_POST_PROCESS_FILE' (optional) not defined. E.g. to format the source code, please try 'export TS_POST_PROCESS_FILE="/usr/local/bin/prettier --write"' (Linux/Mac)
[main] INFO  o.o.c.l.AbstractTypeScriptClientCodegen - Note: To enable file post-processing, 'enablePostProcessFile' must be set to `true` (--enable-post-process-file for CLI).
[main] WARN  o.o.codegen.DefaultCodegen - The value (generator's option) must be either boolean or string. Default to `false`.
[main] WARN  o.o.codegen.DefaultCodegen - The value (generator's option) must be either boolean or string. Default to `false`.
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as get_product_by_barcode_200_response_allOf_product_allOf_nutrient_levels. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_nutrient_levels=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_nutrient_levels=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as Packaging_component_shape. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings Packaging_component_shape=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings Packaging_component_shape=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as Packaging_component_material. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings Packaging_component_material=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings Packaging_component_material=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as Packaging_component_recycling_instruction. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings Packaging_component_recycling_instruction=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings Packaging_component_recycling_instruction=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as Packaging_component__READ_. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings Packaging_component__READ_=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings Packaging_component__READ_=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as get_product_by_barcode_200_response_allOf_product_allOf_images_1_sizes_full. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_images_1_sizes_full=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_images_1_sizes_full=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as get_product_by_barcode_200_response_allOf_product_allOf_images_1_sizes. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_images_1_sizes=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_images_1_sizes=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as get_product_by_barcode_200_response_allOf_product_allOf_images_1. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_images_1=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_images_1=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as get_product_by_barcode_200_response_allOf_product_allOf_images_front_sizes_100. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_images_front_sizes_100=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_images_front_sizes_100=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as get_product_by_barcode_200_response_allOf_product_allOf_images_front_sizes. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_images_front_sizes=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_images_front_sizes=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as get_product_by_barcode_200_response_allOf_product_allOf_images_front. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_images_front=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_images_front=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as get_product_by_barcode_200_response_allOf_product_allOf_images. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_images=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_images=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as get_product_by_barcode_200_response_allOf_product_allOf_selected_images_front. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_selected_images_front=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_selected_images_front=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as get_product_by_barcode_200_response_allOf_product_allOf_selected_images. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_selected_images=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_selected_images=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as get_product_by_barcode_200_response_allOf_product_allOf_ecoscore_data_adjustments_origins_of_ingredients_aggregated_origins_inner. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_ecoscore_data_adjustments_origins_of_ingredients_aggregated_origins_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_ecoscore_data_adjustments_origins_of_ingredients_aggregated_origins_inner=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as get_product_by_barcode_200_response_allOf_product_allOf_ecoscore_data_adjustments_origins_of_ingredients_transportation_scores. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_ecoscore_data_adjustments_origins_of_ingredients_transportation_scores=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_ecoscore_data_adjustments_origins_of_ingredients_transportation_scores=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as get_product_by_barcode_200_response_allOf_product_allOf_ecoscore_data_adjustments_origins_of_ingredients. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_ecoscore_data_adjustments_origins_of_ingredients=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_ecoscore_data_adjustments_origins_of_ingredients=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as get_product_by_barcode_200_response_allOf_product_allOf_ecoscore_data_adjustments_packaging_packagings_inner. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_ecoscore_data_adjustments_packaging_packagings_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_ecoscore_data_adjustments_packaging_packagings_inner=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as get_product_by_barcode_200_response_allOf_product_allOf_ecoscore_data_adjustments_packaging. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_ecoscore_data_adjustments_packaging=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_ecoscore_data_adjustments_packaging=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as get_product_by_barcode_200_response_allOf_product_allOf_ecoscore_data_adjustments_production_system. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_ecoscore_data_adjustments_production_system=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_ecoscore_data_adjustments_production_system=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as get_product_by_barcode_200_response_allOf_product_allOf_ecoscore_data_adjustments_threatened_species. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_ecoscore_data_adjustments_threatened_species=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_ecoscore_data_adjustments_threatened_species=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as get_product_by_barcode_200_response_allOf_product_allOf_ecoscore_data_adjustments. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_ecoscore_data_adjustments=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_ecoscore_data_adjustments=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as get_product_by_barcode_200_response_allOf_product_allOf_ecoscore_data_agribalyse. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_ecoscore_data_agribalyse=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_ecoscore_data_agribalyse=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as get_product_by_barcode_200_response_allOf_product_allOf_ecoscore_data_missing. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_ecoscore_data_missing=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_ecoscore_data_missing=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as get_product_by_barcode_200_response_allOf_product_allOf_ecoscore_data_previous_data. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_ecoscore_data_previous_data=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_ecoscore_data_previous_data=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as get_product_by_barcode_200_response_allOf_product_allOf_ecoscore_data. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_ecoscore_data=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_ecoscore_data=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as ingredient_percent_max. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings ingredient_percent_max=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings ingredient_percent_max=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as product_ingredients_ingredients_analysis. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings product_ingredients_ingredients_analysis=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings product_ingredients_ingredients_analysis=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as get_product_by_barcode_200_response_allOf_product_allOf_nutriments. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_nutriments=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_nutriments=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as get_product_by_barcode_200_response_allOf_product_allOf_nutriscore_data. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_nutriscore_data=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_nutriscore_data=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as get_product_by_barcode_200_response_allOf_product_allOf_categories_properties. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_categories_properties=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_categories_properties=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as get_product_by_barcode_200_response_allOf_product_allOf_owner_fields_additionalProperties. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_owner_fields_additionalProperties=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_owner_fields_additionalProperties=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as get_product_by_barcode_200_response_allOf_product_allOf_owner_fields. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_owner_fields=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_owner_fields=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as get_product_by_barcode_200_response_allOf_product_allOf_nova_groups_markers. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_nova_groups_markers=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_nova_groups_markers=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as get_product_by_barcode_200_response_allOf_product_allOf_sources_inner_manufacturer. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_sources_inner_manufacturer=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_sources_inner_manufacturer=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as get_product_by_barcode_200_response_allOf_product_allOf_sources_inner. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_sources_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_sources_inner=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as get_product_by_barcode_200_response_allOf_product_allOf_sources_fields_org_gs1. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_sources_fields_org_gs1=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_sources_fields_org_gs1=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as get_product_by_barcode_200_response_allOf_product_allOf_sources_fields. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_sources_fields=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_sources_fields=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as table_element_columns_inner. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings table_element_columns_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings table_element_columns_inner=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as get_product_by_barcode_200_response_allOf_product_allOf_attribute_groups_inner. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_attribute_groups_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings get_product_by_barcode_200_response_allOf_product_allOf_attribute_groups_inner=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as get_product_by_barcode_200_response_allOf_product. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings get_product_by_barcode_200_response_allOf_product=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings get_product_by_barcode_200_response_allOf_product=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as get_product_by_barcode_200_response. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings get_product_by_barcode_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings get_product_by_barcode_200_response=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as get_product_by_barcode_knowledge_panels_200_response_allOf_product. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings get_product_by_barcode_knowledge_panels_200_response_allOf_product=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings get_product_by_barcode_knowledge_panels_200_response_allOf_product=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as get_product_by_barcode_knowledge_panels_200_response. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings get_product_by_barcode_knowledge_panels_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings get_product_by_barcode_knowledge_panels_200_response=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as get_cgi_product_image_upload_pl_request. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings get_cgi_product_image_upload_pl_request=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings get_cgi_product_image_upload_pl_request=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as get_cgi_product_image_upload_pl_200_response_files_inner. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings get_cgi_product_image_upload_pl_200_response_files_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings get_cgi_product_image_upload_pl_200_response_files_inner=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as get_cgi_product_image_upload_pl_200_response_image. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings get_cgi_product_image_upload_pl_200_response_image=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings get_cgi_product_image_upload_pl_200_response_image=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as get_cgi_product_image_upload_pl_200_response. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings get_cgi_product_image_upload_pl_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings get_cgi_product_image_upload_pl_200_response=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as get_cgi_ingredients_pl_200_response. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings get_cgi_ingredients_pl_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings get_cgi_ingredients_pl_200_response=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as get_cgi_product_image_crop_pl_200_response_image. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings get_cgi_product_image_crop_pl_200_response_image=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings get_cgi_product_image_crop_pl_200_response_image=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as get_cgi_product_image_crop_pl_200_response. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings get_cgi_product_image_crop_pl_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings get_cgi_product_image_crop_pl_200_response=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as post_cgi_product_image_crop_pl_request. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings post_cgi_product_image_crop_pl_request=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings post_cgi_product_image_crop_pl_request=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as _cgi_product_image_unselect_pl_post_request. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _cgi_product_image_unselect_pl_post_request=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _cgi_product_image_unselect_pl_post_request=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as _cgi_product_image_unselect_pl_post_200_response. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _cgi_product_image_unselect_pl_post_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _cgi_product_image_unselect_pl_post_200_response=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as post_cgi_product_jqm2_pl_request. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings post_cgi_product_jqm2_pl_request=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings post_cgi_product_jqm2_pl_request=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as post_cgi_product_jqm2_pl_200_response. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings post_cgi_product_jqm2_pl_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings post_cgi_product_jqm2_pl_200_response=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as get_search_200_response. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings get_search_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings get_search_200_response=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as get_attribute_groups_200_response_inner_attributes_inner. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings get_attribute_groups_200_response_inner_attributes_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings get_attribute_groups_200_response_inner_attributes_inner=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as get_attribute_groups_200_response_inner. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings get_attribute_groups_200_response_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings get_attribute_groups_200_response_inner=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as get_preferences_200_response_inner. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings get_preferences_200_response_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings get_preferences_200_response_inner=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as Product_allOf_selected_images_front_display. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings Product_allOf_selected_images_front_display=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings Product_allOf_selected_images_front_display=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as Product_allOf_selected_images_front_small. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings Product_allOf_selected_images_front_small=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings Product_allOf_selected_images_front_small=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as Product_allOf_selected_images_front_thumb. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings Product_allOf_selected_images_front_thumb=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings Product_allOf_selected_images_front_thumb=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as Product_allOf_selected_images_front. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings Product_allOf_selected_images_front=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings Product_allOf_selected_images_front=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as Product_allOf_selected_images. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings Product_allOf_selected_images=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings Product_allOf_selected_images=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as Product_allOf_ecoscore_data_grades. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings Product_allOf_ecoscore_data_grades=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings Product_allOf_ecoscore_data_grades=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as Product_allOf_ecoscore_data. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings Product_allOf_ecoscore_data=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings Product_allOf_ecoscore_data=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as product_ingredients_percent_max. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings product_ingredients_percent_max=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings product_ingredients_percent_max=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as ingredient_1. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings ingredient_1=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings ingredient_1=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as product_ingredients_percent_max_1. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings product_ingredients_percent_max_1=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings product_ingredients_percent_max_1=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as ingredient_2. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings ingredient_2=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings ingredient_2=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as Product_allOf_owner_fields_additionalProperties. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings Product_allOf_owner_fields_additionalProperties=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings Product_allOf_owner_fields_additionalProperties=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as Product_allOf_owner_fields. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings Product_allOf_owner_fields=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings Product_allOf_owner_fields=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as Product_allOf_languages_codes. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings Product_allOf_languages_codes=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings Product_allOf_languages_codes=NewModel,ModelA=NewModelA in CLI).
[main] WARN  o.o.codegen.DefaultCodegen - Generation using 3.1.0 specs is in development and is not officially supported yet. If you would like to expedite development, please consider working on the open issues in the 3.1.0 project: https://github.com/orgs/OpenAPITools/projects/4/views/1 and reach out to our team on Slack at https://join.slack.com/t/openapi-generator/shared_invite/zt-12jxxd7p2-XUeQM~4pzsU9x~eGLQqX2g
[main] INFO  o.o.codegen.DefaultGenerator - Model get_cgi_product_image_upload_pl_request not generated since it's marked as unused (due to form parameters) and `skipFormModel` (global property) set to true (default)
[main] INFO  o.o.codegen.DefaultGenerator - Model post_cgi_product_image_crop_pl_request not generated since it's marked as unused (due to form parameters) and `skipFormModel` (global property) set to true (default)
[main] INFO  o.o.codegen.DefaultGenerator - Model _cgi_product_image_unselect_pl_post_request not generated since it's marked as unused (due to form parameters) and `skipFormModel` (global property) set to true (default)
[main] INFO  o.o.codegen.DefaultGenerator - Model post_cgi_product_jqm2_pl_request not generated since it's marked as unused (due to form parameters) and `skipFormModel` (global property) set to true (default)
[main] INFO  o.o.codegen.DefaultGenerator - Model Product_allOf_selected_images_front_display not generated since it's a free-form object
[main] INFO  o.o.codegen.DefaultGenerator - Model Product_allOf_selected_images_front_small not generated since it's a free-form object
[main] INFO  o.o.codegen.DefaultGenerator - Model Product_allOf_selected_images_front_thumb not generated since it's a free-form object
[main] INFO  o.o.codegen.DefaultGenerator - Model Product_allOf_ecoscore_data_grades not generated since it's a free-form object
[main] WARN  o.o.codegen.utils.ModelUtils - #/components/schemas/Ingredients/items is not defined
[main] WARN  o.o.codegen.utils.ModelUtils - #/components/schemas/Ingredients/items is not defined
[main] WARN  o.o.codegen.utils.ModelUtils - #/components/schemas/Ingredients/items is not defined
[main] WARN  o.o.codegen.utils.ModelUtils - #/components/schemas/Ingredients/items is not defined
[main] WARN  o.o.codegen.utils.ModelUtils - #/components/schemas/Ingredients/items is not defined
[main] WARN  o.o.codegen.utils.ModelUtils - #/components/schemas/Ingredients/items is not defined
[main] WARN  o.o.codegen.utils.ModelUtils - #/components/schemas/Ingredients/items is not defined
[main] WARN  o.o.codegen.utils.ModelUtils - #/components/schemas/Ingredients/items is not defined
[main] WARN  o.o.codegen.utils.ModelUtils - #/components/schemas/Ingredients/items is not defined
[main] WARN  o.o.codegen.utils.ModelUtils - #/components/schemas/Ingredients/items is not defined
[main] WARN  o.o.codegen.utils.ModelUtils - #/components/schemas/Ingredients/items is not defined
[main] WARN  o.o.codegen.utils.ModelUtils - #/components/schemas/Ingredients/items is not defined
[main] WARN  o.o.codegen.utils.ModelUtils - #/components/schemas/Ingredients/items is not defined
[main] INFO  o.o.codegen.DefaultGenerator - Model Product_allOf_languages_codes not generated since it's a free-form object
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/CgiProductImageUnselectPlPost200Response.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/Element.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/GetAttributeGroups200ResponseInner.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/GetAttributeGroups200ResponseInnerAttributesInner.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/GetCgiIngredientsPl200Response.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/GetCgiProductImageCropPl200Response.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/GetCgiProductImageCropPl200ResponseImage.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/GetCgiProductImageUploadPl200Response.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/GetCgiProductImageUploadPl200ResponseFilesInner.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/GetCgiProductImageUploadPl200ResponseImage.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/GetPreferences200ResponseInner.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/GetProductByBarcode200Response.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/GetProductByBarcode200ResponseAllOfProduct.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/GetProductByBarcode200ResponseAllOfProductAllOfAttributeGroupsInner.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/GetProductByBarcode200ResponseAllOfProductAllOfCategoriesProperties.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/GetProductByBarcode200ResponseAllOfProductAllOfEcoscoreData.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/GetProductByBarcode200ResponseAllOfProductAllOfEcoscoreDataAdjustments.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/GetProductByBarcode200ResponseAllOfProductAllOfEcoscoreDataAdjustmentsOriginsOfIngredients.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/GetProductByBarcode200ResponseAllOfProductAllOfEcoscoreDataAdjustmentsOriginsOfIngredientsAggregatedOriginsInner.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/GetProductByBarcode200ResponseAllOfProductAllOfEcoscoreDataAdjustmentsOriginsOfIngredientsTransportationScores.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/GetProductByBarcode200ResponseAllOfProductAllOfEcoscoreDataAdjustmentsPackaging.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/GetProductByBarcode200ResponseAllOfProductAllOfEcoscoreDataAdjustmentsPackagingPackagingsInner.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/GetProductByBarcode200ResponseAllOfProductAllOfEcoscoreDataAdjustmentsProductionSystem.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/GetProductByBarcode200ResponseAllOfProductAllOfEcoscoreDataAdjustmentsThreatenedSpecies.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/GetProductByBarcode200ResponseAllOfProductAllOfEcoscoreDataAgribalyse.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/GetProductByBarcode200ResponseAllOfProductAllOfEcoscoreDataMissing.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/GetProductByBarcode200ResponseAllOfProductAllOfEcoscoreDataPreviousData.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/GetProductByBarcode200ResponseAllOfProductAllOfImages.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/GetProductByBarcode200ResponseAllOfProductAllOfImages1.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/GetProductByBarcode200ResponseAllOfProductAllOfImages1Sizes.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/GetProductByBarcode200ResponseAllOfProductAllOfImages1SizesFull.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/GetProductByBarcode200ResponseAllOfProductAllOfImagesFront.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/GetProductByBarcode200ResponseAllOfProductAllOfImagesFrontSizes.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/GetProductByBarcode200ResponseAllOfProductAllOfImagesFrontSizes100.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/GetProductByBarcode200ResponseAllOfProductAllOfNovaGroupsMarkers.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/GetProductByBarcode200ResponseAllOfProductAllOfNutrientLevels.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/GetProductByBarcode200ResponseAllOfProductAllOfNutriments.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/GetProductByBarcode200ResponseAllOfProductAllOfNutriscoreData.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/GetProductByBarcode200ResponseAllOfProductAllOfOwnerFields.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/GetProductByBarcode200ResponseAllOfProductAllOfOwnerFieldsAdditionalProperties.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/GetProductByBarcode200ResponseAllOfProductAllOfSelectedImages.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/GetProductByBarcode200ResponseAllOfProductAllOfSelectedImagesFront.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/GetProductByBarcode200ResponseAllOfProductAllOfSourcesFields.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/GetProductByBarcode200ResponseAllOfProductAllOfSourcesFieldsOrgGs1.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/GetProductByBarcode200ResponseAllOfProductAllOfSourcesInner.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/GetProductByBarcode200ResponseAllOfProductAllOfSourcesInnerManufacturer.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/GetProductByBarcodeKnowledgePanels200Response.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/GetProductByBarcodeKnowledgePanels200ResponseAllOfProduct.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/GetSearch200Response.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/ImageElement.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/Ingredient.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/Ingredient1.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/Ingredient2.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/IngredientPercentMax.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/Nutrient.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/PackagingComponentMaterial.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/PackagingComponentREAD.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/PackagingComponentRecyclingInstruction.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/PackagingComponentShape.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/Panel.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/PanelElement.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/PanelGroupElement.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/Panels.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/PostCgiProductJqm2Pl200Response.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/Product.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/ProductAllOfEcoscoreData.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/ProductAllOfOwnerFields.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/ProductAllOfOwnerFieldsAdditionalProperties.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/ProductAllOfSelectedImages.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/ProductAllOfSelectedImagesFront.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/ProductAttributeGroups.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/ProductBase.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/ProductDataQuality.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/ProductEcoScore.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/ProductImages.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/ProductIngredients.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/ProductIngredientsIngredientsAnalysis.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/ProductIngredientsPercentMax.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/ProductIngredientsPercentMax1.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/ProductKnowledgePanels.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/ProductMetadata.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/ProductMisc.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/ProductNutrition.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/ProductTags.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/TableElement.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/TableElementColumnsInner.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/TextElement.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/TitleElement.ts
[main] WARN  o.o.codegen.DefaultCodegen - Empty operationId found for path: post /cgi/product_image_unselect.pl. Renamed to auto-generated operationId: cgiProductImageUnselectPlPost
[main] WARN  o.o.codegen.DefaultCodegen - Could not compute datatypeWithEnum from string, null
[main] WARN  o.o.codegen.DefaultCodegen - Could not compute datatypeWithEnum from string, null
[main] WARN  o.o.codegen.DefaultCodegen - Could not compute datatypeWithEnum from string, null
[main] WARN  o.o.codegen.DefaultCodegen - generated unique operationId `getAttributeGroups_0`
[main] WARN  o.o.codegen.DefaultCodegen - generated unique operationId `getPreferences_0`
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/apis/DefaultApi.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/apis/PersonalSearchApi.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/apis/ReadRequestsApi.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/apis/WriteRequestsApi.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/index.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/runtime.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/models/index.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/apis/index.ts
[main] INFO  o.o.codegen.TemplateManager - Skipped /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/.openapi-generator-ignore (Skipped by supportingFiles options supplied by user.)
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/.openapi-generator/VERSION
[main] INFO  o.o.codegen.TemplateManager - writing file /home/shinjigi/projects/_GH/openfoodfacts/openfoodfacts-api-gen-play/./dist/openapi-generator-cli/.openapi-generator/FILES
################################################################################
# Thanks for using OpenAPI Generator.                                          #
# Please consider donation to help us maintain this project 🙏                 #
# https://opencollective.com/openapi_generator/donate                          #
################################################################################```

stephanegigandet pushed a commit that referenced this issue Oct 17, 2024
<!-- IMPORTANT CHECKLIST
Make sure you've done all the following (You can delete the checklist
before submitting)
- [X] PR title is prefixed by one of the following: feat, fix, docs,
style, refactor, test, build, ci, chore, revert, l10n, taxonomy
- [ ] Code is well documented
- [ ] Include unit tests for new functionality
- [X] Code passes GitHub workflow checks in your branch
- [X] If you have multiple commits please combine them into one commit
by squashing them.
- [X] Read and understood the [contribution
guidelines](https://github.com/openfoodfacts/openfoodfacts-server/blob/main/CONTRIBUTING.md)
-->

### What
This pull request addresses errors encountered during the conversion to
TypeScript client for the `api.yml` file and its dependencies using
[@openapitools/[email protected]](https://openapi-generator.tech/docs/generators/typescript-fetch)
([GH](https://github.com/OpenAPITools/openapi-generator/tree/master?tab=readme-ov-file#2---getting-started)).
The changes include:
- Fixes for conversion errors
- Updates to dependencies
- Improvements to the structure of the generated code

### Screenshot

![image](https://github.com/user-attachments/assets/e7ee8538-4545-4a31-aed5-740a4e88c936)

### Related issue(s) and discussion
- Fixes
#[9419](#9419)

### Additional Notes
- More info:
[https://openapi-generator.tech/docs/customization/#inline-schema-naming](https://openapi-generator.tech/docs/customization/#inline-schema-naming)
- Please review the changes and provide feedback. If there are any
additional modifications needed, let me know.

Thank you for your cooperation!
@teolemon teolemon removed the 🐛 bug This is a bug, not a feature request. label Oct 18, 2024
stephanegigandet pushed a commit that referenced this issue Oct 24, 2024
…ty to solve openapi linter errors/warnings (#10922)

<!-- IMPORTANT CHECKLIST
Make sure you've done all the following (You can delete the checklist
before submitting)
- [x] PR title is prefixed by one of the following: feat, fix, docs,
style, refactor, test, build, ci, chore, revert, l10n, taxonomy
- [x] Code is well documented
- [x] Include unit tests for new functionality
- [x] Code passes GitHub workflow checks in your branch
- [x] If you have multiple commits please combine them into one commit
by squashing them.
- [x] Read and understood the [contribution
guidelines](https://github.com/openfoodfacts/openfoodfacts-server/blob/main/CONTRIBUTING.md)
-->

### What

This request was born from the desire to fix some validation errors
raised by the most common SDK client generators (openapi, swagger,
redocly). The pull request unifies the 2 definitions of `get by barcode`
and adds `security schemes` and authentication endpoints to the Open
Food Facts API.

- Added security schemes for `cookieAuth` and `userAgentAuth`.
- Added security definitions to existing endpoints.
- Introduced new endpoint `/cgi/session.pl` for login and obtaining a
session cookie.
- Updated components with new schema `AppCredentials`.
- Added security section to specify no authentication required by
default for read requests.
- Updated tags to include `Authentication` for endpoints related to
authentication.
- Unified `get by barcode` and removed path with query string to solve
Redocly and Swagger validation error: "Problem: Don't put query string
items in the path, they belong in parameters with `in: query`."

### Screenshot
```
> @food-alpha/[email protected] build:tsfetch ~/projects/food-alpha/packages/off-clients
> cd ./clients/ts-fetch && pnpm install && pnpm run build

Scope: all 4 workspace projects
../../../pwa                     |  WARN  deprecated [email protected]
 WARN  5 deprecated subdependencies found: @humanwhocodes/[email protected], @humanwhocodes/[email protected], [email protected], [email protected], [email protected]
../../../..                              |   +1 +
../../../..                              | Progress: resolved 1233, reused 1186, downloaded 0, added 1, done
. prepare$ pnpm run build
│ > @food-alpha/[email protected] build ~/projects/food-alpha/packages/off-clients…
│ > tsc
└─ Done in 2.3s
Done in 19.2s

> @food-alpha/[email protected] build ~/projects/food-alpha/packages/off-clients/clients/ts-fetch
> tsc


> @food-alpha/[email protected] gen:api ~/projects/food-alpha/packages/off-clients
> java -jar ../../../../_GH/_java/openapi-generator/modules/openapi-generator-cli/target/openapi-generator-cli.jar generate -i ./fork-shinjigi-4pullrequest-api-ref/api.yml -g openapi-yaml -o openapi/

[main] WARN  o.o.codegen.DefaultCodegen - Generation using 3.1.0 specs is in development and is not officially supported yet. If you would like to expedite development, please consider working on the open issues in the 3.1.0 project: https://github.com/orgs/OpenAPITools/projects/4/views/1 and reach out to our team on Slack at https://join.slack.com/t/openapi-generator/shared_invite/zt-12jxxd7p2-XUeQM~4pzsU9x~eGLQqX2g
[main] INFO  o.o.codegen.DefaultGenerator - Generating with dryRun=false
[main] INFO  o.o.codegen.DefaultGenerator - OpenAPI Generator: openapi-yaml (documentation)
[main] INFO  o.o.codegen.DefaultGenerator - Generator 'openapi-yaml' is considered stable.
[main] INFO  o.o.c.languages.OpenAPIYamlGenerator - Output file [outputFile=openapi/openapi.yaml]
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as product_misc_nutrient_levels. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings product_misc_nutrient_levels=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings product_misc_nutrient_levels=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as Packaging_component_shape. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings Packaging_component_shape=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings Packaging_component_shape=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as Packaging_component_material. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings Packaging_component_material=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings Packaging_component_material=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as Packaging_component_recycling_instruction. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings Packaging_component_recycling_instruction=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings Packaging_component_recycling_instruction=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as Packaging_component__READ_. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings Packaging_component__READ_=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings Packaging_component__READ_=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as image_sizes. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings image_sizes=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings image_sizes=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as image_role_sizes. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings image_role_sizes=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings image_role_sizes=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as product_selected_images_front. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings product_selected_images_front=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings product_selected_images_front=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as product_ecoscore_data_adjustments_origins_of_ingredients_transportation_scores. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings product_ecoscore_data_adjustments_origins_of_ingredients_transportation_scores=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings product_ecoscore_data_adjustments_origins_of_ingredients_transportation_scores=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as product_ecoscore_data_adjustments_origins_of_ingredients. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings product_ecoscore_data_adjustments_origins_of_ingredients=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings product_ecoscore_data_adjustments_origins_of_ingredients=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as product_ecoscore_data_adjustments_packaging. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings product_ecoscore_data_adjustments_packaging=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings product_ecoscore_data_adjustments_packaging=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as product_ecoscore_data_adjustments_production_system. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings product_ecoscore_data_adjustments_production_system=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings product_ecoscore_data_adjustments_production_system=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as product_ecoscore_data_adjustments_threatened_species. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings product_ecoscore_data_adjustments_threatened_species=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings product_ecoscore_data_adjustments_threatened_species=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as product_ecoscore_data_adjustments. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings product_ecoscore_data_adjustments=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings product_ecoscore_data_adjustments=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as product_ecoscore_data_agribalyse. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings product_ecoscore_data_agribalyse=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings product_ecoscore_data_agribalyse=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as product_ecoscore_data_missing. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings product_ecoscore_data_missing=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings product_ecoscore_data_missing=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as product_ecoscore_data_previous_data. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings product_ecoscore_data_previous_data=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings product_ecoscore_data_previous_data=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as ingredient_percent_max. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings ingredient_percent_max=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings ingredient_percent_max=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as product_ingredients_ingredients_analysis. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings product_ingredients_ingredients_analysis=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings product_ingredients_ingredients_analysis=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as product_ingredients_traces_hierarchy_inner. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings product_ingredients_traces_hierarchy_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings product_ingredients_traces_hierarchy_inner=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as product_nutrition_nutriments. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings product_nutrition_nutriments=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings product_nutrition_nutriments=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as product_nutrition_nutriscore_data. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings product_nutrition_nutriscore_data=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings product_nutrition_nutriscore_data=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as product_extended_categories_properties. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings product_extended_categories_properties=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings product_extended_categories_properties=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as product_extended_owner_fields_additionalProperties. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings product_extended_owner_fields_additionalProperties=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings product_extended_owner_fields_additionalProperties=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as product_extended_owner_fields. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings product_extended_owner_fields=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings product_extended_owner_fields=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as product_extended_nova_groups_markers. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings product_extended_nova_groups_markers=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings product_extended_nova_groups_markers=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as product_meta_source_manufacturer. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings product_meta_source_manufacturer=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings product_meta_source_manufacturer=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as product_meta_source_fields_org_gs1. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings product_meta_source_fields_org_gs1=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings product_meta_source_fields_org_gs1=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as get_cgi_product_image_upload_pl_request. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings get_cgi_product_image_upload_pl_request=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings get_cgi_product_image_upload_pl_request=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as add_photo_to_existing_product_response_files_inner. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings add_photo_to_existing_product_response_files_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings add_photo_to_existing_product_response_files_inner=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as add_photo_to_existing_product_response_image. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings add_photo_to_existing_product_response_image=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings add_photo_to_existing_product_response_image=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as rotate_a_photo_response_image. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings rotate_a_photo_response_image=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings rotate_a_photo_response_image=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as post_cgi_product_image_crop_pl_request. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings post_cgi_product_image_crop_pl_request=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings post_cgi_product_image_crop_pl_request=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as post_cgi_product_jqm2_pl_request. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings post_cgi_product_jqm2_pl_request=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings post_cgi_product_jqm2_pl_request=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as get_preferences_200_response_inner. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings get_preferences_200_response_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings get_preferences_200_response_inner=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as get_cgi_session_pl_request. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings get_cgi_session_pl_request=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings get_cgi_session_pl_request=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as product_selected_images_1_front_display. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings product_selected_images_1_front_display=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings product_selected_images_1_front_display=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as product_selected_images_1_front_small. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings product_selected_images_1_front_small=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings product_selected_images_1_front_small=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as product_selected_images_1_front_thumb. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings product_selected_images_1_front_thumb=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings product_selected_images_1_front_thumb=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as product_selected_images_1_front. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings product_selected_images_1_front=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings product_selected_images_1_front=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as product_selected_images_1. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings product_selected_images_1=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings product_selected_images_1=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as product_ecoscore_data_1_grades. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings product_ecoscore_data_1_grades=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings product_ecoscore_data_1_grades=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as product_ecoscore_data_1. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings product_ecoscore_data_1=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings product_ecoscore_data_1=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as product_ingredients_percent_max. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings product_ingredients_percent_max=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings product_ingredients_percent_max=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as ingredient_1. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings ingredient_1=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings ingredient_1=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as product_ingredients_traces_hierarchy. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings product_ingredients_traces_hierarchy=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings product_ingredients_traces_hierarchy=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as product_ingredients_traces_tags. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings product_ingredients_traces_tags=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings product_ingredients_traces_tags=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as product_extended_owner_fields_1_additionalProperties. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings product_extended_owner_fields_1_additionalProperties=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings product_extended_owner_fields_1_additionalProperties=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as product_extended_owner_fields_1. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings product_extended_owner_fields_1=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings product_extended_owner_fields_1=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as Product_allOf_languages_codes. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings Product_allOf_languages_codes=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings Product_allOf_languages_codes=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as Product_allOf_manufacturer. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings Product_allOf_manufacturer=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings Product_allOf_manufacturer=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as product_meta_source_1. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings product_meta_source_1=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings product_meta_source_1=NewModel,ModelA=NewModelA in CLI).
[main] WARN  o.o.codegen.DefaultCodegen - Generation using 3.1.0 specs is in development and is not officially supported yet. If you would like to expedite development, please consider working on the open issues in the 3.1.0 project: https://github.com/orgs/OpenAPITools/projects/4/views/1 and reach out to our team on Slack at https://join.slack.com/t/openapi-generator/shared_invite/zt-12jxxd7p2-XUeQM~4pzsU9x~eGLQqX2g
[main] INFO  o.o.codegen.DefaultGenerator - Model get_cgi_product_image_upload_pl_request not generated since it's marked as unused (due to form parameters) and `skipFormModel` (global property) set to true (default)
[main] INFO  o.o.codegen.DefaultGenerator - Model post_cgi_product_image_crop_pl_request not generated since it's marked as unused (due to form parameters) and `skipFormModel` (global property) set to true (default)
[main] INFO  o.o.codegen.DefaultGenerator - Model unselect_a_photo_request not generated since it's marked as unused (due to form parameters) and `skipFormModel` (global property) set to true (default)
[main] INFO  o.o.codegen.DefaultGenerator - Model post_cgi_product_jqm2_pl_request not generated since it's marked as unused (due to form parameters) and `skipFormModel` (global property) set to true (default)
[main] INFO  o.o.codegen.DefaultGenerator - Model get_cgi_session_pl_request not generated since it's marked as unused (due to form parameters) and `skipFormModel` (global property) set to true (default)
[main] INFO  o.o.codegen.DefaultGenerator - Model product_selected_images_1_front_display not generated since it's a free-form object
[main] INFO  o.o.codegen.DefaultGenerator - Model product_selected_images_1_front_small not generated since it's a free-form object
[main] INFO  o.o.codegen.DefaultGenerator - Model product_selected_images_1_front_thumb not generated since it's a free-form object
[main] INFO  o.o.codegen.DefaultGenerator - Model product_ecoscore_data_1_grades not generated since it's a free-form object
[main] INFO  o.o.codegen.DefaultGenerator - Model Product_allOf_languages_codes not generated since it's a free-form object
[main] WARN  o.o.codegen.DefaultCodegen - Could not compute datatypeWithEnum from string, null
[main] WARN  o.o.codegen.DefaultCodegen - Could not compute datatypeWithEnum from string, null
[main] WARN  o.o.codegen.DefaultCodegen - Could not compute datatypeWithEnum from string, null
[main] INFO  o.o.codegen.TemplateManager - writing file ~/projects/food-alpha/packages/off-clients/openapi/README.md
[main] INFO  o.o.codegen.TemplateManager - writing file ~/projects/food-alpha/packages/off-clients/openapi/openapi/openapi.yaml
[main] INFO  o.o.codegen.TemplateManager - Skipped ~/projects/food-alpha/packages/off-clients/openapi/.openapi-generator-ignore (Skipped by supportingFiles options supplied by user.)
[main] INFO  o.o.codegen.TemplateManager - writing file ~/projects/food-alpha/packages/off-clients/openapi/.openapi-generator/VERSION
[main] INFO  o.o.codegen.TemplateManager - writing file ~/projects/food-alpha/packages/off-clients/openapi/.openapi-generator/FILES
################################################################################
# Thanks for using OpenAPI Generator.                                          #
# Please consider donation to help us maintain this project 🙏                 #
# https://opencollective.com/openapi_generator/donate                          #
################################################################################

> @food-alpha/[email protected] redocly:lint ~/projects/food-alpha/packages/off-clients
> npx @redocly/cli@latest lint  off@v1

validating ./fork-shinjigi-4pullrequest-api-ref/api.yml...
./fork-shinjigi-4pullrequest-api-ref/api.yml: validated in 100ms

Woohoo! Your API description is valid. 🎉


> @food-alpha/[email protected] redocly ~/projects/food-alpha/packages/off-clients
> npx @redocly/cli@latest build-docs ./fork-shinjigi-4pullrequest-api-ref/api.yml --output ./clients/redocly/redocly.html

Found redocly.yaml and using theme.openapi options
Prerendering docs

🎉 bundled successfully in: ./clients/redocly/redocly.html (701 KiB) [⏱ 2ms].
```

### Related issue(s) and discussion
<!-- Please add the issue number this issue will close, that way, once
your pull request is merged, the issue will be closed as well -->
- Related to:
#7446 
#9419 
#8039
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API v3 API Issues related to the Open Food Facts API. More specific labels exist & should be used (API WRITE…) 📚 Documentation Documentation issues improve the project for everyone. OpenAPI OpenAPI documentation of Open Food Facts. Still incomplete, and needs help.
Projects
Status: To discuss and validate
Status: Todo
Development

No branches or pull requests

3 participants