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
Originally reported here - https://github.com/commercetools/commercetools-docs/issues/223
We have the same problem in our test RAML where
keyproperty 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