Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
wilmveel committed Nov 29, 2023
1 parent d24be6d commit 18d36ef
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ endpoint DEFINITION METHOD [INPUT_REFERENCE] [PATH] [? QUERY] [# HEADER] {
```

## Example

`todo.ws`
```wirespec
refined UUID /^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/g
Expand Down Expand Up @@ -73,6 +73,14 @@ endpoint DeleteTodo DELETE /todos/{id:UUID} -> {
}
```

## Usage

Wirespec files can be transformed into language specific binding by using the cli

```shell
wirespec ./todo.ws -o ./tmp -l Kotlin
```

## Dependencies
* JDK 17
* Node 16
Expand Down

0 comments on commit 18d36ef

Please sign in to comment.