William Cheng
378465702c
Prepare v5.3.1 in the master ( #10681 )
...
* prepare v5.3.1
* update doc
* update readme
2021-10-25 01:16:07 +08:00
Nathan Baulch
5d68bd6a03
Fix thousands of spelling typos ( #10272 )
2021-08-28 22:58:24 +08:00
William Cheng
39fbf53150
create v5.3.0
2021-07-10 00:12:23 +08:00
William Cheng
02835b35bc
Prepare v5.2.1 ( #9922 )
...
* bump verions to 5.2.1-SNAPSHOT
* update samples
* update readme
* fix gradle properties
2021-07-09 22:42:31 +08:00
William Cheng
90f7bcd909
Prepare v5.2.0 release ( #9920 )
...
* 5.2.0 release
* update samples
* update meta codegen
2021-07-09 17:06:55 +08:00
William Cheng
47483e60cb
update version to 5.2.0-SNAPSHOT, update samples
2021-03-21 00:10:10 +08:00
William Cheng
0dc62e8b79
Prepare v5.1.1 in the master ( #9027 )
...
* Prepare v5.1.1 in the master
* move dart dio next to configs/other
2021-03-20 23:05:11 +08:00
William Cheng
e023eaa821
Prepare v5.1.0 release ( #9017 )
...
* prepare v5.1.0 release
* update samples (dart-dio-next)
2021-03-20 16:45:05 +08:00
William Cheng
5b99d8724c
Merge remote-tracking branch 'origin/master' into 5.1.x
2021-02-02 21:04:15 +08:00
Richard Whitehouse
4ea4ceb0ff
[Rust Server] Serializable responses ( #8516 )
...
* [Rust Server] Make responses serializable
* Update samples
2021-01-30 11:49:42 +00:00
William Cheng
d97717ee24
Merge remote-tracking branch 'origin/master' into 5.1.x
2021-01-28 15:52:44 +08:00
Richard Whitehouse
5f2ca61862
[Core, Rust Server] anyOf / oneOf support for Rust Server ( #6690 )
...
* [Core] Inline Model Resolution of Enums
Enums need to be named types, so handle them as part of inline model resolution
* [Rust Server] Handle models starting with a number correctly
* [Rust Server] Additional trace
* [Rust Server] Add support for oneOf/anyOf
* [Rust Server] Update supported features
* [Rust Server] General template tidy up
* [Rust Server] Implement IntoHeaderValue for wrapped data types
* [Rust Server] Convert from string correctly
* [Rust Server] Test for anyOf/oneOf
* Update samples
* Update docs
2021-01-23 21:32:51 +00:00
Richard Whitehouse
a61b7bbc65
[Rust Server] Reinstate tests ( #8477 )
...
* Revert "comment out rust server tests (#8440 )"
This reverts commit 32b01cb39b .
* Update to swagger-rs 5.0.2
* Update samples for swagger-rs 5.0.2
* Update swagger multipart usage
- swagger/multipart renamed multipart_form
- Update boundary call
* Update samples
2021-01-20 23:16:54 +00:00
William Cheng
25b0cbe2f1
Prepare 5.0.1 snapshot ( #8249 )
...
* update version to 5.0.1-SNAPSHOT
* update samples
* update meta codegen
2020-12-21 17:14:18 +08:00
William Cheng
345b68a107
prepare 5.1.0 snapshot release
2020-12-21 16:35:12 +08:00
William Cheng
d7d5e53f2b
Prepare v5.0.0 release ( #8247 )
...
* update to 5.0.0
* update samples
2020-12-21 13:04:11 +08:00
Cody Mikol
f9d6c6fb21
CHORE[DEPENDENCIES]: bump swagger-parser => 2.0.22 ( #7597 )
...
this fixes a bug where the parser would return
null when missing parameters rather than reporting
some useful error.
Fixes N/A
2020-12-08 15:18:07 +08:00
William Cheng
2578ef5e63
Prepare snapshot (v5.0.0) ( #7986 )
...
* Revert "prepare 5.0.0-beta3 release"
This reverts commit 3ebe774df37b43348bac1310a272de53a2d7040b.
* revert to snapshot
* update samples
2020-11-20 19:19:59 +08:00
William Cheng
2715f1371a
Prepare 5.0.0 beta3 ( #7984 )
...
* prepare 5.0.0-beta3 release
* update samples
* remove beta3 from readme
2020-11-20 15:18:58 +08:00
Justin Black
08fb59009a
Removes secondaryParam and hasMore ( #7882 )
...
* Removes secondaryParam and hasMore
* Fixes tests
* Only uses bodyParam in groovy template
2020-11-07 11:04:12 +08:00
Matthew Dowdell
8c11c8f582
[Rust Server] Fix server example on non-Linux ( #7399 )
...
* [Rust Server] Fix server example on non-Linux
The server example is broken because it tries to import `use openssl::ssl::SslAcceptorBuilder;` unconditionally when it won't be present on MacOS, Windows or iOS and then conditionally provides `create` causing compile errors on the aforementioned platforms.
To fix, we simply move the condition from the function to the import and all is happy again :)
* Update Samples
Co-authored-by: William Cheng <wing328hk@gmail.com >
2020-10-05 21:54:50 +01:00
William Cheng
2fd23f505e
Prepare 5.0.0-SNAPSHOT ( #7347 )
...
* Revert "Prepare 5.0.0-beta2 release (#7345 )"
This reverts commit 212b4f7847 .
* update readme
2020-09-04 15:31:54 +08:00
William Cheng
212b4f7847
Prepare 5.0.0-beta2 release ( #7345 )
...
* update version
* update doc
* update samples
2020-09-04 13:03:45 +08:00
Yuriy Belenko
6a08ec59c0
[core] Add type and format properties to model of inline response ( #6153 )
2020-08-03 18:37:37 -04:00
wing328
748190a049
update samples
2020-06-16 11:24:56 +08:00
Richard Whitehouse
c65363eb71
[Rust Server] Pass context to client middleware ( #6574 )
...
* [Rust Server] Pass context to client middleware
When creating a client with middleware, pass the context.
This allows users to pass contextual data about the requests through to the
client middleware.
* Update samples
2020-06-15 23:03:25 +01:00
Richard Whitehouse
82410ae90b
[Rust Server] Hyper 0.13 + Async/Await support ( #6244 )
...
* [Rust Server] Hyper 0.13 + Async/Await support
Upgrade dependencies to Hyper 0.13 and use async/await.
* [Rust Server] Add missing hyper-tls dependency
* [Rust Server] Add missing models import
* Update samples
2020-05-29 15:18:30 +01:00
Jim Schubert
70ca93570e
[core][general] Add metadata file tracking to aid in "Golden Tests" regeneration ( #6325 )
2020-05-22 16:48:32 -04:00
Richard Whitehouse
046b4acdff
[Rust Server] Support boolean headers, and fix panic handling headers ( #6056 )
...
* [Rust Server] Support headers containing booleans
* [Rust Server] Fix panic handling headers
* [Rust Server] Fix issue with Results
* Update samples
2020-05-06 19:27:52 +01:00
Richard Whitehouse
f36a319316
[Rust Server] Rust 2018 Edition ( #5942 )
...
* [Rust Server] Rust 2018 Edition
* [Rust Server] Fix unused warning
* Update samples
2020-04-26 12:00:46 +01:00
Andy.Yang.cn
d911fd73bd
[Rust Server] Bugfix #5948 (Generated client code "Disabled because there's no example") ( #5949 )
...
* [Rust Server] Fix RustServerCodegen type: object example "Disabled because there's no example" issue.
* [Rust Server] Add test case yaml with "Disabled because there's no example" issue.
* [Rust Server] Fix example-client-main param.example character escaping issue with raw string.
* [Rust Server] Add test case yaml new generated code after fix.
2020-04-24 11:04:36 +08:00
Andy.Yang.cn
c3837ca331
[Rust Server] Fix #5906 (yaml with path parameter error) ( #5871 )
...
* [Rust Server] Fix Rust 1.39+ "Box<Future" and "as &Has" compile issue
* [Rust Server] Fix Rust server side pathRegEx and baseName not match issue
* [Rust Server] Add test case yaml with path parameter.
2020-04-15 17:19:00 +01:00
Richard Whitehouse
95105cef2e
[Rust Server] Support complex query parameters ( #5831 )
...
* [Rust Server] Support complex query parameters
* [Rust Server] Remove unused extern crate
* [Rust Server] tokio should be a dev-dependency
* [Rust Server] Add test for complex query params
* Update samples
Co-authored-by: Matt Williams
2020-04-12 19:57:50 +01:00
Richard Whitehouse
cdb500c156
[Rust Server] Fix no features build ( #5747 )
...
* Remove test file erroneously checked in
* [Rust Server] Fix no features build
- Need serde_json for no-features build for undefined value structures
- Don't include `IntoHeader` type and implementations if we aren't including the client/server features
- Don't export the `IntoHeader` type at all - it's internal
* Update samples
2020-04-05 19:08:39 +01:00
Richard Whitehouse
d0d0252fff
[Rust Server] Don't use structs in models ( #5557 )
...
* [Rust Server] Don't use structs in models
This avoids namespace clashes between model names and types used.
* [Rust Server] Handle models named after results
* [Rust Server] Add test for result models
* Update samples
2020-03-29 20:04:56 +01:00
Richard Whitehouse
05ace4f43f
[Rust Server] Preserve path provided in base path ( #5555 )
...
* Preserve path provided in base path
* Update samples
2020-03-24 09:25:48 +00:00
Richard Whitehouse
806562bb05
[Rust Server] Retire mimetypes modules ( #5560 )
...
* Retire mimetypes module to prevent collision in mimetype identifiers
* Update samples
2020-03-23 13:04:29 +00:00
Richard Whitehouse
be983b5212
[Rust Server] Build APIs which have no available examples ( #5561 )
...
* [Rust Server] Build APIs which have no examples
* [Rust Server] Add test for APIs with no examples
* Update samples
2020-03-22 19:54:48 +00:00
Richard Whitehouse
058d1d2aa0
[Rust Server] Return 405 Method Not Allowed ( #5563 )
...
* Return 405 Method Not Allowed if the path matches, but the method doesn't.
* Update samples
2020-03-22 11:57:36 +00:00
Richard Whitehouse
4aefc9ba33
[Rust Sever] Upgrade to openssl 0.10 ( #5564 )
...
* [Rust Server] Upgrade to openssl 0.10
Use hyper-openssl/openssl instead of hyper-tls/native-tls/openssl on Linux
* Update samples
2020-03-19 21:05:16 +00:00
Richard Whitehouse
16646b39c1
[Rust Server] Make parse error Display-able ( #5490 )
...
* [Rust Server] Make parse error displayable
Change error type to be displayable to prevent compile errors
* [Rust Server] Add test for enum in path
* Update samples
2020-03-08 11:12:17 +00:00
Richard Whitehouse
e4be8a107f
[Rust Server] Test allOf objects including base properties ( #5457 )
...
* [Rust Server] Add operationIds for rust-server-test
* [Rust Server] Add test for allOf
* Update samples
2020-03-07 20:53:13 +00:00
Richard Whitehouse
b60fc900b2
[Rust Server] Support OpenAPI v3 callbacks ( #5405 )
...
* [Rust Server] Support Callbacks
* [Rust Server] Support callbacks in the examples
* [Rust Server] Update features documentation
* [Rust Server] Mark as supporting callbacks
* Update samples
* [Rust Server] Add tests for callbacks
* [Rust Server] Fix README
Don't suggest examples which don't exist
2020-03-07 19:24:42 +00:00
Richard Whitehouse
f5c5b91f83
[Rust Server] Nullable fixes ( #5408 )
...
* [Rust Server] Nullable fixes
* [Rust Server] Add tests for nullable cases
* Update samples
2020-02-29 13:37:12 +00:00
Richard Whitehouse
1b3094be87
[Rust Server] Add support for untyped properties and models ( #5339 )
...
* [Rust Server] Add support for untyped properties
* [Rust Server] Improve support for untyped data
* Update samples
2020-02-22 20:29:51 +00:00
Richard Whitehouse
71aef72bbd
[Rust Server] Support objects as query parameters ( #5338 )
...
- Support objects as query parameters
- Update samples
2020-02-22 18:25:57 +00:00
Richard Whitehouse
71f532072b
[Rust Server] Support header objects ( #5337 )
...
[Rust Server] Support header objects
Support operations with objects in the header
2020-02-22 15:55:26 +00:00
Richard Whitehouse
84b6804d8f
[Core, Rust Server] Support multipart/related requests ( #5015 )
...
* [Core, Rust] Support multipart/related requests
* Treat multipart/related as a type of form data
2020-01-26 20:39:43 -05:00
William Cheng
82e2448bf2
Merge remote-tracking branch 'origin/4.3.x' into 5.0.x
2020-01-20 15:46:13 +08:00
William Cheng
04af5e0445
Merge remote-tracking branch 'origin/master' into 4.3.x
2020-01-20 15:04:34 +08:00