Closed maksimlikharev closed 7 years ago
Secondary tag operations are missing from Swagger Angular, but correctly displayed in Swagger UI. See json and output bellow.
{ "swagger" : "2.0", "info" : { "description" : "This API.", "title" : "This API Specification" }, "tags" : [ { "name" : "create user" }, { "name" : "get user" }, { "name" : "update user" }, { "name" : "Admin APIs" }, { "name" : "Public APIs" } ], "schemes" : [ "http", "https" ], "paths" : { "/admin/users/user" : { "post" : { "tags" : [ "create user", "Admin APIs" ], "summary" : "Create user profile (Admin)", "operationId" : "createUser (Admin)", "consumes" : [ "application/json" ], "produces" : [ "application/json" ], "parameters" : [ ] } }, "/admin/users/user/{id}" : { "get" : { "tags" : [ "get user", "Admin APIs" ], "summary" : "Retrieve user (Admin API).", "operationId" : "getUser (Admin)", "produces" : [ "application/json" ], "parameters" : [ ] } }, "/users" : { "get" : { "tags" : [ "get users", "Public APIs" ], "summary" : "Retrieve users in bulk.", "operationId" : "getUsers", "produces" : [ "application/json" ], "parameters" : [ ] } }, "/users/user/{id}" : { "get" : { "tags" : [ "get user", "Public APIs" ], "summary" : "Retrieve user.", "operationId" : "getUser", "parameters" : [ ] }, "put" : { "tags" : [ "update user", "Public APIs" ], "summary" : "Update user.", "operationId" : "updateUser", "produces" : [ "application/json" ], "parameters" : [ ] } } }, "definitions" : { } }
Secondary tag operations are missing from Swagger Angular, but correctly displayed in Swagger UI. See json and output bellow.
JSON
Swagger UI
create user
get user
get users
update user
Admin APIs
Public APIs
Swagger Angular
create user
get user
update user
get users