Nests the protobuf oneof fields in the open api spec.
This:
properties:
author:
$ref: '#/components/schemas/bookstore.v1.Author'
fiction:
description: |-
The fiction field.
This field is part of the `genre` oneof.
See the documentation for `bookstore.v1.GetAuthorResponse` for more details.
nullable: true
type: boolean
nonfiction:
description: |-
The nonfiction field.
This field is part of the `genre` oneof.
See the documentation for `bookstore.v1.GetAuthorResponse` for more details.
nullable: true
type: boolean
Goes to this:
properties:
author:
$ref: '#/components/schemas/bookstore.v1.Author'
genre:
properties:
fiction:
description: |-
The fiction field.
This field is part of the `genre` oneof.
See the documentation for `bookstore.v1.GetAuthorResponse` for more details.
nullable: true
type: boolean
nonfiction:
description: |-
The nonfiction field.
This field is part of the `genre` oneof.
See the documentation for `bookstore.v1.GetAuthorResponse` for more details.
nullable: true
type: boolean
Nests the protobuf oneof fields in the open api spec. This:
Goes to this: