commercetools / commercetools/rmf-codegen

Missing Property from Referenced Type

Open
#191 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
16
Forks
7
Avg merge
1d 3h
Merged PRs (30d)
3

Description

Originally reported here - https://github.com/commercetools/commercetools-docs/issues/223

We have the same problem in our test RAML where `key` property is missing in the generated subtype.

KeyReference is defined here:

https://github.com/commercetools/commercetools-docs-kit/blob/6f09f5be28d3a0fe6479b1394c0497a29bc383ef/websites/api-docs-smoke-test/source-raml/test/types/references.raml#L71-L78

ExampleTargetTypeKeyReference is the subtype:

https://github.com/commercetools/commercetools-docs-kit/blob/6f09f5be28d3a0fe6479b1394c0497a29bc383ef/websites/api-docs-smoke-test/source-raml/test/types/references.raml#L89-L93

This is the generated RAML for ExampleTargetTypeKeyReference:

https://github.com/commercetools/commercetools-docs-kit/blob/master/websites/api-docs-smoke-test/src/api-specs/test/types/ExampleTargetTypeKeyReference.raml

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.