Fix indentation

It should be 4 spaces, not 2
This commit is contained in:
Graham Esau 2019-12-09 21:49:47 +00:00
parent e151d21d6d
commit f55572f735
2 changed files with 211 additions and 211 deletions

View file

@ -134,6 +134,7 @@ fn main() {
"type": "boolean"
},
"myNullableEnum": {
"default": null,
"anyOf": [
{
"$ref": "#/definitions/MyEnum"
@ -164,7 +165,6 @@ fn main() {
```
</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.
## Feature Flags