Skip to content

Commit

Permalink
Represent unconstrained additional properties correctly in openapi.ya…
Browse files Browse the repository at this point in the history
…ml (#42)
  • Loading branch information
notanthony committed Sep 16, 2023
1 parent c4a8f33 commit f303bd8
Show file tree
Hide file tree
Showing 5 changed files with 247 additions and 220 deletions.
2 changes: 1 addition & 1 deletion apigw/v1/apigw.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions example/bookstore/v1/bookstore.pb.bookstore_service.oas31.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,18 @@ components:
bookstore.v1.Author:
description: An author resource.
properties:
books:
description: The books field.
items:
additionalProperties: true
description: Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.
properties:
'@type':
description: The type of the serialized message.
type: string
type: object
nullable: true
type: array
createdAt:
format: date-time
readOnly: true
Expand Down
Loading

0 comments on commit f303bd8

Please sign in to comment.