Skip to content

Commit 8dd5527

Browse files
committed
Restore previous deprecation treatment.
1 parent 4282810 commit 8dd5527

File tree

6 files changed

+10
-3
lines changed

6 files changed

+10
-3
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
subprojects {
1616
group = 'org.httprpc'
17-
version = '5.0'
17+
version = '5.0.1'
1818

1919
repositories {
2020
mavenCentral()

kilo-server/src/main/resources/org/httprpc/kilo/WebService.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ enumerations = Enumerations
44
structures = Structures
55
name = Name
66
description = Description
7+
deprecated = Deprecated
78
parameter = Parameter
89
property = Property
910
type = Type

kilo-server/src/main/resources/org/httprpc/kilo/WebService_de.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ enumerations = Aufz
44
structures = Bauwerke
55
name = Name
66
description = Beschreibung
7+
deprecated = Veraltet
78
parameter = Parameter
89
property = Eigentum
910
type = Typ

kilo-server/src/main/resources/org/httprpc/kilo/WebService_es.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ enumerations = Enumeraciones
44
structures = Estructuras
55
name = Nombre
66
description = Descripción
7+
deprecated = Obsoleto
78
parameter = Parámetro
89
property = Propiedad
910
type = Tipo

kilo-server/src/main/resources/org/httprpc/kilo/WebService_fr.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ enumerations =
44
structures = Structures
55
name = Nom
66
description = Description
7+
deprecated = Obsolète
78
parameter = Paramètre
89
property = Propriété
910
type = Taper

kilo-server/src/main/resources/org/httprpc/kilo/api.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
--color-neutral: hsl(0, 0%, 60%);
1313
--color-neutral-medium: hsl(0, 0%, 80%);
1414
--color-neutral-light: hsl(0, 0%, 97%);
15-
--color-neutral-dark: hsl(0, 0%, 30%);
1615
--color-get: hsl(194, 65%, 50%);
1716
--color-post: hsl(150, 65%, 50%);
1817
--color-put: hsl(31, 95%, 66%);
@@ -152,6 +151,10 @@
152151
text-transform: uppercase;
153152
background: var(--color-neutral-light);
154153
}
154+
strong.deprecated {
155+
text-transform: uppercase;
156+
color: var(--color-neutral);
157+
}
155158
</style>
156159
<script>
157160
document.addEventListener('DOMContentLoaded', function() {
@@ -215,7 +218,7 @@ <h1>{{$endpoints}}</h1>
215218
<section id="{{path}}">
216219
<h2><code>{{path}}</code></h2>
217220
<!-- {{#operations}} -->
218-
<pre><span class="method {{method}}">{{?deprecated}}<s style="text-decoration-color: var(--color-neutral-dark)">{{/deprecated}}{{method}}{{?formData}}°{{/formData}}{{?deprecated}}</s>{{/deprecated}}</span>{{?produces}} : {{>type.html}}{{/produces}}</pre>
221+
<pre><span class="method {{method}}">{{method}}{{?formData}}°{{/formData}}</span>{{?produces}} : {{>type.html}}{{/produces}}{{?deprecated}} <strong class="deprecated">{{$deprecated}}</strong>{{/deprecated}}</pre>
219222
<!-- {{?description}} -->
220223
<p>{{.}}</p>
221224
<!-- {{/description}} -->

0 commit comments

Comments
 (0)