diff --git a/example/bookstore/v1/bookstore_openapi.json b/example/bookstore/v1/bookstore_openapi.json index 7279b88..3844347 100644 --- a/example/bookstore/v1/bookstore_openapi.json +++ b/example/bookstore/v1/bookstore_openapi.json @@ -60,7 +60,7 @@ "post": { "summary": "", "description": "Create method for isbn", - "operationId": "isbn.create", + "operationId": "CreateIsbn", "parameters": [], "responses": { "200": { @@ -121,7 +121,7 @@ "get": { "summary": "", "description": "List method for publisher", - "operationId": "publisher.list", + "operationId": "ListPublisher", "parameters": [ { "name": "max_page_size", @@ -166,7 +166,7 @@ "post": { "summary": "", "description": "Create method for publisher", - "operationId": "publisher.create", + "operationId": "CreatePublisher", "parameters": [], "responses": { "200": { @@ -197,7 +197,7 @@ "get": { "summary": "", "description": "Get method for publisher", - "operationId": "publisher.get", + "operationId": "GetPublisher", "parameters": [ { "name": "publisher", @@ -225,7 +225,7 @@ "patch": { "summary": "", "description": "Update method for publisher", - "operationId": "publisher.update", + "operationId": "UpdatePublisher", "parameters": [ { "name": "publisher", @@ -264,7 +264,7 @@ "put": { "summary": "", "description": "Apply method for publisher", - "operationId": "publisher.apply", + "operationId": "ApplyPublisher", "parameters": [ { "name": "publisher", @@ -303,7 +303,7 @@ "delete": { "summary": "", "description": "Delete method for publisher", - "operationId": "publisher.delete", + "operationId": "DeletePublisher", "parameters": [ { "name": "publisher", @@ -340,7 +340,7 @@ "get": { "summary": "", "description": "List method for book", - "operationId": "book.list", + "operationId": "ListBook", "parameters": [ { "name": "publisher", @@ -400,7 +400,7 @@ "post": { "summary": "", "description": "Create method for book", - "operationId": "book.create", + "operationId": "CreateBook", "parameters": [ { "name": "publisher", @@ -441,7 +441,7 @@ "get": { "summary": "", "description": "Get method for book", - "operationId": "book.get", + "operationId": "GetBook", "parameters": [ { "name": "publisher", @@ -478,7 +478,7 @@ "patch": { "summary": "", "description": "Update method for book", - "operationId": "book.update", + "operationId": "UpdateBook", "parameters": [ { "name": "publisher", @@ -526,7 +526,7 @@ "put": { "summary": "", "description": "Apply method for book", - "operationId": "book.apply", + "operationId": "ApplyBook", "parameters": [ { "name": "publisher", @@ -574,7 +574,7 @@ "delete": { "summary": "", "description": "Delete method for book", - "operationId": "book.delete", + "operationId": "DeleteBook", "parameters": [ { "name": "publisher", @@ -620,7 +620,7 @@ "get": { "summary": "", "description": "List method for book-edition", - "operationId": "book-edition.list", + "operationId": "ListBookEdition", "parameters": [ { "name": "publisher", @@ -683,7 +683,7 @@ "post": { "summary": "", "description": "Create method for book-edition", - "operationId": "book-edition.create", + "operationId": "CreateBookEdition", "parameters": [ { "name": "publisher", @@ -733,7 +733,7 @@ "get": { "summary": "", "description": "Get method for book-edition", - "operationId": "book-edition.get", + "operationId": "GetBookEdition", "parameters": [ { "name": "publisher", @@ -779,7 +779,7 @@ "delete": { "summary": "", "description": "Delete method for book-edition", - "operationId": "book-edition.delete", + "operationId": "DeleteBookEdition", "parameters": [ { "name": "publisher", @@ -825,7 +825,7 @@ "post": { "summary": "", "description": "Custom method archive for book", - "operationId": "book:archive", + "operationId": ":ArchiveBook", "parameters": [ { "name": "publisher", diff --git a/example/bookstore/v1/bookstore_openapi.yaml b/example/bookstore/v1/bookstore_openapi.yaml index 9d2f1b5..b8979f0 100644 --- a/example/bookstore/v1/bookstore_openapi.yaml +++ b/example/bookstore/v1/bookstore_openapi.yaml @@ -135,7 +135,7 @@ paths: summary: "" post: description: Create method for isbn - operationId: isbn.create + operationId: CreateIsbn parameters: [] requestBody: content: @@ -174,7 +174,7 @@ paths: /publishers: get: description: List method for publisher - operationId: publisher.list + operationId: ListPublisher parameters: - description: "" in: query @@ -203,7 +203,7 @@ paths: summary: "" post: description: Create method for publisher - operationId: publisher.create + operationId: CreatePublisher parameters: [] requestBody: content: @@ -223,7 +223,7 @@ paths: /publishers/{publisher}: delete: description: Delete method for publisher - operationId: publisher.delete + operationId: DeletePublisher parameters: - description: "" in: path @@ -246,7 +246,7 @@ paths: summary: "" get: description: Get method for publisher - operationId: publisher.get + operationId: GetPublisher parameters: - description: "" in: path @@ -264,7 +264,7 @@ paths: summary: "" patch: description: Update method for publisher - operationId: publisher.update + operationId: UpdatePublisher parameters: - description: "" in: path @@ -289,7 +289,7 @@ paths: summary: "" put: description: Apply method for publisher - operationId: publisher.apply + operationId: ApplyPublisher parameters: - description: "" in: path @@ -315,7 +315,7 @@ paths: /publishers/{publisher}/books: get: description: List method for book - operationId: book.list + operationId: ListBook parameters: - description: "" in: path @@ -354,7 +354,7 @@ paths: summary: "" post: description: Create method for book - operationId: book.create + operationId: CreateBook parameters: - description: "" in: path @@ -380,7 +380,7 @@ paths: /publishers/{publisher}/books/{book}: delete: description: Delete method for book - operationId: book.delete + operationId: DeleteBook parameters: - description: "" in: path @@ -409,7 +409,7 @@ paths: summary: "" get: description: Get method for book - operationId: book.get + operationId: GetBook parameters: - description: "" in: path @@ -433,7 +433,7 @@ paths: summary: "" patch: description: Update method for book - operationId: book.update + operationId: UpdateBook parameters: - description: "" in: path @@ -464,7 +464,7 @@ paths: summary: "" put: description: Apply method for book - operationId: book.apply + operationId: ApplyBook parameters: - description: "" in: path @@ -496,7 +496,7 @@ paths: /publishers/{publisher}/books/{book}/editions: get: description: List method for book-edition - operationId: book-edition.list + operationId: ListBookEdition parameters: - description: "" in: path @@ -537,7 +537,7 @@ paths: summary: "" post: description: Create method for book-edition - operationId: book-edition.create + operationId: CreateBookEdition parameters: - description: "" in: path @@ -569,7 +569,7 @@ paths: /publishers/{publisher}/books/{book}/editions/{book-edition}: delete: description: Delete method for book-edition - operationId: book-edition.delete + operationId: DeleteBookEdition parameters: - description: "" in: path @@ -598,7 +598,7 @@ paths: summary: "" get: description: Get method for book-edition - operationId: book-edition.get + operationId: GetBookEdition parameters: - description: "" in: path @@ -629,7 +629,7 @@ paths: /publishers/{publisher}/books/{book}:archive: post: description: Custom method archive for book - operationId: book:archive + operationId: :ArchiveBook parameters: - description: "" in: path diff --git a/go.mod b/go.mod index 38a9821..2ec24d8 100644 --- a/go.mod +++ b/go.mod @@ -18,7 +18,7 @@ require ( github.com/ProtonMail/go-crypto v1.1.0-alpha.2 // indirect github.com/PuerkitoBio/purell v1.1.0 // indirect github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect - github.com/aep-dev/aep-lib-go v0.0.0-20241205062045-39517ccc141d // indirect + github.com/aep-dev/aep-lib-go v0.0.0-20241211060914-8915f43c3994 // indirect github.com/aep-dev/terraform-provider-aep v0.0.0-20241112052633-f48d45460768 // indirect github.com/agext/levenshtein v1.2.2 // indirect github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect diff --git a/go.sum b/go.sum index 1de19a5..80f675b 100644 --- a/go.sum +++ b/go.sum @@ -20,6 +20,10 @@ github.com/aep-dev/aep-lib-go v0.0.0-20241205061430-404ce902bcf0 h1:wYRECZA+Ytig github.com/aep-dev/aep-lib-go v0.0.0-20241205061430-404ce902bcf0/go.mod h1:M+h1D6T2uIUPelmaEsJbjR6JhqKsTlPX3lxp25zQQsk= github.com/aep-dev/aep-lib-go v0.0.0-20241205062045-39517ccc141d h1:oM4zhowSgjTjdPG+qlJSv1XHE9ahwwesNsRt/UOy6kg= github.com/aep-dev/aep-lib-go v0.0.0-20241205062045-39517ccc141d/go.mod h1:M+h1D6T2uIUPelmaEsJbjR6JhqKsTlPX3lxp25zQQsk= +github.com/aep-dev/aep-lib-go v0.0.0-20241211055732-b1e7aa2d5930 h1:2mzOSEsJd8KozzPkCzR59jaCf2llrxlwn9t5RV/962I= +github.com/aep-dev/aep-lib-go v0.0.0-20241211055732-b1e7aa2d5930/go.mod h1:M+h1D6T2uIUPelmaEsJbjR6JhqKsTlPX3lxp25zQQsk= +github.com/aep-dev/aep-lib-go v0.0.0-20241211060914-8915f43c3994 h1:pd+YncR5m4U6m3eeF5Z1In7GypIKNreRvvsfGTc/98M= +github.com/aep-dev/aep-lib-go v0.0.0-20241211060914-8915f43c3994/go.mod h1:M+h1D6T2uIUPelmaEsJbjR6JhqKsTlPX3lxp25zQQsk= github.com/aep-dev/terraform-provider-aep v0.0.0-20241112052633-f48d45460768 h1:b5fRfpIIsOsdsT2N1MsBxr0K/fZacCUlWp0uY9/BJzM= github.com/aep-dev/terraform-provider-aep v0.0.0-20241112052633-f48d45460768/go.mod h1:sUuUJSkWTc4GBxp8GEZXCeEI38VMyuM5msPQ9BG0kMA= github.com/agext/levenshtein v1.2.2 h1:0S/Yg6LYmFJ5stwQeRp6EeOcCbj7xiqQSdNelsXvaqE=