The generator shall generate at the top of each ProtoBuf file : - Copyright and license text
- generator and model version information
- A syntax statement for version 3
- A package statement
- Any required import statements
For example // (c) 2017 Open Networking Foundation. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // // TapiModule-Interfaces-CoreModelAPI generated from UML // generator version 0.0.1 // TapiModule-Interfaces-CoreModelAPI // model version1.0.0 // syntax = "proto3"; package onf.tapi.CoreModelAPI; import "google/protobuf/timestamp.proto"; import "onf/protobuf/onf-descriptor.proto"; import "onf/protobuf/onf-types.proto"; |
1 Comment
Rick Jing
Sorry for not be able to attend yesterday's meeting! January 11 Thursday IM-D is OK for me. I will update the mapping guidelines as v05 before the meeting.