rule book dup/delete

This commit is contained in:
Sirttas
2026-06-09 23:44:16 +02:00
parent 5ac369a643
commit 9cd0d5fb5e
8 changed files with 205 additions and 8 deletions
+21 -3
View File
@@ -58,6 +58,24 @@ paths:
$ref: "#/components/schemas/RuleBookResponse"
"400":
description: Invalid request (e.g. blank name)
delete:
tags:
- rule-book
summary: Delete a rule book
operationId: deleteRuleBook
parameters:
- name: ruleBookId
in: path
description: Id of the rule book
required: true
schema:
type: string
format: uuid
responses:
"204":
description: The rule book was deleted
"400":
description: The rule book is associated to a character
/ledgers/main/{ledgerId}:
put:
tags:
@@ -439,7 +457,7 @@ components:
type: array
items:
type: string
pattern: "[a-z]+(-[a-z]+)*"
pattern: "[a-z][a-zA-Z0-9]*"
script:
type: string
required:
@@ -461,7 +479,7 @@ components:
type: array
items:
type: string
pattern: "[a-z]+(-[a-z]+)*"
pattern: "[a-z][a-zA-Z0-9]*"
script:
type: string
required:
@@ -571,7 +589,7 @@ components:
type: array
items:
type: string
pattern: "[a-z]+(-[a-z]+)*"
pattern: "[a-z][a-zA-Z0-9]*"
script:
type: string
required: