Skip to content

Commit aaff1f9

Browse files
committed
Minor improvements to oas example
1 parent 65579cc commit aaff1f9

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

aip/general/0128/declarative_friendly.oas.yaml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,25 @@ openapi: 3.0.3
33
info:
44
title: Library
55
version: 1.0.0
6+
paths: {}
67
components:
7-
schema:
8+
schemas:
89
Book:
910
description: A representation of a single book.
10-
x-declarative-friendly: true
1111
properties:
1212
name:
1313
type: string
1414
description: |
1515
The name of the book.
1616
Format: publishers/{publisher}/books/{book}
17+
18+
annotations:
19+
description: |
20+
A dictionary of key-value pairs.
21+
This has no effect on the service's behavior, but clients may use it
22+
to persistently store small amounts of information related to this
23+
resource.
24+
additionalProperties:
25+
type: string
26+
1727
# Additional fields...

0 commit comments

Comments
 (0)