Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions examples/tictactoe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ paths:
schema:
$ref: "#/components/schemas/status"
security:
apiKey: []
app2AppOauth:
- board:read
- apiKey: []
- app2AppOauth:
- board:read

# Single square operations
/board/{row}/{column}:
Expand Down Expand Up @@ -54,9 +54,9 @@ paths:
$ref: "#/components/schemas/errorMessage"
example: "Illegal coordinates"
security:
bearerHttpAuthentication: []
user2AppOauth:
- board:read
- bearerHttpAuthentication: []
- user2AppOauth:
- board:read
put:
summary: Set a single board square
description: Places a mark on the board and retrieves the whole board and the winner (if any).
Expand Down Expand Up @@ -90,9 +90,9 @@ paths:
invalidMark:
value: "Invalid Mark (X or O)."
security:
bearerHttpAuthentication: []
user2AppOauth:
- board:write
- bearerHttpAuthentication: []
- user2AppOauth:
- board:write

components:
parameters:
Expand Down