openapi-processor / openapi-processor-base

re-usable code of openapi-processor
https://openapiprocessor.io
Apache License 2.0
2 stars 3 forks source link

type annotation mapping ignored with model-name-suffix #158

Open hauner opened 3 months ago

hauner commented 3 months ago

using a mapping like this:

openapi-processor-mapping: v8
options:
  model-name-suffix: Resource

maps:
  types:
    - type: Foo @ io.openapiprocessor.Annotation()

does not add the annotation.

After disabling model-name-suffix the annotation gets added.