Skip to content

Commit 1e3dcf4

Browse files
authored
Update README.md
1 parent d10e61c commit 1e3dcf4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,9 @@ platforms, listed below.
109109
| Generator plugin and CLI | ✅ 10.15+ || ✖️ | ✖️ | ✖️ | ✖️ |
110110
| Generated code and runtime library | ✅ 10.15+ || ✅ 13+ | ✅ 13+ | ✅ 6+ | ✅ 1+ |
111111

112+
> [!NOTE]
113+
> When using Visual Studio Code or other editors that rely on [SourceKit-LSP](https://github.com/swiftlang/sourcekit-lsp), the editor may not correctly recognize generated code within the same module. As a workaround, consider creating a separate target for code generation and importing this from another module. For more details, see the discussion in [swiftlang/sourcekit-lsp#665](https://github.com/swiftlang/sourcekit-lsp/issues/665#issuecomment-2093169169).
114+
112115
## Documentation and example projects
113116

114117
To get started, check out the [documentation][docs-generator], which contains
@@ -120,9 +123,6 @@ Swift OpenAPI Generator and integrate with other packages in the ecosystem.
120123
Or if you prefer to watch a video, check out [Meet Swift OpenAPI
121124
Generator](https://developer.apple.com/wwdc23/10171) from WWDC23.
122125

123-
> [!NOTE]
124-
> When using Visual Studio Code or other editors that rely on [SourceKit-LSP](https://github.com/swiftlang/sourcekit-lsp), the editor may not correctly recognize generated code within same module. As a workaround, consider creating a separate target for code generation and importing this module into your application code. For more details, see the discussion in [swiftlang/sourcekit-lsp#665](https://github.com/swiftlang/sourcekit-lsp/issues/665#issuecomment-2093169169).
125-
126126

127127
[openapi]: https://openapis.org
128128
[repo-generator]: https://github.com/apple/swift-openapi-generator

0 commit comments

Comments
 (0)