mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-20 20:37:11 +00:00
Update templating docs to correct the name of x-response-id (#7839)
This commit is contained in:
@@ -910,9 +910,9 @@ x-content-type: application/json
|
|||||||
|
|
||||||
### Rust-server
|
### Rust-server
|
||||||
|
|
||||||
#### x-responseId
|
#### x-response-id
|
||||||
|
|
||||||
Each response may specify a unique `x-responseId`. `rust-server` will use this to name the corresponding enum variant in the code. e.g.
|
Each response may specify a unique `x-response-id`. `rust-server` will use this to name the corresponding enum variant in the code. e.g.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
paths:
|
paths:
|
||||||
@@ -921,7 +921,7 @@ paths:
|
|||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
description: OK
|
description: OK
|
||||||
x-responseId: Pong
|
x-response-id: Pong
|
||||||
```
|
```
|
||||||
|
|
||||||
### MySQL Schema
|
### MySQL Schema
|
||||||
|
|||||||
Reference in New Issue
Block a user