55 Commits

Author SHA1 Message Date
0xb002f0
f361a7177f add support for camino::Utf8PathBuf and camino::Utf8Path (#1103) 2025-11-08 17:15:29 +08:00
0xb002f0
c09b469b1f feat(openapi): add Type, To*, and ParseFrom* implementations for ulid::Ulid type (#1099) 2025-10-11 19:40:21 +08:00
Heewon Cho
bce6584182 feat(openapi): add scalar ui support (#1019)
* Add scalar ui support

* Update Cargo.toml
2025-04-14 17:24:42 +08:00
Sunli
d21489fc88 poem 3.1.8
poem-openapi 5.1.9
2025-03-25 21:20:29 +08:00
Yiyu Lin
661ac87db8 chore(mcpserver): add deps example in readme (#1008)
Co-authored-by: hzlinyiyu <hzlinyiyu@corp.netease.com>
2025-03-19 15:17:29 +08:00
Sunli
c1dffbc398 poem 3.1.7
Some checks are pending
CI / check (map[name:poem path:poem]) (push) Waiting to run
CI / check (map[name:poem-derive path:poem-derive]) (push) Waiting to run
CI / check (map[name:poem-grpc path:poem-grpc]) (push) Waiting to run
CI / check (map[name:poem-lambda path:poem-lambda]) (push) Waiting to run
CI / check (map[name:poem-openapi path:poem-openapi]) (push) Waiting to run
CI / check (map[name:poem-openapi-derive path:poem-openapi-derive]) (push) Waiting to run
CI / check-examples (push) Waiting to run
Code Coverage / cover (push) Waiting to run
poem-openapi 5.1.6
2025-02-21 22:21:08 +08:00
bxneter
fd75eb3ca2 Add support for Stoplight Elements (#954)
* Add support for Stoplight Elements

* Improve the display of union types in the Stoplight element UI
2025-02-12 15:27:30 +08:00
Sunli
f35094f01d poem v3.1.4 2024-11-20 14:20:30 +08:00
Alex Pozhylenkov
6d08604801 feat: Replace serde_json with sonic_rs for poem crate (#819)
* replace serde_json with sonic_rs for poem crate

* add sonic-rs feature flag

* add feature flag sonic-rs for `poem-openapi` crate

* fix

* update README.md

* update docs
2024-09-07 21:16:17 +08:00
Sunli
b2a307e65e update MSRV to 1.76.0 2024-09-03 13:35:01 +08:00
Advancering Newholder
83413facbe Update README.md (#828)
Removing double entry of `humantime` features
2024-06-03 11:10:12 +08:00
Sunli
7cfa566b17 poem 3.0.1 2024-05-18 09:59:57 +08:00
Sunli
ddfa81ea83 update MSRV to 1.75.0 2024-03-23 20:24:42 +08:00
Yiyu Lin
b1bf634047 chore(poem,lambda): bump deps and doc fix (#767) 2024-03-10 10:23:54 +08:00
Alex Pozhylenkov
660c85cee9 Bumping the minimal version of Rust (#735)
* bump rust version

* update Readmes
2024-01-25 20:14:04 +08:00
Sunli
18c267d040 poem 2.0.0 2024-01-06 08:55:55 +08:00
Sunli
e8cdf5ced2 update MSRV to 1.74.0 2024-01-05 22:23:45 +08:00
Sunli
4dc9a6ad99 update changelog
rustfmt
2023-11-18 10:38:58 +08:00
Gabriel Hansson
c555d37cf6 Initial GeoJSON support (#693)
* Initial GeoJSON support

Implements `Type` on GeoJSON geometries by integrating with `geo-types`
and `geojson`. The only missing geometry is [`GeometryCollection`]
(https://datatracker.ietf.org/doc/html/rfc7946#appendix-A.7).

* Add geo `ToJSON` and `ParseFromJSON` tests.

---------

Co-authored-by: gibbz00 <gabrielhansson@gmail.com>
2023-11-18 10:13:50 +08:00
Emilia Jaser
2413236898 In the examples, listen on 0.0.0.0 instead of 127.0.0.1 #664 (#672)
* In the examples, listen on 0.0.0.0 instead of 127.0.0.1 #664

* Fix accidentally replaced ip's
2023-11-18 09:59:33 +08:00
Sunli
51d6d8d934 Revert "fix: Json(Object) is not correct when f32 type in Object, when project use serde_json's "arbitrary_precision" feature. (#644)"
This reverts commit 31e0de5692.
2023-09-08 12:11:02 +08:00
aweika
31e0de5692 fix: Json(Object) is not correct when f32 type in Object, when project use serde_json's "arbitrary_precision" feature. (#644) 2023-09-07 13:20:08 +08:00
Sunli
10dd28fad7 update MSRV to 1.67.0 2023-08-02 20:55:16 +08:00
Fernando Borretti
869e950afe Fix example curl commands in the README.md (#611) 2023-07-28 19:50:43 +08:00
Yiyu Lin
a499f5b200 chore: use workspace Inheritance (#491)
* chore: use workspace Inheritance

* add back readme

* bump to 1.64
2023-02-01 21:55:39 +08:00
Ayrton Sparling
ec3deb8783 OpenAPI Explorer (#440)
* Add openapi explorer api viewer

* Specify font family for openapi explorer

* Fix mislabeled comment
2022-12-06 10:31:52 +08:00
Sunli
3725a109ac Make WebSocketUpgraded<T> and BoxWebSocketUpgraded public #415
Implement `ApiResponse` for `WebSocketUpgraded<T>` #415
2022-10-24 21:05:41 +08:00
Sunli
f789f12c9d Update MSRV to 1.62.0 2022-10-19 13:30:34 +08:00
Sunli
5f2f6150ce Increase the MSRV to 1.61 2022-07-10 08:28:28 +08:00
Sunli
fa610e7e64 Add integrate with the time crate. 2022-07-10 07:53:12 +08:00
Sunli
1a55497448 Release 1.3.32
poem@1.3.32
poem-dbsession@0.3.32
poem-derive@1.3.32
poem-lambda@1.3.32
poem-openapi@2.0.2
poem-openapi-derive@2.0.2

Generated by cargo-workspaces
2022-06-27 16:02:50 +08:00
Sunli
6bce02a5bd Update MSRV 2022-06-25 16:34:44 +08:00
Sunli
7d21cd7f17 Update changelog 2022-06-17 14:37:46 +08:00
Sai Chaitanya
c7b7f91193 Update README.md (#272) 2022-05-13 23:33:15 +08:00
Sunli
87d434e427 Update readme 2022-03-01 19:05:19 +08:00
Sunli
e9632eaf69 Merge branch 'master' into master 2022-01-31 08:36:40 +08:00
Sunli
c8c1b43725 [poem-openapi] Add StaticFileResponse 2022-01-29 09:44:46 +08:00
Joel Ellis
f5c271589a Add bson feature to docs 2022-01-26 18:43:17 +00:00
Sunli
780b7d20bb Add Discord invite link to readme 2022-01-20 12:34:56 +08:00
Sunli
ce89dfb8ca Update CHANGELOG 2022-01-17 09:15:16 +08:00
Sunli
969e55e3ad Update README 2021-12-27 10:29:17 +08:00
Sunli
95bd96e64f Update docs 2021-12-12 19:03:16 +08:00
Sunli
76362a1a45 Add support for [Redoc](https://github.com/Redocly/redoc). 2021-12-10 17:09:30 +08:00
Sunli
3de4a02a8e Add Email/Hostname types.
Integrate with the `regex`, `uuid`.
Implement `Type` for `Uri`.
Implement `Type` for `DateTime<Utc>` and `DateTime<Local>`.
2021-12-10 16:28:57 +08:00
Sunli
09d245266c [poem-openapi] Remove the PoemExtractor type because it is no longer needed. 2021-12-10 13:24:35 +08:00
Sunli
1f961a118e Add support for RapiDoc 2021-12-06 18:53:15 +08:00
Sunli
264e6a0274 Server::new is no longer an asynchronous method and has no return value.
Remove `Server::local_addr` method.

Add the `Server::name` method to specify the name of the server, it is only used for logs. #96
2021-11-23 13:13:39 +08:00
Sunli
de098d993d [poem-openapi] Rework OpenAPI macro 2021-11-22 16:41:19 +08:00
Sunli
5105fb59a6 Update MSRV 2021-11-03 18:44:25 +08:00
Sunli
e5e1fb53c5 OpenApiService::swagger_ui method no longer needs the absolute_uri parameter. 2021-10-14 07:57:48 +08:00