@@ -5,10 +5,10 @@ package example.bookstore.v1;
55
66import "aep/api/field_info.proto" ;
77import "aep/api/operation.proto" ;
8+ import "aep/api/resource.proto" ;
89import "google/api/annotations.proto" ;
910import "google/api/client.proto" ;
1011import "google/api/field_behavior.proto" ;
11- import "google/api/resource.proto" ;
1212import "google/protobuf/empty.proto" ;
1313import "google/protobuf/field_mask.proto" ;
1414
@@ -274,11 +274,11 @@ service Bookstore {
274274
275275// A Book.
276276message Book {
277- option (google .api.resource ) = {
277+ option (aep .api.resource ) = {
278278 type : "bookstore.example.com/book"
279279 pattern : ["publishers/{publisher_id}/books/{book_id}" ]
280- plural : "books"
281280 singular : "book"
281+ plural : "books"
282282 };
283283
284284 // A Author.
@@ -331,11 +331,11 @@ message Book {
331331
332332// A BookEdition.
333333message BookEdition {
334- option (google .api.resource ) = {
334+ option (aep .api.resource ) = {
335335 type : "bookstore.example.com/book-edition"
336336 pattern : ["publishers/{publisher_id}/books/{book_id}/editions/{book_edition_id}" ]
337- plural : "book-editions"
338337 singular : "book-edition"
338+ plural : "book-editions"
339339 };
340340
341341 // Field for display_name.
@@ -353,11 +353,11 @@ message BookEdition {
353353
354354// A Isbn.
355355message Isbn {
356- option (google .api.resource ) = {
356+ option (aep .api.resource ) = {
357357 type : "bookstore.example.com/isbn"
358358 pattern : ["isbns/{isbn_id}" ]
359- plural : "isbns"
360359 singular : "isbn"
360+ plural : "isbns"
361361 };
362362
363363 // Field for path.
@@ -366,11 +366,11 @@ message Isbn {
366366
367367// A Item.
368368message Item {
369- option (google .api.resource ) = {
369+ option (aep .api.resource ) = {
370370 type : "bookstore.example.com/item"
371371 pattern : ["stores/{store_id}/items/{item_id}" ]
372- plural : "items"
373372 singular : "item"
373+ plural : "items"
374374 };
375375
376376 // Field for book.
@@ -398,11 +398,11 @@ message Item {
398398
399399// A Publisher.
400400message Publisher {
401- option (google .api.resource ) = {
401+ option (aep .api.resource ) = {
402402 type : "bookstore.example.com/publisher"
403403 pattern : ["publishers/{publisher_id}" ]
404- plural : "publishers"
405404 singular : "publisher"
405+ plural : "publishers"
406406 };
407407
408408 // Field for description.
@@ -414,11 +414,11 @@ message Publisher {
414414
415415// A Store.
416416message Store {
417- option (google .api.resource ) = {
417+ option (aep .api.resource ) = {
418418 type : "bookstore.example.com/store"
419419 pattern : ["stores/{store_id}" ]
420- plural : "stores"
421420 singular : "store"
421+ plural : "stores"
422422 };
423423
424424 // Field for name.
0 commit comments