8 Commits

Author SHA1 Message Date
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
Nathan Baulch
9f1fa0e440
Fix another batch of spelling typos (#13915)
* Fix typos

* Remove repeated words

* Minor grammar fixes
2022-11-07 21:30:24 +08:00
Jonas Reichert
6f3c0a8b5b
[swift5] fix generation of multiple security definitions (#13617)
* uses correct variable to check for security definitions

* update samples
2022-10-07 16:01:35 +01:00
Jarrod Parkes
9c3cba9b86
[swift5] Add property x-null-encodable extension for full control over encoding value/nil or nothing (#11141)
* feat(ISSUE-11033): add null encodable type and mustache changes

* feat(ISSUE-11033): regen all swift5 samples

* feat(ISSUE-11033): add swift5 examples of null encodable

* feat(ISSUE-11033): fix hashable and compliation issues

* fix(ISSUE-11033): fix tests by using new enum encodeValue

* fix(ISSUE-11033): fix tests by using new enum encodeValue

* fix(ISSUE-11033): revert status back in pet api test

* fix(ISSUE-11033): fix issue with objc compat generator

* feat(ISSUE-11033): restore default values to null encodables

* chore(ISSUE-11033): rename default value for null encodable

* chore(ISSUE-11033): add test cases with different nullable defaults
2022-01-02 14:51:15 +08:00
Fumito Nakazawa
a24d314006
[swift5] Use enum as parameter instead of raw type (#10967)
* Fix enum type

* Remove operation_id

* Fix samples
2021-12-01 00:34:15 +08:00
William Cheng
0204bf4ae2 Squashed commit of the following:
commit c5a0d0f7394aa742fa336fff7e7c1d3049761868
Merge: 8c4991ba3ed f8ff8c87609
Author: William Cheng <wing328hk@gmail.com>
Date:   Tue Aug 17 18:28:12 2021 +0800

    Merge branch 'mustache-linting' of https://github.com/NathanBaulch/openapi-generator into NathanBaulch-mustache-linting

commit f8ff8c87609b1ca36fa26fb8474806999638195e
Author: Nathan Baulch <nathan.baulch@gmail.com>
Date:   Thu Aug 5 14:12:47 2021 +1000

    Reorder tags that handle missing values

commit f5d8a33709d6a3f846a9fe4520b78c3d637051d9
Author: Nathan Baulch <nathan.baulch@gmail.com>
Date:   Thu Aug 5 14:08:59 2021 +1000

    Use dot notation where possible

commit 493d14921e2333f3ae19ef6fc89318b7e263a80c
Author: Nathan Baulch <nathan.baulch@gmail.com>
Date:   Thu Aug 5 14:10:49 2021 +1000

    Remove empty tags

commit 32480dc53f48227d55531b94e307d72671373737
Author: Nathan Baulch <nathan.baulch@gmail.com>
Date:   Thu Aug 5 10:41:58 2021 +1000

    Remove redundant sections

commit a8edabd722c34aa094b4aeb11c22664529c3a219
Author: Nathan Baulch <nathan.baulch@gmail.com>
Date:   Wed Aug 4 22:02:22 2021 +1000

    Trim extra EOF new lines

commit e89bd7458e3594bf0d30e580bc9408e45b018a57
Author: Nathan Baulch <nathan.baulch@gmail.com>
Date:   Wed Aug 4 21:59:26 2021 +1000

    Trim trailing whitespace
2021-08-17 18:37:51 +08:00
Bruno Coelho
dee2840b20
[swift5][client] improve docs for Data (#9605) 2021-05-30 17:40:09 +08:00
Makoto Aoyama
0a34839567
Add hashableModels to additional properties (#9495)
* Add hashableStruct

* Revert "Remove x-swift-hashable"

This reverts commit 18053af0016fdba13fd1e5df00ad86abee071283.

* Add Hashable for x-swift-hashable

* Add config yaml to test x-swift-hashable

* Run ./bin/generate-samples.sh ./bin/configs/swift5*

* Run ./bin/utils/export_docs_generators.sh

* Run ./bin/generate-samples.sh ./bin/configs/swift5*

* Verify setHashableStruct

* Rename hashableStruct => hashableModels

- Replace hashableStruct => hashableModels
- Replace HashableStruct => HashableModels
- Replace HASHABLE_STRUCT => HASHABLE_MODELS
- Update docs

* Refactor modelObject.mustache

* Control equals and hash functions
2021-05-20 23:04:19 +08:00