Skip to content

Commit 4f58312

Browse files
committed
Impl cron
1 parent 702f02d commit 4f58312

3 files changed

Lines changed: 95 additions & 94 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"changes":{"Cargo.toml":"Patch"},"note":"Impl cron","date":"2026-03-17T12:10:44.999667200Z"}

examples/axum-example/openapi.json

Lines changed: 47 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"/": {
1414
"get": {
1515
"operationId": "root_endpoint",
16-
"description": "Health check endpoint",
16+
"description": "/ Health check endpoint",
1717
"responses": {
1818
"200": {
1919
"description": "Successful response",
@@ -88,7 +88,7 @@
8888
"tags": [
8989
"config"
9090
],
91-
"description": "Get current config",
91+
"description": "/ Get current config",
9292
"responses": {
9393
"200": {
9494
"description": "Successful response",
@@ -107,7 +107,7 @@
107107
"tags": [
108108
"config"
109109
],
110-
"description": "Update config",
110+
"description": "/ Update config",
111111
"requestBody": {
112112
"required": true,
113113
"content": {
@@ -307,7 +307,7 @@
307307
"tags": [
308308
"error"
309309
],
310-
"description": "Logout endpoint that uses CookieJar to clear cookies",
310+
"description": "/ Logout endpoint that uses CookieJar to clear cookies",
311311
"responses": {
312312
"200": {
313313
"description": "Successful response",
@@ -495,7 +495,7 @@
495495
"tags": [
496496
"error"
497497
],
498-
"description": "Delete endpoint that returns just a StatusCode",
498+
"description": "/ Delete endpoint that returns just a StatusCode",
499499
"parameters": [
500500
{
501501
"name": "id",
@@ -530,7 +530,7 @@
530530
"tags": [
531531
"flatten"
532532
],
533-
"description": "List users with pagination (demonstrates flatten for request/response)\n\nThe request accepts flattened pagination parameters (page, per_page)\nand returns a response with flattened metadata (total, has_more).",
533+
"description": "/ List users with pagination (demonstrates flatten for request/response)\n/\n/ The request accepts flattened pagination parameters (page, per_page)\n/ and returns a response with flattened metadata (total, has_more).",
534534
"requestBody": {
535535
"required": true,
536536
"content": {
@@ -561,7 +561,7 @@
561561
"tags": [
562562
"flatten"
563563
],
564-
"description": "Advanced search endpoint with multiple flatten fields",
564+
"description": "/ Advanced search endpoint with multiple flatten fields",
565565
"requestBody": {
566566
"required": true,
567567
"content": {
@@ -629,7 +629,7 @@
629629
"tags": [
630630
"form"
631631
],
632-
"description": "Subscribe to newsletter via form submission",
632+
"description": "/ Subscribe to newsletter via form submission",
633633
"requestBody": {
634634
"required": true,
635635
"content": {
@@ -660,7 +660,7 @@
660660
"tags": [
661661
"form"
662662
],
663-
"description": "Submit a contact form",
663+
"description": "/ Submit a contact form",
664664
"requestBody": {
665665
"required": true,
666666
"content": {
@@ -691,7 +691,7 @@
691691
"tags": [
692692
"form"
693693
],
694-
"description": "Upload a file via raw multipart form data",
694+
"description": "/ Upload a file via raw multipart form data",
695695
"requestBody": {
696696
"required": true,
697697
"content": {
@@ -926,7 +926,7 @@
926926
"tags": [
927927
"hello"
928928
],
929-
"description": "Hello!!",
929+
"description": "/ Hello!!",
930930
"responses": {
931931
"200": {
932932
"description": "Successful response",
@@ -990,7 +990,7 @@
990990
"/memos": {
991991
"post": {
992992
"operationId": "create_memo",
993-
"description": "Create a new memo",
993+
"description": "/ Create a new memo",
994994
"requestBody": {
995995
"required": true,
996996
"content": {
@@ -1016,7 +1016,7 @@
10161016
},
10171017
"put": {
10181018
"operationId": "update_memo",
1019-
"description": "Update a memo",
1019+
"description": "/ Update a memo",
10201020
"requestBody": {
10211021
"required": true,
10221022
"content": {
@@ -1044,7 +1044,7 @@
10441044
"/memos/format": {
10451045
"get": {
10461046
"operationId": "get_memo_format",
1047-
"description": "Get memo response format",
1047+
"description": "/ Get memo response format",
10481048
"responses": {
10491049
"200": {
10501050
"description": "Successful response",
@@ -1062,7 +1062,7 @@
10621062
"/memos/{id}": {
10631063
"get": {
10641064
"operationId": "get_memo",
1065-
"description": "Get memo by id",
1065+
"description": "/ Get memo by id",
10661066
"parameters": [
10671067
{
10681068
"name": "id",
@@ -1449,7 +1449,7 @@
14491449
"/third": {
14501450
"get": {
14511451
"operationId": "third_root_endpoint",
1452-
"description": "Third app root endpoint",
1452+
"description": "/ Third app root endpoint",
14531453
"responses": {
14541454
"200": {
14551455
"description": "Successful response",
@@ -1470,7 +1470,7 @@
14701470
"tags": [
14711471
"third"
14721472
],
1473-
"description": "Third app hello endpoint",
1473+
"description": "/ Third app hello endpoint",
14741474
"responses": {
14751475
"200": {
14761476
"description": "Successful response",
@@ -1540,7 +1540,7 @@
15401540
"tags": [
15411541
"typed-form"
15421542
],
1543-
"description": "List all file uploads",
1543+
"description": "/ List all file uploads",
15441544
"responses": {
15451545
"200": {
15461546
"description": "Successful response",
@@ -1562,7 +1562,7 @@
15621562
"tags": [
15631563
"typed-form"
15641564
],
1565-
"description": "Create a new file upload with multipart form data",
1565+
"description": "/ Create a new file upload with multipart form data",
15661566
"requestBody": {
15671567
"required": true,
15681568
"content": {
@@ -1603,7 +1603,7 @@
16031603
"tags": [
16041604
"typed-form"
16051605
],
1606-
"description": "Update a file upload with multipart form data",
1606+
"description": "/ Update a file upload with multipart form data",
16071607
"parameters": [
16081608
{
16091609
"name": "id",
@@ -1653,7 +1653,7 @@
16531653
"tags": [
16541654
"typed-form"
16551655
],
1656-
"description": "Patch a file upload (partial update via schema_type! multipart)",
1656+
"description": "/ Patch a file upload (partial update via schema_type! multipart)",
16571657
"parameters": [
16581658
{
16591659
"name": "id",
@@ -1762,7 +1762,7 @@
17621762
"/users": {
17631763
"get": {
17641764
"operationId": "get_users",
1765-
"description": "Get all users (returns public response without internal_score)",
1765+
"description": "/ Get all users (returns public response without internal_score)",
17661766
"responses": {
17671767
"200": {
17681768
"description": "Successful response",
@@ -1781,7 +1781,7 @@
17811781
},
17821782
"post": {
17831783
"operationId": "create_user",
1784-
"description": "Create a new user\nRequest body uses CreateUserRequest (generated from User with only name, email)",
1784+
"description": "/ Create a new user\n/ Request body uses CreateUserRequest (generated from User with only name, email)",
17851785
"requestBody": {
17861786
"required": true,
17871787
"content": {
@@ -1809,7 +1809,7 @@
18091809
"/users/dto/{id}": {
18101810
"get": {
18111811
"operationId": "get_user_dto",
1812-
"description": "Get user DTO (demonstrates field rename feature)\nThe Rust struct uses user_id/display_name, but JSON uses id/name",
1812+
"description": "/ Get user DTO (demonstrates field rename feature)\n/ The Rust struct uses user_id/display_name, but JSON uses id/name",
18131813
"parameters": [
18141814
{
18151815
"name": "id",
@@ -1855,7 +1855,7 @@
18551855
"/users/summary": {
18561856
"get": {
18571857
"operationId": "get_users_summary",
1858-
"description": "Get user summaries (minimal fields for list views)",
1858+
"description": "/ Get user summaries (minimal fields for list views)",
18591859
"responses": {
18601860
"200": {
18611861
"description": "Successful response",
@@ -1876,7 +1876,7 @@
18761876
"/users/with-meta": {
18771877
"post": {
18781878
"operationId": "create_user_with_meta",
1879-
"description": "Create a new user with metadata (demonstrates `add` feature)\nRequest body uses CreateUserWithMeta (picks name/email, adds request_id/created_at)",
1879+
"description": "/ Create a new user with metadata (demonstrates `add` feature)\n/ Request body uses CreateUserWithMeta (picks name/email, adds request_id/created_at)",
18801880
"requestBody": {
18811881
"required": true,
18821882
"content": {
@@ -1904,7 +1904,7 @@
19041904
"/users/{id}": {
19051905
"get": {
19061906
"operationId": "get_user",
1907-
"description": "Get user by ID (full internal view)",
1907+
"description": "/ Get user by ID (full internal view)",
19081908
"parameters": [
19091909
{
19101910
"name": "id",
@@ -1936,7 +1936,7 @@
19361936
"tags": [
19371937
"uuid_items"
19381938
],
1939-
"description": "List all UUID items",
1939+
"description": "/ List all UUID items",
19401940
"responses": {
19411941
"200": {
19421942
"description": "Successful response",
@@ -1958,7 +1958,7 @@
19581958
"tags": [
19591959
"uuid_items"
19601960
],
1961-
"description": "Create a new UUID item",
1961+
"description": "/ Create a new UUID item",
19621962
"requestBody": {
19631963
"required": true,
19641964
"content": {
@@ -2511,17 +2511,17 @@
25112511
},
25122512
"CreateUuidItemRequest": {
25132513
"type": "object",
2514-
"description": "UUID item model for testing UUID format in OpenAPI",
2514+
"description": "/ UUID item model for testing UUID format in OpenAPI",
25152515
"properties": {
25162516
"externalRef": {
25172517
"type": "string",
25182518
"format": "uuid",
2519-
"description": "External reference UUID",
2519+
"description": "/ External reference UUID",
25202520
"nullable": true
25212521
},
25222522
"name": {
25232523
"type": "string",
2524-
"description": "Item name"
2524+
"description": "/ Item name"
25252525
},
25262526
"tags": {
25272527
"type": "array",
@@ -3949,32 +3949,32 @@
39493949
},
39503950
"UserSchema": {
39513951
"type": "object",
3952-
"description": "User model",
3952+
"description": "/ User model",
39533953
"properties": {
39543954
"createdAt": {
39553955
"type": "string",
39563956
"format": "date-time",
3957-
"description": "Created at",
3957+
"description": "/ Created at",
39583958
"default": "1970-01-01T00:00:00+00:00"
39593959
},
39603960
"email": {
39613961
"type": "string",
3962-
"description": "User email"
3962+
"description": "/ User email"
39633963
},
39643964
"id": {
39653965
"type": "integer",
39663966
"format": "int32",
3967-
"description": "User ID",
3967+
"description": "/ User ID",
39683968
"default": 0
39693969
},
39703970
"name": {
39713971
"type": "string",
3972-
"description": "User name"
3972+
"description": "/ User name"
39733973
},
39743974
"updatedAt": {
39753975
"type": "string",
39763976
"format": "date-time",
3977-
"description": "Updated at",
3977+
"description": "/ Updated at",
39783978
"default": "1970-01-01T00:00:00+00:00"
39793979
}
39803980
},
@@ -4005,23 +4005,23 @@
40054005
},
40064006
"UuidItem": {
40074007
"type": "object",
4008-
"description": "UUID item model for testing UUID format in OpenAPI",
4008+
"description": "/ UUID item model for testing UUID format in OpenAPI",
40094009
"properties": {
40104010
"externalRef": {
40114011
"type": "string",
40124012
"format": "uuid",
4013-
"description": "External reference UUID",
4013+
"description": "/ External reference UUID",
40144014
"nullable": true
40154015
},
40164016
"id": {
40174017
"type": "string",
40184018
"format": "uuid",
4019-
"description": "Item ID",
4019+
"description": "/ Item ID",
40204020
"default": "00000000-0000-0000-0000-000000000000"
40214021
},
40224022
"name": {
40234023
"type": "string",
4024-
"description": "Item name"
4024+
"description": "/ Item name"
40254025
},
40264026
"tags": {
40274027
"type": "array",
@@ -4039,29 +4039,29 @@
40394039
},
40404040
"UuidItemSchema": {
40414041
"type": "object",
4042-
"description": "UUID item model for testing UUID format in OpenAPI",
4042+
"description": "/ UUID item model for testing UUID format in OpenAPI",
40434043
"properties": {
40444044
"createdAt": {
40454045
"type": "string",
40464046
"format": "date-time",
4047-
"description": "Created at",
4047+
"description": "/ Created at",
40484048
"default": "1970-01-01T00:00:00+00:00"
40494049
},
40504050
"externalRef": {
40514051
"type": "string",
40524052
"format": "uuid",
4053-
"description": "External reference UUID",
4053+
"description": "/ External reference UUID",
40544054
"nullable": true
40554055
},
40564056
"id": {
40574057
"type": "string",
40584058
"format": "uuid",
4059-
"description": "Item ID",
4059+
"description": "/ Item ID",
40604060
"default": "00000000-0000-0000-0000-000000000000"
40614061
},
40624062
"name": {
40634063
"type": "string",
4064-
"description": "Item name"
4064+
"description": "/ Item name"
40654065
}
40664066
},
40674067
"required": [

0 commit comments

Comments
 (0)