Skip to content

Commit 8769aeb

Browse files
committed
Fixed for support for newest OpenAPI version.
1 parent d429343 commit 8769aeb

1 file changed

Lines changed: 93 additions & 90 deletions

File tree

docs/generators/cpp-oatpp-server.md

Lines changed: 93 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ title: Documentation for the cpp-oatpp-server Generator
77
| Property | Value | Notes |
88
| -------- | ----- | ----- |
99
| generator name | cpp-oatpp-server | pass this to the generate command after -g |
10-
| generator stability | ALPHA | |
10+
| generator stability | STABLE | |
1111
| generator type | SERVER | |
1212
| generator language | C++ | |
1313
| generator default templating engine | mustache | |
14-
| helpTxt | Generates a C++ API server (based on oat++) | |
14+
| helpTxt | Generates a C++ API server (based on Oat++) | |
1515

1616
## CONFIG OPTIONS
1717
These options may be applied as additional-properties (cli) or configOptions (plugins). Refer to [configuration docs](https://openapi-generator.tech/docs/configuration) for more details.
@@ -37,21 +37,22 @@ These options may be applied as additional-properties (cli) or configOptions (pl
3737
## LANGUAGE PRIMITIVES
3838

3939
<ul class="column-ul">
40-
<li>oatpp::String</li>
40+
<li>oatpp::Any</li>
4141
<li>oatpp::Boolean</li>
42+
<li>oatpp::Fields</li>
43+
<li>oatpp::Float64</li>
4244
<li>oatpp::Int32</li>
4345
<li>oatpp::Int64</li>
44-
<li>oatpp::Vector</li>
45-
<li>oatpp::Fields</li>
46-
<li>oatpp::UnorderedSet</li>
4746
<li>oatpp::Object</li>
48-
<li>oatpp::Float64</li>
49-
<li>oatpp::Any</li>
47+
<li>oatpp::String</li>
48+
<li>oatpp::UnorderedSet</li>
49+
<li>oatpp::Vector</li>
5050
</ul>
5151

5252
## RESERVED WORDS
5353

5454
<ul class="column-ul">
55+
<li>NULL</li>
5556
<li>alignas</li>
5657
<li>alignof</li>
5758
<li>and</li>
@@ -147,113 +148,115 @@ These options may be applied as additional-properties (cli) or configOptions (pl
147148
### Client Modification Feature
148149
| Name | Supported | Defined By |
149150
| ---- | --------- | ---------- |
150-
|BasePath|✗|ToolingExtension
151-
|Authorizations|✗|ToolingExtension
152-
|UserAgent|✗|ToolingExtension
153-
|MockServer|✗|ToolingExtension
151+
|BasePath||ToolingExtension
152+
|Authorizations||ToolingExtension
153+
|UserAgent||ToolingExtension
154+
|MockServer||ToolingExtension
154155

155156
### Data Type Feature
156157
| Name | Supported | Defined By |
157158
| ---- | --------- | ---------- |
158-
|Custom|✗|OAS2,OAS3
159-
|Int32|✓|OAS2,OAS3
160-
|Int64|✓|OAS2,OAS3
161-
|Float|✓|OAS2,OAS3
162-
|Double|✓|OAS2,OAS3
163-
|Decimal|✓|ToolingExtension
164-
|String|✓|OAS2,OAS3
165-
|Byte|✓|OAS2,OAS3
166-
|Binary|✓|OAS2,OAS3
167-
|Boolean|✓|OAS2,OAS3
168-
|Date|✓|OAS2,OAS3
169-
|DateTime|✓|OAS2,OAS3
170-
|Password|✓|OAS2,OAS3
171-
|File|✓|OAS2
172-
|Uuid|✗|
173-
|Array|✓|OAS2,OAS3
174-
|Null|✗|OAS3
175-
|AnyType|✗|OAS2,OAS3
176-
|Object|✓|OAS2,OAS3
177-
|Maps|✓|ToolingExtension
178-
|CollectionFormat|✓|OAS2
179-
|CollectionFormatMulti|✓|OAS2
180-
|Enum|✓|OAS2,OAS3
181-
|ArrayOfEnum|✓|ToolingExtension
182-
|ArrayOfModel|✓|ToolingExtension
183-
|ArrayOfCollectionOfPrimitives|✓|ToolingExtension
184-
|ArrayOfCollectionOfModel|✓|ToolingExtension
185-
|ArrayOfCollectionOfEnum|✓|ToolingExtension
186-
|MapOfEnum|✓|ToolingExtension
187-
|MapOfModel|✓|ToolingExtension
188-
|MapOfCollectionOfPrimitives|✓|ToolingExtension
189-
|MapOfCollectionOfModel|✓|ToolingExtension
190-
|MapOfCollectionOfEnum|✓|ToolingExtension
159+
|Custom||OAS2,OAS3
160+
|Int32||OAS2,OAS3
161+
|Int64||OAS2,OAS3
162+
|Float||OAS2,OAS3
163+
|Double||OAS2,OAS3
164+
|Decimal||ToolingExtension
165+
|String||OAS2,OAS3
166+
|Byte||OAS2,OAS3
167+
|Binary||OAS2,OAS3
168+
|Boolean||OAS2,OAS3
169+
|Date||OAS2,OAS3
170+
|DateTime||OAS2,OAS3
171+
|Password||OAS2,OAS3
172+
|File||OAS2
173+
|Uuid||
174+
|Array||OAS2,OAS3
175+
|Null||OAS3
176+
|AnyType||OAS2,OAS3
177+
|Object||OAS2,OAS3
178+
|Maps||ToolingExtension
179+
|CollectionFormat||OAS2
180+
|CollectionFormatMulti||OAS2
181+
|Enum||OAS2,OAS3
182+
|ArrayOfEnum||ToolingExtension
183+
|ArrayOfModel||ToolingExtension
184+
|ArrayOfCollectionOfPrimitives||ToolingExtension
185+
|ArrayOfCollectionOfModel||ToolingExtension
186+
|ArrayOfCollectionOfEnum||ToolingExtension
187+
|MapOfEnum||ToolingExtension
188+
|MapOfModel||ToolingExtension
189+
|MapOfCollectionOfPrimitives||ToolingExtension
190+
|MapOfCollectionOfModel||ToolingExtension
191+
|MapOfCollectionOfEnum||ToolingExtension
191192

192193
### Documentation Feature
193194
| Name | Supported | Defined By |
194195
| ---- | --------- | ---------- |
195-
|Readme|✓|ToolingExtension
196-
|Model|✓|ToolingExtension
197-
|Api|✓|ToolingExtension
196+
|Readme||ToolingExtension
197+
|Model||ToolingExtension
198+
|Api||ToolingExtension
198199

199200
### Global Feature
200201
| Name | Supported | Defined By |
201202
| ---- | --------- | ---------- |
202-
|Host|✓|OAS2,OAS3
203-
|BasePath|✓|OAS2,OAS3
204-
|Info|✓|OAS2,OAS3
205-
|Schemes|✗|OAS2,OAS3
206-
|PartialSchemes|✓|OAS2,OAS3
207-
|Consumes|✓|OAS2
208-
|Produces|✓|OAS2
209-
|ExternalDocumentation|✓|OAS2,OAS3
210-
|Examples|✓|OAS2,OAS3
211-
|XMLStructureDefinitions|✗|OAS2,OAS3
212-
|MultiServer|✗|OAS3
213-
|ParameterizedServer|✗|OAS3
214-
|ParameterStyling|✗|OAS3
215-
|Callbacks|✗|OAS3
216-
|LinkObjects|✗|OAS3
203+
|Host||OAS2,OAS3
204+
|BasePath||OAS2,OAS3
205+
|Info||OAS2,OAS3
206+
|Schemes||OAS2,OAS3
207+
|PartialSchemes||OAS2,OAS3
208+
|Consumes||OAS2
209+
|Produces||OAS2
210+
|ExternalDocumentation||OAS2,OAS3
211+
|Examples||OAS2,OAS3
212+
|XMLStructureDefinitions||OAS2,OAS3
213+
|MultiServer||OAS3
214+
|ParameterizedServer||OAS3
215+
|ParameterStyling||OAS3
216+
|Callbacks||OAS3
217+
|LinkObjects||OAS3
217218

218219
### Parameter Feature
219220
| Name | Supported | Defined By |
220221
| ---- | --------- | ---------- |
221-
|Path|✓|OAS2,OAS3
222-
|Query|✓|OAS2,OAS3
223-
|Header|✓|OAS2,OAS3
224-
|Body|✓|OAS2
225-
|FormUnencoded|✓|OAS2
226-
|FormMultipart|✓|OAS2
227-
|Cookie|✗|OAS3
222+
|Path||OAS2,OAS3
223+
|Query||OAS2,OAS3
224+
|Header||OAS2,OAS3
225+
|Body||OAS2
226+
|FormUnencoded||OAS2
227+
|FormMultipart||OAS2
228+
|Cookie||OAS3
228229

229230
### Schema Support Feature
230231
| Name | Supported | Defined By |
231232
| ---- | --------- | ---------- |
232-
|Simple|✓|OAS2,OAS3
233-
|Composite|✓|OAS2,OAS3
234-
|Polymorphism|✗|OAS2,OAS3
235-
|Union|✗|OAS3
236-
|allOf|✗|OAS2,OAS3
237-
|anyOf|✗|OAS3
238-
|oneOf|✗|OAS3
239-
|not|✗|OAS3
233+
|Simple||OAS2,OAS3
234+
|Composite||OAS2,OAS3
235+
|Polymorphism||OAS2,OAS3
236+
|Union||OAS3
237+
|allOf||OAS2,OAS3
238+
|anyOf||OAS3
239+
|oneOf||OAS3
240+
|not||OAS3
240241

241242
### Security Feature
242243
| Name | Supported | Defined By |
243244
| ---- | --------- | ---------- |
244-
|BasicAuth|✗|OAS2,OAS3
245-
|ApiKey|✗|OAS2,OAS3
246-
|OpenIDConnect|✗|OAS3
247-
|BearerToken|✗|OAS3
248-
|OAuth2_Implicit|✗|OAS2,OAS3
249-
|OAuth2_Password|✗|OAS2,OAS3
250-
|OAuth2_ClientCredentials|✗|OAS2,OAS3
251-
|OAuth2_AuthorizationCode|✗|OAS2,OAS3
245+
|BasicAuth|✗|OAS2,OAS3
246+
|ApiKey|✗|OAS2,OAS3
247+
|OpenIDConnect|✗|OAS3
248+
|BearerToken|✗|OAS3
249+
|OAuth2_Implicit|✗|OAS2,OAS3
250+
|OAuth2_Password|✗|OAS2,OAS3
251+
|OAuth2_ClientCredentials|✗|OAS2,OAS3
252+
|OAuth2_AuthorizationCode|✗|OAS2,OAS3
253+
|SignatureAuth|✗|OAS3
254+
|AWSV4Signature|✗|ToolingExtension
252255

253256
### Wire Format Feature
254257
| Name | Supported | Defined By |
255258
| ---- | --------- | ---------- |
256-
|JSON|✓|OAS2,OAS3
257-
|XML|✓|OAS2,OAS3
258-
|PROTOBUF|✗|ToolingExtension
259-
|Custom|✗|OAS2,OAS3
259+
|JSON||OAS2,OAS3
260+
|XML||OAS2,OAS3
261+
|PROTOBUF||ToolingExtension
262+
|Custom||OAS2,OAS3

0 commit comments

Comments
 (0)