You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
openapi: 3.0.0info:
title: Item Brandsversion: 1.0.0description: Item Brandspaths:
'/relatedItems':
get:
tags:
- Catalog V2summary: Shows the items details related to the item given by the itemId.description: The details of the items related to the requested itemIdoperationId: relatedItemsresponses:
'200':
description: OKcontent:
application/json:
schema:
$ref: '#/components/schemas/RelatedItemsResponse'components:
schemas:
RelatedItem:
type: objectproperties:
bundleItemSummaries:
type: arraymaxItems: 1024description: List of the items associated with the bundle.items:
$ref: '#/components/schemas/ItemSummary'description: Related Item InfoadditionalProperties:
falseRelatedItemDetail:
type: objectproperties:
colors:
type: arraymaxItems: 1024description: List of the item colors.items:
$ref: '#/components/schemas/Color'additionalProperties:
falseRelatedElements:
type: objectproperties:
specific:
type: arraymaxItems: 1024description: Related elements for specific colors.items:
$ref: '#/components/schemas/ColorAndRelatedItems'description: Related elementsadditionalProperties:
falseCompositionByLocation:
type: objectproperties:
zones:
type: arraymaxItems: 1024description: Defines the composition of the different zones of a itemitems:
$ref: '#/components/schemas/Location'description: Information about composition by zoneadditionalProperties: falseColor:
type: objectproperties:
compositionByLocation:
type: arraymaxItems: 1024description: List of composition information about each part of the item for the color grouped by zoneitems:
$ref: '#/components/schemas/CompositionByLocation'subarticles:
type: arraymaxItems: 1024description: A list of subarticlesitems:
$ref: '#/components/schemas/SubArticles'colFilter:
type: arraymaxItems: 1024items:
type: stringmaxLength: 1024description: Color informationadditionalProperties: falseSubArticles:
type: objectproperties:
name:
type: stringmaxLength: 1024example: 'NINO'description: SubArticle namecolorId:
type: stringmaxLength: 1024example: '17731'description: SubArticle color idcomposition:
type: objectrequired:
- exceptionsproperties:
parts:
type: arraymaxItems: 1024items:
$ref: '#/components/schemas/Part'exceptions:
type: arraymaxItems: 1024items:
type: stringmaxLength: 1024example: 'EXCEPTO ADORNOS'example:
- 'EXCEPTO ADORNOS'
- 'EXCLUSIVE OF ELASTIC'additionalProperties:
falsedescription: Information about subarticles.additionalProperties:
falsePart:
type: objectrequired:
- areas
- microcontents
- reinforcementsproperties:
description:
type: stringmaxLength: 1024example: 'EXTERIOR'description: Part descriptionareas:
type: arraymaxItems: 1024items:
$ref: '#/components/schemas/Area'components:
type: arraymaxItems: 1024items:
$ref: '#/components/schemas/Component'microcontents:
type: arraymaxItems: 1024items:
type: stringmaxLength: 1024example: 'viscosa'example:
- 'viscosa'
- 'algodon'reinforcements:
type: arraymaxItems: 1024items:
type: stringmaxLength: 1024description: Information about part.additionalProperties:
falseArea:
type: objectproperties:
components:
type: arraymaxItems: 1024items:
$ref: '#/components/schemas/Component'description:
type: stringmaxLength: 1024example: 'Area description'description: Area descriptionzone:
type: stringmaxLength: 1024example: 'Location 1'description: Area zonezoneName:
type: stringmaxLength: 1024example: 'Location name 1'description: Area zone namedescription: Information about area.additionalProperties:
falseComponent:
type: objectproperties:
material:
type: stringmaxLength: 1024example: 'algodon'description: Component materialpercentage:
type: stringmaxLength: 1024example: '100%'description: Component percentagedescription: Information about component.additionalProperties:
falseItemSummary:
type: objectrequired:
- itemTypeproperties:
detail:
$ref: '#/components/schemas/ItemDetail'description: Item Summary InfoadditionalProperties:
falseColorAndRelatedItems:
type: objectproperties:
relatedItems:
type: arraymaxItems: 1024description: List of related items.items:
$ref: '#/components/schemas/CatentryIdWithColor'description: Item color and related itemsadditionalProperties:
falseLocation:
type: objectproperties:
zone:
type: stringmaxLength: 1024example: 'zone 1'description: zone identifierzoneName:
type: stringmaxLength: 1024example: '56% name 1'description: zone namedescription: Information about zoneadditionalProperties:
falseCatentryIdWithColor:
type: objectproperties:
detail:
$ref: '#/components/schemas/RelatedItemDetail'description: CatentryId and coloradditionalProperties:
falseItemDetail:
type: objectrequired:
- colors
- xmediaDefaultSet
- relatedItems
- defaultImageTypeproperties:
relatedElements:
type: arraymaxItems: 1024items:
$ref: '#/components/schemas/RelatedElements'description: Item Detail Info.additionalProperties:
falseRelatedItemsResponse:
type: objectdescription: The response object from relatedItems.required:
- relatedItemsproperties:
relatedItems:
type: arraymaxItems: 1024description: A list of related items details.items:
$ref: '#/components/schemas/RelatedItem'additionalProperties:
false
Generation Details
java -jar openapi-generator-cli-7.6.0.jar generate -g spring -i spec.yml -o out --additional-properties library=spring-boot,openApiNullable=false
Related issues/PRs
Suggest a fix
The text was updated successfully, but these errors were encountered:
Bug Report Checklist
Description
A java heap space is being produced when generating the API.
The error occurs at two points:
openapi-generator/modules/openapi-generator/src/main/java/org/openapitools/codegen/examples/ExampleGenerator.java
Line 115 in ab7d0cb
openapi-generator/modules/openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java
Lines 8041 to 8046 in ab7d0cb
openapi-generator version
7.5.0 & 7.6.0
OpenAPI declaration file content or url
Generation Details
Related issues/PRs
Suggest a fix
The text was updated successfully, but these errors were encountered: