Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to use swift-openapi-generator #1

Open
2 tasks done
Kyle-Ye opened this issue Jun 18, 2023 · 4 comments
Open
2 tasks done

Migrate to use swift-openapi-generator #1

Kyle-Ye opened this issue Jun 18, 2023 · 4 comments

Comments

@Kyle-Ye
Copy link
Owner Author

Kyle-Ye commented Jun 23, 2023

Old branch dependency:

.package(url: "https://github.com/Kyle-Ye/swift-openapi-generator.git", branch: "discourse_3.1.0"),
.package(url: "https://github.com/Kyle-Ye/OpenAPIKit", branch: "discourse_3.1.0"),

-> (Discourse Docs Issue solved) ->

New branch dependency:

.package(url: "https://github.com/Kyle-Ye/swift-openapi-generator.git", branch: "openapi_31x"),
  • -> (swift-openapi-generator OpenAPI 3.1 supported) ->
.package(url: "https://github.com/apple/swift-openapi-generator.git", from: "xxx"),

@Kyle-Ye
Copy link
Owner Author

Kyle-Ye commented Jun 27, 2023

Given there are more issued surfaced out and too many todos in the upstream, I just give up to migrate to OpenAPI right now.

eg.

Maybe I'll give it a second try next year or the time it reached version 1.0.0.

The WIP progress is tracked via https://github.com/Kyle-Ye/DiscourseKit/tree/feature/open-api

@Kyle-Ye
Copy link
Owner Author

Kyle-Ye commented Sep 17, 2023

Update:

Tried swift-openapi-generator 0.2.1 today.

The OpenAPI 3.1 is supported but the nullable support is still not complete. More issue need to be addressed on discourse OpenAPI doc side.

See progress via https://github.com/Kyle-Ye/DiscourseKit/tree/feature/open-api-0.2.1

@Lancelotbronner
Copy link

I've started investigating as well: https://meta.discourse.org/t/contribute-to-the-discourse-api-docs/56693/4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants