forked from TenderPro/dockerfile-protoc-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproto.config.swagger.yaml
22 lines (22 loc) · 978 Bytes
/
proto.config.swagger.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# ##############################################################################
# openApi config example
# github.com/grpc-ecosystem/grpc-gateway/[email protected]/examples/internal/proto/examplepb/unannotated_echo_service.swagger.yaml
# openApi specification: https://swagger.io/specification/
# #############################################################################
openapiOptions:
file:
# the file name must be the same as one passed to protoc when generating generating .swagger.json
- file: "proto/service.proto"
option:
info:
title: Service api
contact:
name: Docker pg-gen project
url: https://github.com/apisite/dockerfile-protoc-go
license:
name: MIT License
url: https://github.com/apisite/dockerfile-protoc-go/blob/master/LICENSE
version: "1.0"
externalDocs:
description: More about apisite
url: https://github.com/apisite