static ArrayNode generate(ServiceSpecification serviceSpecification) {
        // TODO: Test for Thrift and annotated services
        final JsonSchemaGenerator generator = new JsonSchemaGenerator(serviceSpecification);
        return generator.generate();
    }
Generate an array of json schema specifications for each method inside the service.

@param serviceSpecification the service specification to generate the json schema from.

@return ArrayNode that contains service specifications
core/src/main/java/com/linecorp/armeria/server/docs/JsonSchemaGenerator.java