Fix Javadoc, added missing parameters and replaced with valid html (#415)
This commit is contained in:
@@ -55,6 +55,7 @@ public abstract class DefinitionsDocumentExtension extends AbstractExtension {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @param position the current position
|
* @param position the current position
|
||||||
|
* @param document document object
|
||||||
*/
|
*/
|
||||||
public Context(Position position, Document document) {
|
public Context(Position position, Document document) {
|
||||||
super(document);
|
super(document);
|
||||||
@@ -64,6 +65,7 @@ public abstract class DefinitionsDocumentExtension extends AbstractExtension {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @param position the current position
|
* @param position the current position
|
||||||
|
* @param document document object
|
||||||
* @param definitionName the name of the current definition
|
* @param definitionName the name of the current definition
|
||||||
* @param model the current Model of the definition
|
* @param model the current Model of the definition
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -37,6 +37,7 @@ public abstract class OverviewDocumentExtension extends AbstractExtension {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @param position the current position
|
* @param position the current position
|
||||||
|
* @param document document object
|
||||||
*/
|
*/
|
||||||
public Context(Position position, Document document) {
|
public Context(Position position, Document document) {
|
||||||
super(document);
|
super(document);
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ import static io.github.swagger2markup.internal.utils.ExamplesUtil.encodeExample
|
|||||||
* Date: 05/06/2020
|
* Date: 05/06/2020
|
||||||
* Time: 01:43
|
* Time: 01:43
|
||||||
*
|
*
|
||||||
* @author Klaus Schwartz <mailto:klaus@eraga.net>
|
* @author Klaus Schwartz <mailto:klaus@eraga.net>
|
||||||
*/
|
*/
|
||||||
public class BasicPathExample implements PathExample {
|
public class BasicPathExample implements PathExample {
|
||||||
protected final Swagger2MarkupConverter.SwaggerContext context;
|
protected final Swagger2MarkupConverter.SwaggerContext context;
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import java.util.Map;
|
|||||||
* Date: 05/06/2020
|
* Date: 05/06/2020
|
||||||
* Time: 01:44
|
* Time: 01:44
|
||||||
*
|
*
|
||||||
* @author Klaus Schwartz <mailto:klaus@eraga.net>
|
* @author Klaus Schwartz <mailto:klaus@eraga.net>
|
||||||
*/
|
*/
|
||||||
public class CurlPathExample extends UtilityPathExample {
|
public class CurlPathExample extends UtilityPathExample {
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ import java.util.Map;
|
|||||||
* Date: 05/06/2020
|
* Date: 05/06/2020
|
||||||
* Time: 01:44
|
* Time: 01:44
|
||||||
*
|
*
|
||||||
* @author Klaus Schwartz <mailto:klaus@eraga.net>
|
* @author Klaus Schwartz <mailto:klaus@eraga.net>
|
||||||
*/
|
*/
|
||||||
public class InvokeWebRequestPathExample extends UtilityPathExample {
|
public class InvokeWebRequestPathExample extends UtilityPathExample {
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import io.swagger.models.parameters.Parameter;
|
|||||||
* Date: 05/06/2020
|
* Date: 05/06/2020
|
||||||
* Time: 01:43
|
* Time: 01:43
|
||||||
*
|
*
|
||||||
* @author Klaus Schwartz <mailto:klaus@eraga.net>
|
* @author Klaus Schwartz <mailto:klaus@eraga.net>
|
||||||
*/
|
*/
|
||||||
public interface PathExample {
|
public interface PathExample {
|
||||||
String getRequestString();
|
String getRequestString();
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ import java.util.stream.Collectors;
|
|||||||
* Date: 05/06/2020
|
* Date: 05/06/2020
|
||||||
* Time: 03:34
|
* Time: 03:34
|
||||||
*
|
*
|
||||||
* @author Klaus Schwartz <mailto:klaus@eraga.net>
|
* @author Klaus Schwartz <mailto:klaus@eraga.net>
|
||||||
*/
|
*/
|
||||||
abstract public class UtilityPathExample extends BasicPathExample {
|
abstract public class UtilityPathExample extends BasicPathExample {
|
||||||
Logger log = LoggerFactory.getLogger(this.getClass());
|
Logger log = LoggerFactory.getLogger(this.getClass());
|
||||||
|
|||||||
Reference in New Issue
Block a user