/** * Retrieves the Swagger API declaration corresponding to a category of the * given Restlet Web API {@link Definition} * * @param definition * The Restlet Web API {@link Definition} * @return The Swagger {@link ApiDeclaration} of the given category */ public static ApiDeclaration getApiDeclaration(Definition definition) { return getApiDeclaration(definition, null); }
/** * Retrieves the Swagger API declaration corresponding to a category of the * given Restlet Web API {@link Definition} * * @param definition * The Restlet Web API {@link Definition} * @return The Swagger {@link ApiDeclaration} of the given category */ public static ApiDeclaration getApiDeclaration(Definition definition) { return getApiDeclaration(definition, null); }
/** * Retrieves the Swagger API declaration corresponding to a category of the * given Restlet Web API {@link Definition} * * @param definition * The Restlet Web API {@link Definition} * @return The Swagger {@link ApiDeclaration} of the given category */ public static ApiDeclaration getApiDeclaration(Definition definition) { return getApiDeclaration(definition, null); }
/** * Retrieves the Swagger API declaration corresponding to a category of the * given Restlet Web API {@link Definition} * * @param definition * The Restlet Web API {@link Definition} * @return The Swagger {@link ApiDeclaration} of the given category */ public static ApiDeclaration getApiDeclaration(Definition definition) { return getApiDeclaration(definition, null); }