William Cheng
8f4cfa3955
[swift] fix typos, minor code format enhancement ( #20387 )
...
* fix typo in swift option, minor code format enhancement
* fix uuid typo in swift codegen and template
* fix typo minium
2024-12-31 16:51:18 +08:00
Jonas Reichert
93158ea4dc
Fixes URLSessionImplementations template for swift generator ( #20381 )
2024-12-30 21:24:25 +00:00
Makoto Aoyama
bf9c9a59d2
Add access control to the properties of validation rules ( #20380 )
2024-12-27 10:36:15 +00:00
Lennard Sprong
af89ed8043
[swift5] Add Identifiable conformance to supported models ( #20179 )
2024-11-25 17:43:51 +00:00
William Cheng
654f62ce3c
Prepare 7.11.0 ( #20130 )
...
* Revert "prepare 7.10.0 release (#20128 )"
This reverts commit 12dfe8fe74a1515d1e69e00df9abe4128aa44160.
* update to 7.11.0-SNAPSHOT, update samples
* update docs
2024-11-18 20:15:29 +08:00
Bruno Coelho
c6dbf0870c
[swift5] add credentials by default ( #19906 )
2024-10-18 10:38:27 +01:00
Bruno Coelho
ca032113f2
[Swift] shorter readme ( #19884 )
...
* [Swift] shorter readme
* [Swift] update docs
* [Swift] update docs
* [Swift] format codegen
* [Swift] try to make CI pass
2024-10-16 11:55:18 +01:00
Bruno Coelho
2354d402a8
[swift6] promote to beta and improve documentation ( #19856 )
...
* [swift6] promote to beta
* [swift6] format code
* [swift] authentication docs
* [swift] update docs
* [swift] update docs
* [swift] update docs
* [swift] update docs
* [swift] update docs
* [swift] update docs
* [swift] update docs
* [swift] update docs
* [swift] update docs
* [swift] update docs
2024-10-14 12:55:25 +01:00
William Cheng
e2c458b9ea
Prepare 7.10.0 ( #19809 )
...
* Revert "prepare 7.9.0 release (#19808 )"
This reverts commit 4145000dfebe7a9edea4555c8515383da7602458.
* prepare 7.10.0 snapshot
* update doc
* update samples
2024-10-08 11:21:54 +08:00
Bruno Coelho
911455d206
[swift] small improvements ( #19675 )
...
* [swift] small improments
* [swift] small improments
* [swift] small improments
* [swift] make CI pass
* [swift] make CI pass
* [swift] make CI pass
* [swift] make CI pass
* [swift] make CI pass
* [swift] make CI pass
* [swift] make CI pass
2024-09-27 13:11:08 +08:00
Bruno Coelho
7f6b1306ed
Add swift6 generator ( #19621 )
...
* [Swift6] create Swift6 generator
* [Swift6] create Swift6 generator
* Update vapor integration
* Update bitrise stack to Xcode 16
* [Swift6] tryped throws
* [Swift6] tryped throws
* [Swift6] combine deferred and api static method
* [Swift6] update readme
* [Swift6] fix some errors
* [Swift6] fix some errors
* [Swift6] fix some errors
* [Swift6] update docs
* [Swift6] update docs
* Use multiline comments for examples in csharp generator (#19079 )
* multi
* gen
* Uncomment File::deleteOnExit (#19624 )
* [Core/Rust Server] Check references in additionalProperties correctly when checking freeForm status (#19605 )
* Check references in additionalProperties correctly
Handle references in additionalProperties correctly when determining free-form status
* Update samples
* [Rust Server] Handle arrays in forms (#19625 )
* [Rust Server] Handle arrays in forms correctly
* [Rust Server] Add tests
* Update samples
* [Swift6] fix CI
* [Swift6] fix CI
* [Swift6] fix CI
* [Swift6] fix CI
---------
Co-authored-by: Liri S <reallyliri@gmail.com>
Co-authored-by: Beppe Catanese <1771700+gcatanese@users.noreply.github.com>
Co-authored-by: Richard Whitehouse <git@richardwhiuk.com>
Co-authored-by: William Cheng <wing328hk@gmail.com>
2024-09-25 16:57:25 +08:00
Lili Shi
0e763b096e
[swift5] Fix Xcode 16 compilation crash with Extensions.swift generation ( #19564 )
...
* Update Extensions template for Swift5 generation
* update samples
2024-09-11 08:59:23 +01:00
William Cheng
91da2fd240
Prepare 7.9.0 snapshot ( #19386 )
...
* Revert "v7.8.0 release (#19385 )"
This reverts commit 6bdc452f92d49dcac7ac21dfe8751c8cc4267b98.
* update samples for v7.9.0-snapshot
2024-08-19 16:14:51 +08:00
Makoto Aoyama
fb023b192b
[swift5]Add array validation rule ( #19242 )
...
* Add ArrayRule
* Run ./bin/utils/export_docs_generators.sh
* Add ArrayValidationErrorKind
* Add validation method
* Run ./bin/generate-samples.sh
* Add array rule property
* Rename minItem and maxItem => minItems and maxItems
* Fix uniqueItems template
* Tweaks
* Add sample property
* Run ./bin/generate-samples.sh
2024-07-26 07:53:59 +01:00
Julian Kalinowski
304ff96577
[Swift] fix( #18074 ): correctly map OpenAPIDateWithoutTime to string in path ( #18077 )
2024-07-15 14:10:00 +01:00
William Cheng
20cfce0b4a
Prepare v7.8.0 ( #19048 )
...
* Revert "v7.7.0 release"
This reverts commit f3dd32385e02065ad298801ca11b8871bcb3a92a.
* prepare v7.8.0
* update readme
* update doc
* update samples
2024-07-02 16:45:53 +08:00
William Cheng
741bf0c035
Prepare 7.7.0-SNAPSHOT ( #18709 )
...
* Revert "7.6.0 release"
This reverts commit d76f9d32d11a03be2b40ebff728ef0ff86332fcb.
* prepare 7.7.0 snapshot in master
* update samples
2024-05-20 17:27:17 +08:00
Bruno Coelho
0768ddcd7c
[swift] support content type application json variants ( #18539 )
...
* [swift] support content type application json variants
* [swift] support content type application json variants
2024-04-30 11:16:28 +01:00
Mike Welsh
a724c754bc
Add ResumableTask
to URLSessionImplementations.mustache
( #18438 )
...
* Add `ResumableTask` to `URLSessionImplementations.mustache`
- Makes it testable
- Implementations can return something _other_ than a URLSessionDataTask if they want to implement another request format (sockets maybe?)
- Default implementation for `URLSession` provided
* Regenerate examples
* Add more properties and rename to `CancelableResumableTask`
* Regen samples
* Rename missed reference
* Missed some generated classes somehow
* Rename from `CancellableResumableTask` to `URLSessionDataTaskProtocol`
Rename from `resumableTask` to `dataTaskFromProtocol`
---------
Co-authored-by: welshm-ideogram <welsh@Mikes-MacBook-Pro.local>
2024-04-22 13:51:12 +01:00
William Cheng
807250a430
Prepare 7.6.0 ( #18412 )
...
* Revert "v7.5.0 release"
This reverts commit 1eafe2aebf33b13bee0ead66d62a6436e7db059d.
* update master to v7.6.0 snapshot
* update readme
* update samples
2024-04-17 19:05:37 +08:00
Ege Sucu
1a06e3e0fb
[swift] Added solution for deprecated "UTTypeCopyPreferredTagWithClass" ( #18330 )
...
* Added solution for deprecated "UTTypeCopyPreferredTagWithClass"
UTTypeCopyPreferredTagWithClass is deprecated with iOS 15, so apps targeting iOS 15+ were getting this warning on any auto-generated code. This solution will solve that warning and works both iOS 15 and below.
* Project built
* macOS Related fixes applied
2024-04-09 18:20:48 +01:00
Michael Brügmann
90301f932d
SWIFT5: sort query items alphabetically to allow better server side caching of requests with same URL ( #18239 )
...
* sort query items alphabetically to allow better server side caching of requests
* updarted samples
2024-04-05 08:18:53 +01:00
William Cheng
4ff7e0ec3f
Prepare 7.5.0 snapshot ( #18068 )
...
* Revert "7.4.0 release"
This reverts commit eda049348425171df772a7b9087cc97db718cfda.
* prepare 7.5.0 snapshot version
* update samples
* update doc
2024-03-11 11:10:52 +08:00
Ross Bender
cf2435f335
Add support for controlling output of OpenAPI Generator version in generated files ( #17952 )
...
* add initial openapi config and java generated files
* add java implementation for adding generator version
* regenerate sample client files
* remove tabs
* only show generated version if build info exists
* set build info for batch generation
* update generator doc for new global flag
* use existing property for generator version
* update templates to include generator version
* update templates for better generator version syntax
* revert undesired changes
* regenerate samples for openapi client
* update templates to correct formatting/newlines
* correct description text and add to usage doc
* add generator cli option for all codegen types
* use more concise version info; update existing codegens to support new prop
* correct wrong prop reference
* add initial test coverage for new prop
* update last (scala) templates with new prop
* update samples after upstream merge
* use consistent version output
* use better sample project id/name
* revert using option for generator version in templates
2024-03-09 15:52:08 +08:00
Simon Podlipsky
1e9bccca16
feat: generate EOL in VERSION file ( #17829 )
...
The EOL is missing so let's add it in order to comply with POSIX standard:
Line
> A sequence of zero or more non- <newline> characters plus a terminating <newline> character.
2024-02-12 15:40:55 +08:00
William Cheng
783e68c7ac
7.4.0 snapshot ( #17818 )
...
* Revert "7.3.0-release (#17817 )"
This reverts commit d617b46c86b9075c5e0d63fe3798e2982f5259ac.
* update samples, docs, readme
2024-02-08 16:07:22 +08:00
William Cheng
5eab3cef19
Prepare 7.3.0-SNAPSHOT ( #17456 )
...
* Revert "v7.2.0 release (#17455 )"
This reverts commit fe638d009363c142c246ff089032f243e0b4ee01.
* set version to 7.3.0-SNAPSHOT
* update doc
2023-12-22 16:55:58 +08:00
Stormshield-robinc
0a7140224c
Fix swift5 binary upload ( #17422 )
2023-12-21 22:27:47 +00:00
William Cheng
53289263d9
Prepare v7.2.0 ( #17050 )
...
* update version to 7.2.0-SNAPSHOT
* update samples
* update doc
2023-11-13 18:53:20 +08:00
William Cheng
5e8e2d7f6d
Prepare v7.1.0 in master ( #16608 )
...
* prepare v7.1.0 in master
* update
2023-09-18 17:37:36 +08:00
Barczi
e75e5a2c57
[swift] remove unavailable property to fix Xcode 15 compiler error ( #16504 )
2023-09-14 11:36:01 +01:00
William Cheng
69c3f567ce
[Swift] various improvements ( #16481 )
2023-09-02 20:13:01 +01:00
William Cheng
80121aa88f
Prepare v7.0.1 ( #16409 )
...
* prepare 7.0.1 in master
* update doc
2023-08-25 16:11:29 +08:00
Vincent Giersch
604239abba
feat(swift5): allow to swift build in linux ( #15060 )
...
* feat(swift5): allow to swift build in linux
* chore(ci): add .github/workflows/samples-swift.yaml
* feat(swif5): bump Alamofire to 5.7.0
* chore(ci): run in macos all swift sample clients
2023-08-12 16:24:01 +08:00
William Cheng
590430c774
Issue#15129 Feature Request Description ( #16299 )
...
Co-authored-by: Aniruddh <aniruddhjoshi94@gmail.com>
2023-08-11 09:42:47 +08:00
William Cheng
6788f43af0
Better handling of Inline schema ( #15682 )
...
* skip allOf inline subschema created as $ref
* add option for fallback
* add back atleastonemodel
* add log
* update java, kotlin, js samples
* update tests
* fix native client test
* fix java client errors by regenerating test files
* clean up python
* clean up powershell
* clean up php
* clean up ruby
* update erlang, elixir
* update dart samples
* update ts samples
* update r, go samples
* update perl
* update swift
* add back files
* add back files
* remove outdated test files
* fix test
2023-06-11 15:35:58 +08:00
William Cheng
0c3460f95b
Merge remote-tracking branch 'origin/master' into 7.0.x
2023-05-10 15:00:56 +08:00
Tiffany Marrel
5f8c4ec640
[swift5] cleanup documentation ( #15351 )
...
* [swift5] fix documentation of API authorization in README files
fix hierarchy level + add internal links + align wording across generators
* [swift5] fix anchor links in documentation
---------
Co-authored-by: Tiffany Marrel <tiffany.marrel@flowable.com>
2023-04-30 09:11:45 +01:00
William Cheng
5d1e18306a
Prepare 6.6.0-SNAPSHOT ( #15100 )
...
* set 6.6.0 snapshot version
* update samples
* update readme
2023-04-01 18:48:01 +08:00
William Cheng
7417432a54
Prepare 6.5.0 release ( #15099 )
...
* 6.5.0 release
* update samples
2023-04-01 15:03:35 +08:00
Bruno Coelho
5dc0b70081
[swift5][client] remove deprecated APIs ( #14635 )
...
* [swift5][client] remove deprecated APIs
* [swift5][client] remove deprecated APIs
2023-03-05 11:35:51 +00:00
Bruno Coelho
4bb8372340
[swift5][client] improve headers order ( #14636 )
2023-03-05 11:33:05 +00:00
William Cheng
1beec7ef87
Merge remote-tracking branch 'origin' into 7.0.x
2023-03-03 21:52:50 +08:00
William Cheng
c50a775e0c
prepare 6.5.0 release ( #14749 )
2023-02-19 20:36:23 +08:00
William Cheng
93df0ff444
Prepare 6.4.0 release ( #14748 )
...
* prepare 6.4.0 release
* update samples
2023-02-19 18:53:20 +08:00
Beppe Catanese
68b944e6e6
Preserve order of securitySchemes ( #14536 )
...
* Remove alphabetical sort
* Update integration testing expectations
* Regenerate files
2023-02-10 22:20:19 +08:00
William Cheng
31a89e35cb
Prepare 6.4.0 ( #14582 )
...
* update to 6.4.0 snapshot
* update samples
* update doc
2023-02-01 22:44:40 +08:00
William Cheng
8f2676c5c2
Prepare v6.3.0 release ( #14580 )
...
* 6.3.0 release
* fix maven plugin test
* update samples
* update doc
* fix tests in windows
2023-02-01 20:52:29 +08:00
Bruno Coelho
b1f8f976c0
[swift5][client] - enable swift unit tests ( #14441 )
2023-01-12 15:10:15 +00:00
Bruno Coelho
e8811ecd28
[swift5][client] - simplify async await ( #14430 )
...
* [swift5][client] - simplify async await
* [swift5][client] - update sample projects
* [swift5][client] - add more tests
2023-01-12 10:55:41 +00:00