Commit 52bb3a2b authored by Mubeena Ishaq's avatar Mubeena Ishaq
Browse files

add proto3 descriptors

parent 2004bc5a
Loading
Loading
Loading
Loading
Loading
+23 −0
Original line number Diff line number Diff line
# OpenAPI Generator Ignore
# Generated by openapi-generator https://github.com/openapitools/openapi-generator

# Use this file to prevent files from being overwritten by the generator.
# The patterns follow closely to .gitignore or .dockerignore.

# As an example, the C# client generator defines ApiClient.cs.
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
#ApiClient.cs

# You can match any string of characters against a directory, file or extension with a single asterisk (*):
#foo/*/qux
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux

# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
#foo/**/qux
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux

# You can also negate patterns with an exclamation (!).
# For example, you can ignore all files in a docs folder with the file extension .md:
#docs/*.md
# Then explicitly reverse the ignore rule for a single file:
#!docs/README.md
+13 −0
Original line number Diff line number Diff line
.openapi-generator-ignore
README.md
models/endpoint_info.proto
models/link_type.proto
models/links.proto
models/links1.proto
models/problem_details.proto
models/system_info.proto
models/system_info_update.proto
models/system_update_notification.proto
models/system_update_notification_subscription.proto
models/time_stamp.proto
services/system_info_service.proto
+1 −0
Original line number Diff line number Diff line
5.4.0
 No newline at end of file

proto3/README.md

0 → 100644
+32 −0
Original line number Diff line number Diff line
# gPRC for mec040

The ETSI MEC ISG MEC040 Federation enablement API described using OpenAPI

## Overview
These files were generated by the [OpenAPI Generator](https://openapi-generator.tech) project.

- API version: 3.1.1
- Package version: 
- Build package: org.openapitools.codegen.languages.ProtobufSchemaCodegen
For more information, please visit [https://forge.etsi.org/rep/mec/gs040-fed-enablement-api](https://forge.etsi.org/rep/mec/gs040-fed-enablement-api)

## Usage

Below are some usage examples for Go and Ruby. For other languages, please refer to https://grpc.io/docs/quickstart/.

### Go
```
# assuming `protoc-gen-go` has been installed with `go get -u github.com/golang/protobuf/protoc-gen-go`
mkdir /var/tmp/go/
protoc --go_out=/var/tmp/go/ services/*
protoc --go_out=/var/tmp/go/ models/*
```

### Ruby
```
# assuming `grpc_tools_ruby_protoc` has been installed via `gem install grpc-tools`
RUBY_OUTPUT_DIR="/var/tmp/ruby/mec040"
mkdir $RUBY_OUTPUT_DIR
grpc_tools_ruby_protoc --ruby_out=$RUBY_OUTPUT_DIR --grpc_out=$RUBY_OUTPUT_DIR/lib services/*
grpc_tools_ruby_protoc --ruby_out=$RUBY_OUTPUT_DIR --grpc_out=$RUBY_OUTPUT_DIR/lib models/*
```
+20 −0
Original line number Diff line number Diff line
/*
  ETSI GS MEC 040 - MEC Federation enablement APIs

  The ETSI MEC ISG MEC040 Federation enablement API described using OpenAPI

  The version of the OpenAPI document: 3.1.1

  Generated by OpenAPI Generator: https://openapi-generator.tech
*/

syntax = "proto3";

package mec040;

message EndPointInfo {

  // URI referring to a resource.
  string EndPointInfo = 1;

}
Loading