Skip to content

Instantly share code, notes, and snippets.

View cascer1's full-sized avatar
🌚
Dancing in the moonlight

Cas cascer1

🌚
Dancing in the moonlight
View GitHub Profile
@cascer1
cascer1 / swagger.yaml
Last active March 21, 2021 13:22
swagger rest data
openapi: 3.0.0
info:
description: Spring Data REST Demo
version: 1.0.0
title: Spring Data REST Demo
servers:
- url: http://localhost:8080
description: Local
paths:
/employees:
import java.util.regex.Pattern
var texts = listOf(
"""
```
remove this
```
""".trimIndent(),
"""
`remove this`
replacing [T, 5, 5, J, 5] with [T, 5, 5, 5, 5]
replacing [K, T, J, J, T] with [K, T, T, T, T]
replacing [Q, Q, Q, J, A] with [Q, Q, Q, Q, A]
replacing [Q, 5, 2, 5, J] with [Q, 5, 2, 5, 5]
replacing [4, 5, 7, J, 4] with [4, 5, 7, 4, 4]
replacing [J, 5, 4, 5, J] with [5, 5, 4, 5, 5]
replacing [J, 3, T, T, T] with [T, 3, T, T, T]
replacing [Q, A, K, J, 3] with [Q, A, K, A, 3]
replacing [J, 6, 7, 5, 8] with [8, 6, 7, 5, 8]
replacing [6, 6, 6, J, 8] with [6, 6, 6, 6, 8]