code: public static Map<String, Object> generateResponseExampleMap(boolean generateMissingExamples, PathOperation operation, Map<String, Model> definitions, DocumentResolver definitionDocumentResolver, MarkupDocBuilder markupDocBuilder) {
          Map<String, Object> examples = new LinkedHashMap<>();
          Map<String, Response> responses = operation.getOperation().getResponses();
          if (responses != null)
              for (Map.Entry<String, Response> responseEntry : responses.entrySet()) {
                  Response response = responseEntry.getValue();
                  Object example = response.getExamples();
                  if (example == null) {
                      Model model = response.getResponseSchema();
                      if (model != null) {
                          Property schema = new PropertyModelConverter().modelToProperty(model);
                          if (schema != null) {
                              example = schema.getExample();
  
                              if (example == null && schema instanceof RefProperty) {
                                  String simpleRef = ((RefProperty) schema).getSimpleRef();
                                  example = generateExampleForRefModel(generateMissingExamples, simpleRef, definitions, definitionDocumentResolver, markupDocBuilder, new HashMap<>());
                              }
                              if (example == null && schema instanceof ArrayProperty && generateMissingExamples) {
                                  example = generateExampleForArrayProperty((ArrayProperty) schema, definitions, definitionDocumentResolver, markupDocBuilder, new HashMap<>());
                              }
                              if (example == null && schema instanceof ObjectProperty && generateMissingExamples) {
                                  example = exampleMapForProperties(((ObjectProperty) schema).getProperties(), definitions, definitionDocumentResolver, markupDocBuilder, new HashMap<>());
                              }
                              if (example == null && generateMissingExamples) {
                                  example = PropertyAdapter.generateExample(schema, markupDocBuilder);
                              }
                          }
                      }
                  }
  
                  if (example != null)
                      examples.put(responseEntry.getKey(), example);
  
              }
  
          return examples;
      }
docs: Generates a Map of response examples
  
  @param generateMissingExamples specifies the missing examples should be generated
  @param operation               the Swagger Operation
  @param definitions             the map of definitions
  @param markupDocBuilder        the markup builder
  @return map containing response examples.