Skip to content

Commit

Permalink
Field ints need codes and status imports (#38)
Browse files Browse the repository at this point in the history
* Field ints need status and codes imports

* Make example

* If empty string default to 0
  • Loading branch information
loganintech committed Jul 25, 2023
1 parent 0b7780f commit 390b1c3
Show file tree
Hide file tree
Showing 6 changed files with 191 additions and 99 deletions.
53 changes: 47 additions & 6 deletions example/bookstore/v1/bookstore.pb.apigw.go

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

11 changes: 11 additions & 0 deletions example/bookstore/v1/bookstore.pb.bookstore_service.oas31.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -412,11 +412,22 @@ paths:
The ID of the book to retrieve.
format: int64
type: string
- in: query
name: page_token
schema:
description: The pageToken field.
type: string
- in: query
name: author
schema:
description: The includeAuthor field.
type: boolean
- in: query
name: page_size
schema:
description: The pageSize field.
format: int32
type: number
responses:
"200":
content:
Expand Down
Loading

0 comments on commit 390b1c3

Please sign in to comment.