Fix indentation
It should be 4 spaces, not 2
This commit is contained in:
parent
e151d21d6d
commit
f55572f735
2 changed files with 211 additions and 211 deletions
|
@ -134,6 +134,7 @@ fn main() {
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
},
|
},
|
||||||
"myNullableEnum": {
|
"myNullableEnum": {
|
||||||
|
"default": null,
|
||||||
"anyOf": [
|
"anyOf": [
|
||||||
{
|
{
|
||||||
"$ref": "#/definitions/MyEnum"
|
"$ref": "#/definitions/MyEnum"
|
||||||
|
@ -164,7 +165,6 @@ fn main() {
|
||||||
```
|
```
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
\
|
|
||||||
`#[serde(...)]` attributes can be overriden using `#[schemars(...)]` attributes, which behave identically (e.g. `#[schemars(rename_all = "camelCase")]`). You may find this useful if you want to change the generated schema without affecting Serde's behaviour, or if you're just not using Serde.
|
`#[serde(...)]` attributes can be overriden using `#[schemars(...)]` attributes, which behave identically (e.g. `#[schemars(rename_all = "camelCase")]`). You may find this useful if you want to change the generated schema without affecting Serde's behaviour, or if you're just not using Serde.
|
||||||
|
|
||||||
## Feature Flags
|
## Feature Flags
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue