swift-openapi-generator
swift-openapi-generator copied to clipboard
Emit JSON path reference in comments for all generated types
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`.