openapi-generator-for-spring icon indicating copy to clipboard operation
openapi-generator-for-spring copied to clipboard

Use $ref from swagger annotation as suggested identifier

Open neiser opened this issue 4 years ago • 1 comments

The $ref property of swagger annotation as suggested identifier. This is accessible in the following code places (incomplete list):

  • DefaultApiResponseAnnotationMapper
  • DefaultHeaderAnnotationMapper
  • DefaultRequestBodyAnnotationMapper / DefaultRequestBodyOperationCustomizer

The string provided is actually intended to manually reference another item, but I think using it as the suggested identifier is the better usage of that annotation property.

neiser avatar Nov 30 '20 09:11 neiser

Might be related to #10 and #15

neiser avatar May 05 '21 06:05 neiser