File tree 3 files changed +14
-1
lines changed
test/suite/functional/Generator/Client
3 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
4
4
The format is based on [ Keep a Changelog] ( http://keepachangelog.com/en/1.0.0/ )
5
5
and this project adheres to [ Semantic Versioning] ( http://semver.org/spec/v2.0.0.html ) .
6
6
7
+ ## [ 10.6.1] - 2024.02.10
8
+ ### Fixed
9
+ - operationId containing dashes is converted to camel case
10
+
7
11
## [ 10.6.0] - 2024.01.10
8
12
### Added
9
13
- Api key authentication strategy added
Original file line number Diff line number Diff line change @@ -40,6 +40,8 @@ public function create(
40
40
$ operationId
41
41
);
42
42
trigger_error ($ warningMessage , E_USER_WARNING );
43
+ } elseif (str_contains ($ operationId , '- ' )) {
44
+ $ operationId = CaseCaster::toCamel ($ operationId );
43
45
}
44
46
45
47
$ parameters = array_merge ($ commonParameters , $ operation ->parameters ?? []);
Original file line number Diff line number Diff line change 8
8
paths :
9
9
/pets :
10
10
get :
11
- operationId : findPets
11
+ operationId : find-pets
12
12
parameters :
13
13
- name : tags
14
14
in : query
@@ -110,6 +110,13 @@ paths:
110
110
schema :
111
111
type : integer
112
112
format : int64
113
+ - name : food_id
114
+ in : path
115
+ description : ID of food to delete
116
+ required : true
117
+ schema :
118
+ type : integer
119
+ format : int64
113
120
responses :
114
121
' 204 ' :
115
122
description : pet food deleted
You can’t perform that action at this time.
0 commit comments