From acb62810a9d50db9caa534a76596b657d9741bd4 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Sat, 23 Jan 2016 01:22:16 +0100 Subject: [PATCH] Syntax highlighting Syntax highlighting --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 5a1678634bb..df7b8f061da 100644 --- a/README.md +++ b/README.md @@ -402,9 +402,9 @@ CONFIG OPTIONS retrofit2 - HTTP client: OkHttp 2.5.0. JSON processing: Gson 2.4 (Retrofit 2.0.0-beta2) ``` -Your config file for java can look like +Your config file for Java can look like -``` +```json { "groupId":"com.my.company", "artifactId":"MyClent", @@ -418,15 +418,15 @@ For all the unspecified options default values will be used. Another way to override default options is to extend the config class for the specific language. To change, for example, the prefix for the Objective-C generated files, simply subclass the ObjcClientCodegen.java: -``` +```java package com.mycompany.swagger.codegen; import io.swagger.codegen.languages.*; public class MyObjcCodegen extends ObjcClientCodegen { - static { - PREFIX = "HELO"; - } + static { + PREFIX = "HELO"; + } } ```