swift-openapi-generator icon indicating copy to clipboard operation
swift-openapi-generator copied to clipboard

Emit JSON path reference in comments for all generated types

Open czechboy0 opened this issue 2 years ago • 0 comments

This already works for many types and properties, but not for all.

We should ensure that all content from the OpenAPI doc generated in Swift includes a comment linking it back to its original JSON path in the OpenAPI doc.

For example:

/// - Remark: Generated from `#/paths/\/pets\/{petId}/patch/requestBody/content/application\/json/schema`.

czechboy0 avatar May 25 '23 08:05 czechboy0