-
-
Notifications
You must be signed in to change notification settings - Fork 128
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
Proposal to make use of swift-openapi-generator #799
base: develop
Are you sure you want to change the base?
Commits on Jul 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b66f84d - Browse repository at this point
Copy the full SHA b66f84dView commit details
Commits on Aug 12, 2024
-
Got the swift-openapi-generator working on openHAB iOS app:
-Properly gets data every 30s -Able to send commands -Making use of structured concurrency, ie async/await, actors -Still a lot to do Renamed OpenHABSitemapPage into OpenHABPage to avoid confusion Reworked OpenHABSitemap to properly handle embedded OpenHABPage Created convenience initializers for OpenHAB models to map from openAPI generated models Properly decoding widgets within a widget Manually modifying the OpenHAB's openAPI schema Manually adding X-Atmosphere-Transport in header parameters for pollDataPage Transferred code to package - requires workaround to invoke the CLI manually: https://swiftpackageindex.com/apple/swift-openapi-generator/1.2.1/documentation/swift-openapi-generator/manually-invoking-the-generator-cli : - clone the generator package locally - run locally swift run swift-openapi-generator generate --config ../Sources/OpenHABCore/openapi/openapi-generator-config.yml --output-directory ../GeneratedSources/openapi ../Sources/OpenHABCore/openapi/openapi.json Exclude the package and the generated code from swiftlint Async update for actor APIActor and initialiser with URL about:blank Using APIActor throughout the app Upgrade target to iOS 16 Helper function openHABpollPage(sitemapname: String, longPolling: Bool) for access without Making use internal accesModifier to properly isolate the internals in OpenHABCore Using openAPI generated interface to send command Support for basic authorization Making use of os logger
Configuration menu - View commit details
-
Copy full SHA for 237940e - Browse repository at this point
Copy the full SHA 237940eView commit details
Commits on Aug 17, 2024
-
Manually modifying openapi - JerseyResponseBuilderDTO for response to…
… create event subscription, Allowing for X-Atmosphere-Transport for long-polling, SitemapWidgetEvent for server side events Experimenting with SSE consumption Include Client and Types to make it compile on github Shifted logging to dedicated ClientMiddleware Created class OpenHABSitemapWidgetEvent Modified openapi to include sitemapName and pageId in SitemapWidgetEvent Getting server sent events working - establishing a subscription and receiving events , not yet consuming / Commented out in OpenHABSitemapViewController
Configuration menu - View commit details
-
Copy full SHA for c96ec85 - Browse repository at this point
Copy the full SHA c96ec85View commit details
Commits on Aug 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 470eb88 - Browse repository at this point
Copy the full SHA 470eb88View commit details -
Created LoggingMiddleware to be separated from AuthorisationMiddleware
update OpenHABWidget with OpenHABSitemapWidgetEvent Update to swift-tools-version 5.10
Configuration menu - View commit details
-
Copy full SHA for eecb27e - Browse repository at this point
Copy the full SHA eecb27eView commit details
Commits on Aug 19, 2024
-
Subcribe to events and map received events to OpenHABSitemapWidgetEvents
In order not to expose decode OpenHABSitemapWidgetEvents manually. Some relaxations required on OpenHABItem
Configuration menu - View commit details
-
Copy full SHA for 7a32f39 - Browse repository at this point
Copy the full SHA 7a32f39View commit details
Commits on Aug 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for aaf8b49 - Browse repository at this point
Copy the full SHA aaf8b49View commit details
Commits on Aug 26, 2024
-
Changed accessModifier to public - To be changed back to internal whe…
…n switching to swift 6.0
Configuration menu - View commit details
-
Copy full SHA for ec0fc85 - Browse repository at this point
Copy the full SHA ec0fc85View commit details
Commits on Sep 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f4e672f - Browse repository at this point
Copy the full SHA f4e672fView commit details
Commits on Sep 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f53939e - Browse repository at this point
Copy the full SHA f53939eView commit details
Commits on Sep 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e9764d3 - Browse repository at this point
Copy the full SHA e9764d3View commit details
Commits on Sep 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b7f6397 - Browse repository at this point
Copy the full SHA b7f6397View commit details -
Merge branch 'develop' into openapigen
Signed-off-by: Tim Bert <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 78912e1 - Browse repository at this point
Copy the full SHA 78912e1View commit details -
Move extensions for models from APIActor.swift to respective files
Port api load to DrawerView
Configuration menu - View commit details
-
Copy full SHA for c07b57e - Browse repository at this point
Copy the full SHA c07b57eView commit details -
Merge branch 'openapigen' of https://github.com/openhab/openhab-ios i…
…nto openapigen
Configuration menu - View commit details
-
Copy full SHA for 30aa8b3 - Browse repository at this point
Copy the full SHA 30aa8b3View commit details -
Merge branch 'develop' into openapigen
Signed-off-by: Tim Bert <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c6ea6e6 - Browse repository at this point
Copy the full SHA c6ea6e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ec2b7e - Browse repository at this point
Copy the full SHA 4ec2b7eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 52fb51d - Browse repository at this point
Copy the full SHA 52fb51dView commit details -
Merge branch 'openapigen' of https://github.com/openhab/openhab-ios i…
…nto openapigen
Configuration menu - View commit details
-
Copy full SHA for 6941790 - Browse repository at this point
Copy the full SHA 6941790View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d3c3a6 - Browse repository at this point
Copy the full SHA 9d3c3a6View commit details
Commits on Sep 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b6db98b - Browse repository at this point
Copy the full SHA b6db98bView commit details -
Merge branch 'develop' into openapigen
Signed-off-by: Tim Bert <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8637c46 - Browse repository at this point
Copy the full SHA 8637c46View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4514c56 - Browse repository at this point
Copy the full SHA 4514c56View commit details