From ceb72afda133b77cdfd9d82dd7e46ed3672d4681 Mon Sep 17 00:00:00 2001 From: jkoepcke Date: Wed, 11 Nov 2015 07:39:08 +0100 Subject: [PATCH 1/2] Show deprecated operations strikethrough --- src/main/html/css/screen.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/html/css/screen.css b/src/main/html/css/screen.css index 96f54548..397aca85 100644 --- a/src/main/html/css/screen.css +++ b/src/main/html/css/screen.css @@ -715,6 +715,9 @@ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 span.path a:hover { text-decoration: underline; } +.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 span.path a.toggleOperation.deprecated { + text-decoration: line-through; +} .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 span.http_method a { text-transform: uppercase; text-decoration: none; From 656bb33baa08a0d3d68df2f5668903ee21a3242a Mon Sep 17 00:00:00 2001 From: jkoepcke Date: Wed, 11 Nov 2015 07:39:38 +0100 Subject: [PATCH 2/2] Show deprecated operations strikethrough --- src/main/html/css/print.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/html/css/print.css b/src/main/html/css/print.css index c90e9f56..f819cc4e 100644 --- a/src/main/html/css/print.css +++ b/src/main/html/css/print.css @@ -715,6 +715,9 @@ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 span.path a:hover { text-decoration: underline; } +.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 span.path a.toggleOperation.deprecated { + text-decoration: line-through; +} .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 span.http_method a { text-transform: uppercase; text-decoration: none;