Added API generation and Yaml testing for 1.x and 1.0 branches of elasticsearch.

This commit is contained in:
Spencer Alger
2014-02-05 08:18:19 -07:00
parent 5ff4b6f855
commit 6c5838fbfa
31 changed files with 20144 additions and 2035 deletions

View File

@ -1,16 +1,10 @@
[[api-reference<%= branchSuffix %>]]<%
if ( branch === 'master' ) {%>
== 1.0 API
NOTE: At this time, you must opt into the 1.0 API by setting the `apiVerion` config parameter.
<%
} else {%>
== 0.90 API
NOTE: This is currently the default API, but with the upcoming release of Elasticsearch 1.0 that will change. We recommend setting the `apiVersion` config param when you instantiate your client to make sure that the API does not change when the default does.
[[api-reference<%= branchSuffix %>]]
== <%= branch %> API
<% if (branchSuffix) { %>
NOTE: At this time, you must opt into the <%= branch %> API by setting the `apiVerion` config parameter.
<% } else { %>
NOTE: This is currently the default API, but in upcomming versions that will change. We recommend setting the `apiVersion` config param when you instantiate your client to make sure that the API does not change unexpectedly.
<%
}