Skip to content

Commit d819162

Browse files
authored
Merge pull request #10487 from andrew-demb/patch-1
Use same spaces style for json snippets in readme
2 parents c693c50 + 9512a77 commit d819162

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

README.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -642,10 +642,10 @@ Your config file for Java can look like
642642

643643
```json
644644
{
645-
"groupId":"com.my.company",
646-
"artifactId":"MyClient",
647-
"artifactVersion":"1.2.0",
648-
"library":"feign"
645+
"groupId": "com.my.company",
646+
"artifactId": "MyClient",
647+
"artifactVersion": "1.2.0",
648+
"library": "feign"
649649
}
650650
```
651651

@@ -784,7 +784,7 @@ Then you will receive a JSON response with the URL to download the zipped code.
784784
To customize the SDK, you can `POST` to `https://generator.swagger.io/api/gen/clients/{language}` with the following HTTP body:
785785
```json
786786
{
787-
"options": {},
787+
"options": {},
788788
"swaggerUrl": "https://petstore.swagger.io/v2/swagger.json"
789789
}
790790
```
@@ -793,23 +793,23 @@ in which the `options` for a language can be obtained by submitting a `GET` requ
793793
For example, `curl https://generator.swagger.io/api/gen/clients/python` returns
794794
```json
795795
{
796-
"packageName":{
797-
"opt":"packageName",
798-
"description":"python package name (convention: snake_case).",
799-
"type":"string",
800-
"default":"swagger_client"
796+
"packageName": {
797+
"opt": "packageName",
798+
"description": "python package name (convention: snake_case).",
799+
"type": "string",
800+
"default": "swagger_client"
801801
},
802-
"packageVersion":{
803-
"opt":"packageVersion",
804-
"description":"python package version.",
805-
"type":"string",
806-
"default":"1.0.0"
802+
"packageVersion": {
803+
"opt": "packageVersion",
804+
"description": "python package version.",
805+
"type": "string",
806+
"default": "1.0.0"
807807
},
808-
"sortParamsByRequiredFlag":{
809-
"opt":"sortParamsByRequiredFlag",
810-
"description":"Sort method arguments to place required parameters before optional parameters.",
811-
"type":"boolean",
812-
"default":"true"
808+
"sortParamsByRequiredFlag": {
809+
"opt": "sortParamsByRequiredFlag",
810+
"description": "Sort method arguments to place required parameters before optional parameters.",
811+
"type": "boolean",
812+
"default": "true"
813813
}
814814
}
815815
```

0 commit comments

Comments
 (0)