File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed
Sources/swift-openapi-generator/Documentation.docc/Proposals Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ public enum Operations {
181181
182182This proposal covers generating the following additional API surface to
183183simplify providing inputs.
184-
184+
185185``` swift
186186extension APIProtocol {
187187 // The parameters to each overload will match those of the corresponding
@@ -202,7 +202,7 @@ extension APIProtocol {
202202This proposal also covers generating the following additional API surface to
203203simplify handling outputs.
204204
205- ``` swift
205+ ``` swift
206206// Note: Generating an extension is not prescriptive; implementations may
207207// generate these properties within the primary type definition.
208208extension Operations.getGreeting.Output {
@@ -321,15 +321,10 @@ Generated using the following command:
321321// -----------
322322// Generated by swift-openapi-generator, do not modify.
323323@_spi (Generated) import OpenAPIRuntime
324- #if os (Linux )
325- @preconcurrency import struct Foundation .URL
326- @preconcurrency import struct Foundation .Data
327- @preconcurrency import struct Foundation .Date
328- #else
329324import struct Foundation .URL
330325import struct Foundation .Data
331326import struct Foundation .Date
332- # endif
327+
333328/// A type that performs HTTP operations defined by the OpenAPI document.
334329public protocol APIProtocol : Sendable {
335330 /// - Remark: HTTP `GET /greet`.
You can’t perform that action at this time.
0 commit comments