@Test public void testDefault() { Swagger2MarkupConverter.SwaggerContext context = createContext(); assertThat(new OperationDocumentResolverDefault(context).apply(operation)).isNull(); }
public String apply(PathOperation operation) { if (!config.isInterDocumentCrossReferencesEnabled() || context.getOutputPath() == null) return null; else return defaultString(config.getInterDocumentCrossReferencesPrefix()) + operationDocumentNameResolver.apply(operation); }
OperationDocumentResolverDefault extends OperationDocumentResolver { public String apply(PathOperation operation) { if (!config.isInterDocumentCrossReferencesEnabled() || context.getOutputPath() == null) return null; else return defaultString(config.getInterDocumentCrossReferencesPrefix()) + operationDocumentNameResolver.apply(operation); } }
OperationDocumentResolverDefault extends OperationDocumentResolver { public String apply(PathOperation operation) { if (!config.isInterDocumentCrossReferencesEnabled() || context.getOutputPath() == null) return null; else return defaultString(config.getInterDocumentCrossReferencesPrefix()) + operationDocumentNameResolver.apply(operation); } OperationDocumentResolverDefault(Swagger2MarkupConverter.SwaggerContext context); }
OperationDocumentResolverDefault extends OperationDocumentResolver { public String apply(PathOperation operation) { if (!config.isInterDocumentCrossReferencesEnabled() || context.getOutputPath() == null) return null; else return defaultString(config.getInterDocumentCrossReferencesPrefix()) + operationDocumentNameResolver.apply(operation); } OperationDocumentResolverDefault(Swagger2MarkupConverter.SwaggerContext context); String apply(PathOperation operation); }
OperationDocumentResolverDefault extends OperationDocumentResolver { public String apply(PathOperation operation) { if (!config.isInterDocumentCrossReferencesEnabled() || context.getOutputPath() == null) return null; else return defaultString(config.getInterDocumentCrossReferencesPrefix()) + operationDocumentNameResolver.apply(operation); } OperationDocumentResolverDefault(Swagger2MarkupConverter.SwaggerContext context); String apply(PathOperation operation);  }