[jira] [Commented] (OPENMEETINGS-2420) Discuss and publish API Docs as swagger - Generate swagger from code
[ https://issues.apache.org/jira/browse/OPENMEETINGS-2420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17408533#comment-17408533 ] ASF subversion and git services commented on OPENMEETINGS-2420: --- Commit 9fcc79f356293b79d6437161666de55b27663716 in openmeetings's branch refs/heads/feature/OPENMEETINGS-2420-generate-swagger-improvements from Sebastian Wagner [ https://gitbox.apache.org/repos/asf?p=openmeetings.git;h=9fcc79f ] OPENMEETINGS-2420 Update documentation and tagging for documenting Rest API. Sync with website. > Discuss and publish API Docs as swagger - Generate swagger from code > > > Key: OPENMEETINGS-2420 > URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2420 > Project: Openmeetings > Issue Type: Bug > Components: SOAP/REST API >Affects Versions: 5.0.0 >Reporter: Sebastian Wagner >Assignee: Sebastian Wagner >Priority: Major > Fix For: 7.0.0 > > > I would like to explore how to publish the API docs as swagger document. > The JavaDocs are nice, but I think most of us are using swagger these days. > And you can actually generate swagger docs automatically published from the > code based on the annotations. > I would like to discuss and try that. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[openmeetings] branch feature/OPENMEETINGS-2420-generate-swagger-improvements created (now 9fcc79f)
This is an automated email from the ASF dual-hosted git repository. sebawagner pushed a change to branch feature/OPENMEETINGS-2420-generate-swagger-improvements in repository https://gitbox.apache.org/repos/asf/openmeetings.git. at 9fcc79f OPENMEETINGS-2420 Update documentation and tagging for documenting Rest API. Sync with website. This branch includes the following new commits: new 9fcc79f OPENMEETINGS-2420 Update documentation and tagging for documenting Rest API. Sync with website. The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference.
[openmeetings] 01/01: OPENMEETINGS-2420 Update documentation and tagging for documenting Rest API. Sync with website.
This is an automated email from the ASF dual-hosted git repository. sebawagner pushed a commit to branch feature/OPENMEETINGS-2420-generate-swagger-improvements in repository https://gitbox.apache.org/repos/asf/openmeetings.git commit 9fcc79f356293b79d6437161666de55b27663716 Author: Sebastian Wagner AuthorDate: Thu Sep 2 16:34:07 2021 +1200 OPENMEETINGS-2420 Update documentation and tagging for documenting Rest API. Sync with website. --- openmeetings-webservice/pom.xml | 5 + .../org/apache/openmeetings/webservice/CalendarWebService.java | 3 +++ .../java/org/apache/openmeetings/webservice/ErrorWebService.java | 3 +++ .../java/org/apache/openmeetings/webservice/FileWebService.java | 4 .../java/org/apache/openmeetings/webservice/GroupWebService.java | 4 .../java/org/apache/openmeetings/webservice/InfoWebService.java | 3 +++ .../org/apache/openmeetings/webservice/NetTestWebService.java| 9 + .../org/apache/openmeetings/webservice/RecordingWebService.java | 3 +++ .../java/org/apache/openmeetings/webservice/RoomWebService.java | 3 +++ .../java/org/apache/openmeetings/webservice/UserWebService.java | 4 .../java/org/apache/openmeetings/webservice/WbWebService.java| 3 +++ 11 files changed, 44 insertions(+) diff --git a/openmeetings-webservice/pom.xml b/openmeetings-webservice/pom.xml index 26b822c..e00f678 100644 --- a/openmeetings-webservice/pom.xml +++ b/openmeetings-webservice/pom.xml @@ -139,6 +139,11 @@ jettison + io.swagger.core.v3 + swagger-annotations + 2.1.10 + + org.apache.openmeetings openmeetings-util ${project.version} diff --git a/openmeetings-webservice/src/main/java/org/apache/openmeetings/webservice/CalendarWebService.java b/openmeetings-webservice/src/main/java/org/apache/openmeetings/webservice/CalendarWebService.java index 08aa687..59ef888 100644 --- a/openmeetings-webservice/src/main/java/org/apache/openmeetings/webservice/CalendarWebService.java +++ b/openmeetings-webservice/src/main/java/org/apache/openmeetings/webservice/CalendarWebService.java @@ -55,6 +55,8 @@ import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; +import io.swagger.v3.oas.annotations.tags.Tag; + /** * CalendarService contains methods to create, edit delete calendar meetings * @@ -65,6 +67,7 @@ import org.springframework.stereotype.Service; @WebService(serviceName="org.apache.openmeetings.webservice.CalendarWebService", targetNamespace = TNS) @Features(features = "org.apache.cxf.ext.logging.LoggingFeature") @Produces({MediaType.APPLICATION_JSON}) +@Tag(name = "CalendarService", description = "CalendarService contains methods to create, edit delete calendar meetings") @Path("/calendar") public class CalendarWebService extends BaseWebService { private static final Logger log = LoggerFactory.getLogger(CalendarWebService.class); diff --git a/openmeetings-webservice/src/main/java/org/apache/openmeetings/webservice/ErrorWebService.java b/openmeetings-webservice/src/main/java/org/apache/openmeetings/webservice/ErrorWebService.java index fe2d166..42fe981 100644 --- a/openmeetings-webservice/src/main/java/org/apache/openmeetings/webservice/ErrorWebService.java +++ b/openmeetings-webservice/src/main/java/org/apache/openmeetings/webservice/ErrorWebService.java @@ -40,6 +40,8 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Service; +import io.swagger.v3.oas.annotations.tags.Tag; + /** * * The Service contains methods to get localized errors @@ -51,6 +53,7 @@ import org.springframework.stereotype.Service; @WebService(serviceName="org.apache.openmeetings.webservice.ErrorWebService", targetNamespace = TNS) @Features(features = "org.apache.cxf.ext.logging.LoggingFeature") @Produces({MediaType.APPLICATION_JSON}) +@Tag(name = "ErrorService", description = "The Service contains methods to get localized errors") @Path("/error") public class ErrorWebService extends BaseWebService { private static final Logger log = LoggerFactory.getLogger(ErrorWebService.class); diff --git a/openmeetings-webservice/src/main/java/org/apache/openmeetings/webservice/FileWebService.java b/openmeetings-webservice/src/main/java/org/apache/openmeetings/webservice/FileWebService.java index e1ad214..4184710 100644 --- a/openmeetings-webservice/src/main/java/org/apache/openmeetings/webservice/FileWebService.java +++ b/openmeetings-webservice/src/main/java/org/apache/openmeetings/webservice/FileWebService.java @@ -57,6 +57,8 @@ import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.ster
[openmeetings-site] branch master updated: OPENMEETINGS-2420 Update documentation with more meaningful names and grouping.
This is an automated email from the ASF dual-hosted git repository. sebawagner pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/openmeetings-site.git The following commit(s) were added to refs/heads/master by this push: new 0294e3b OPENMEETINGS-2420 Update documentation with more meaningful names and grouping. 0294e3b is described below commit 0294e3b7a7d6cc8a1defb4d7ac148220adc49535 Author: Sebastian Wagner AuthorDate: Thu Sep 2 16:31:54 2021 +1200 OPENMEETINGS-2420 Update documentation with more meaningful names and grouping. --- ...ppache-openmeetings-7.0.0-SNAPSHOT-swagger.json | 87 ++ 1 file changed, 87 insertions(+) diff --git a/swagger/appache-openmeetings-7.0.0-SNAPSHOT-swagger.json b/swagger/appache-openmeetings-7.0.0-SNAPSHOT-swagger.json index 23fc2d9..17e59fb 100644 --- a/swagger/appache-openmeetings-7.0.0-SNAPSHOT-swagger.json +++ b/swagger/appache-openmeetings-7.0.0-SNAPSHOT-swagger.json @@ -13,9 +13,41 @@ }, "version" : "7.0.0-SNAPSHOT" }, + "tags" : [ { +"name" : "CalendarService", +"description" : "CalendarService contains methods to create, edit delete calendar meetings" + }, { +"name" : "ErrorService", +"description" : "The Service contains methods to get localized errors" + }, { +"name" : "FileService", +"description" : "Contains methods to import and upload files into the Files section of the\n conference room and the personal drive of any USER" + }, { +"name" : "GroupService", +"description" : "The Service contains methods to login and create hash to directly enter\n conference rooms, recordings or the application in general" + }, { +"name" : "InfoService", +"description" : "The Service contains methods to get info about the system" + }, { +"name" : "NetTestService", +"description" : "The Service contains methods to trigger a network test" + }, { +"name" : "RecordingService", +"description" : "The Service contains methods to work with recordings" + }, { +"name" : "RoomService", +"description" : "RoomService contains methods to manipulate rooms and create invitation hash" + }, { +"name" : "UserService", +"description" : "The Service contains methods to login and create hash to directly enter\n conference rooms, recordings or the application in general" + }, { +"name" : "WbService", +"description" : "WbService contains methods to manipulate whiteboard contents" + } ], "paths" : { "/calendar" : { "post" : { +"tags" : [ "CalendarService" ], "operationId" : "save", "parameters" : [ { "name" : "sid", @@ -54,6 +86,7 @@ }, "/calendar/next" : { "get" : { +"tags" : [ "CalendarService" ], "operationId" : "next", "parameters" : [ { "name" : "sid", @@ -78,6 +111,7 @@ }, "/calendar/next/{userid}" : { "get" : { +"tags" : [ "CalendarService" ], "operationId" : "nextForUser", "parameters" : [ { "name" : "sid", @@ -110,6 +144,7 @@ }, "/calendar/room/{roomid}" : { "get" : { +"tags" : [ "CalendarService" ], "operationId" : "getByRoom", "parameters" : [ { "name" : "sid", @@ -142,6 +177,7 @@ }, "/calendar/title/{title}" : { "get" : { +"tags" : [ "CalendarService" ], "operationId" : "getByTitle", "parameters" : [ { "name" : "sid", @@ -176,6 +212,7 @@ }, "/calendar/{id}" : { "delete" : { +"tags" : [ "CalendarService" ], "operationId" : "delete", "parameters" : [ { "name" : "sid", @@ -208,6 +245,7 @@ }, "/calendar/{start}/{end}" : { "get" : { +"tags" : [ "CalendarService" ], "operationId" : "range", "parameters" : [ { "name" : "sid", @@ -251,6 +289,7 @@ }, "/calendar/{userid}/{start}/{end}" : { "get" : { +"tags" : [ "CalendarService" ], "operationId" : "rangeForUser", "parameters" : [ { "name" : "sid", @@ -302,6 +341,7 @@ }, "/error/report" : { "post" : { +"tags" : [ "ErrorService" ], "operationId" : "report", "parameters" : [ { "name" : "sid", @@ -328,6 +368,7 @@ }, "/error/{key}/{lang}" : { "get" : { +"tags" : [ "ErrorService" ], "operationId" : "get", "parameters" : [ { "name" : "key", @@ -361,6 +402,7 @@ }, "/file" : { "post" : { +"tags" : [ "FileService" ], "operationId" : "add", "parameters" : [ { "name" : "sid", @@ -394,6 +436,7 @@ }, "/file/move/{roomid}/{id}/{parentid}" : { "post" : { +"tags" : [ "FileService" ], "operationId" : "move", "parameters" : [ { "name" : "sid", @@ -442,6 +48
[jira] [Commented] (OPENMEETINGS-2653) The resource “https://localhost:5443/openmeetings/wicket/resource/org.apache.openmeetings.web.common.MainPanel/main.js” was blocked due to mismatch ("text / html
[ https://issues.apache.org/jira/browse/OPENMEETINGS-2653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17408524#comment-17408524 ] Maxim Solodovnik commented on OPENMEETINGS-2653: Hello [~antdon65] I've just tested latest successful SNAPSHOT at my Win10 VM (with the internal H2 DB) installation and login were successful FF&Edge latest I need help with steps to reproduce :) > The resource > “https://localhost:5443/openmeetings/wicket/resource/org.apache.openmeetings.web.common.MainPanel/main.js” > was blocked due to mismatch ("text / html") of the MIME type > (X-Content-Type-Options: nosniff) > --- > > Key: OPENMEETINGS-2653 > URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2653 > Project: Openmeetings > Issue Type: Bug > Components: UI >Affects Versions: 7.0.0 > Environment: windows 10 >Reporter: AntonioDonnarumma >Assignee: Maxim Solodovnik >Priority: Blocker > Fix For: 7.0.0 > > Attachments: catalina.2021-08-27.log, localhost.2021-08-27.log, > om_error_01.jpg, openmeetings.log > > > After compiling without errors. > Unzip the file > C:\openmeetings\openmeetings-server\target\apache-openmeetings-7.0.0-SNAPSHOT.zip > in the C:\ directory > I put the "mysql-connector-java-8.0.26.jar" file in the directory > C:\apache-openmeetings-7.0.0-SNAPSHOT\webapps\openmeetings\WEB-INF\lib > "Kurento media server" launch > C:\apache-openmeetings-7.0.0-SNAPSHOT\bin\startup.bat launc > I open the firefox browser and insert the following link > [https://localhost:5443/openmeetings] > I enter all the required data from installation to the end > To restart after installation, i first launch > C:\apache-openmeetings-7.0.0-SNAPSHOT\bin\shutdown.bat > and then launch > C:\apache-openmeetings-7.0.0-SNAPSHOT\bin\startup.bat again > I open the firefox browser and insert the following link > https://localhost:5443/openmeetings > I enter as "admin" by entering user and password and locks with the screen > that i am attaching > I don't know how to go on > Can someone help me ? -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (OPENMEETINGS-2656) Error when logging in
[ https://issues.apache.org/jira/browse/OPENMEETINGS-2656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17408510#comment-17408510 ] Maxim Solodovnik commented on OPENMEETINGS-2656: Hmm might be connected with this on: https://issues.apache.org/jira/browse/OPENMEETINGS-2653 > Error when logging in > - > > Key: OPENMEETINGS-2656 > URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2656 > Project: Openmeetings > Issue Type: Bug >Affects Versions: 6.1.0 >Reporter: zm >Assignee: Maxim Solodovnik >Priority: Major > Attachments: error.PNG, 捕获.PNG > > > I am in Win10 system package deployment, input account and password login > error -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (OPENMEETINGS-2656) Error when logging in
[ https://issues.apache.org/jira/browse/OPENMEETINGS-2656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17408504#comment-17408504 ] Maxim Solodovnik commented on OPENMEETINGS-2656: Hello [~zmzm], you definitely need to use {{https}} the error is weird, {{main.js}} is part of distribution can you describe your steps? > Error when logging in > - > > Key: OPENMEETINGS-2656 > URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2656 > Project: Openmeetings > Issue Type: Bug >Affects Versions: 6.1.0 >Reporter: zm >Assignee: Maxim Solodovnik >Priority: Major > Attachments: error.PNG, 捕获.PNG > > > I am in Win10 system package deployment, input account and password login > error -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (OPENMEETINGS-2420) Discuss and publish API Docs as swagger - Generate swagger from code
[ https://issues.apache.org/jira/browse/OPENMEETINGS-2420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17408381#comment-17408381 ] ASF subversion and git services commented on OPENMEETINGS-2420: --- Commit a8e002786d336350b15a6ef16b926542323e76ed in openmeetings's branch refs/heads/master from Sebastian Wagner [ https://gitbox.apache.org/repos/asf?p=openmeetings.git;h=a8e0027 ] Merge pull request #146 from apache/feature/OPENMEETINGS-2420-generate-swagger-and-provide-to-users-using-swagger-ui OPENMEETINGS-2420 Generates swagger and update generated website to link swagger doc > Discuss and publish API Docs as swagger - Generate swagger from code > > > Key: OPENMEETINGS-2420 > URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2420 > Project: Openmeetings > Issue Type: Bug > Components: SOAP/REST API >Affects Versions: 5.0.0 >Reporter: Sebastian Wagner >Assignee: Sebastian Wagner >Priority: Major > Fix For: 7.0.0 > > > I would like to explore how to publish the API docs as swagger document. > The JavaDocs are nice, but I think most of us are using swagger these days. > And you can actually generate swagger docs automatically published from the > code based on the annotations. > I would like to discuss and try that. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (OPENMEETINGS-2420) Discuss and publish API Docs as swagger - Generate swagger from code
[ https://issues.apache.org/jira/browse/OPENMEETINGS-2420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17408380#comment-17408380 ] ASF subversion and git services commented on OPENMEETINGS-2420: --- Commit 6c233f3b52b9e1ff417402044d5203363fafae46 in openmeetings's branch refs/heads/master from Sebastian Wagner [ https://gitbox.apache.org/repos/asf?p=openmeetings.git;h=6c233f3 ] OPENMEETINGS-2420 Add additional tab part2. > Discuss and publish API Docs as swagger - Generate swagger from code > > > Key: OPENMEETINGS-2420 > URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2420 > Project: Openmeetings > Issue Type: Bug > Components: SOAP/REST API >Affects Versions: 5.0.0 >Reporter: Sebastian Wagner >Assignee: Sebastian Wagner >Priority: Major > Fix For: 7.0.0 > > > I would like to explore how to publish the API docs as swagger document. > The JavaDocs are nice, but I think most of us are using swagger these days. > And you can actually generate swagger docs automatically published from the > code based on the annotations. > I would like to discuss and try that. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (OPENMEETINGS-2420) Discuss and publish API Docs as swagger - Generate swagger from code
[ https://issues.apache.org/jira/browse/OPENMEETINGS-2420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17408378#comment-17408378 ] ASF subversion and git services commented on OPENMEETINGS-2420: --- Commit 595e2afe6611bc2bc855a0542fb0137a15b8d2f5 in openmeetings's branch refs/heads/master from Sebastian Wagner [ https://gitbox.apache.org/repos/asf?p=openmeetings.git;h=595e2af ] OPENMEETINGS-2420 GEnerates swagger and update generated website to link swagger doc. > Discuss and publish API Docs as swagger - Generate swagger from code > > > Key: OPENMEETINGS-2420 > URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2420 > Project: Openmeetings > Issue Type: Bug > Components: SOAP/REST API >Affects Versions: 5.0.0 >Reporter: Sebastian Wagner >Assignee: Sebastian Wagner >Priority: Major > Fix For: 7.0.0 > > > I would like to explore how to publish the API docs as swagger document. > The JavaDocs are nice, but I think most of us are using swagger these days. > And you can actually generate swagger docs automatically published from the > code based on the annotations. > I would like to discuss and try that. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (OPENMEETINGS-2420) Discuss and publish API Docs as swagger - Generate swagger from code
[ https://issues.apache.org/jira/browse/OPENMEETINGS-2420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17408379#comment-17408379 ] ASF subversion and git services commented on OPENMEETINGS-2420: --- Commit ed711d93fea0038bc0ebc36240307de8fc0e945e in openmeetings's branch refs/heads/master from Sebastian Wagner [ https://gitbox.apache.org/repos/asf?p=openmeetings.git;h=ed711d9 ] OPENMEETINGS-2420 Add additional tab. > Discuss and publish API Docs as swagger - Generate swagger from code > > > Key: OPENMEETINGS-2420 > URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2420 > Project: Openmeetings > Issue Type: Bug > Components: SOAP/REST API >Affects Versions: 5.0.0 >Reporter: Sebastian Wagner >Assignee: Sebastian Wagner >Priority: Major > Fix For: 7.0.0 > > > I would like to explore how to publish the API docs as swagger document. > The JavaDocs are nice, but I think most of us are using swagger these days. > And you can actually generate swagger docs automatically published from the > code based on the annotations. > I would like to discuss and try that. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[openmeetings] branch master updated (c166be6 -> a8e0027)
This is an automated email from the ASF dual-hosted git repository. sebawagner pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/openmeetings.git. from c166be6 [OPENMEETINGS-2652] multi-select should work better add 595e2af OPENMEETINGS-2420 GEnerates swagger and update generated website to link swagger doc. add ed711d9 OPENMEETINGS-2420 Add additional tab. add 6c233f3 OPENMEETINGS-2420 Add additional tab part2. new a8e0027 Merge pull request #146 from apache/feature/OPENMEETINGS-2420-generate-swagger-and-provide-to-users-using-swagger-ui The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: openmeetings-server/src/site/resources/js/site.js | 2 +- openmeetings-server/src/site/site.xml | 3 +- openmeetings-webservice/pom.xml | 35 +++ 3 files changed, 38 insertions(+), 2 deletions(-)
[openmeetings] 01/01: Merge pull request #146 from apache/feature/OPENMEETINGS-2420-generate-swagger-and-provide-to-users-using-swagger-ui
This is an automated email from the ASF dual-hosted git repository. sebawagner pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/openmeetings.git commit a8e002786d336350b15a6ef16b926542323e76ed Merge: c166be6 6c233f3 Author: Sebastian Wagner AuthorDate: Thu Sep 2 09:02:09 2021 +1200 Merge pull request #146 from apache/feature/OPENMEETINGS-2420-generate-swagger-and-provide-to-users-using-swagger-ui OPENMEETINGS-2420 Generates swagger and update generated website to link swagger doc openmeetings-server/src/site/resources/js/site.js | 2 +- openmeetings-server/src/site/site.xml | 3 +- openmeetings-webservice/pom.xml | 35 +++ 3 files changed, 38 insertions(+), 2 deletions(-)
[jira] [Commented] (OPENMEETINGS-2420) Discuss and publish API Docs as swagger - Generate swagger from code
[ https://issues.apache.org/jira/browse/OPENMEETINGS-2420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17408377#comment-17408377 ] ASF subversion and git services commented on OPENMEETINGS-2420: --- Commit 6c233f3b52b9e1ff417402044d5203363fafae46 in openmeetings's branch refs/heads/feature/OPENMEETINGS-2420-generate-swagger-and-provide-to-users-using-swagger-ui from Sebastian Wagner [ https://gitbox.apache.org/repos/asf?p=openmeetings.git;h=6c233f3 ] OPENMEETINGS-2420 Add additional tab part2. > Discuss and publish API Docs as swagger - Generate swagger from code > > > Key: OPENMEETINGS-2420 > URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2420 > Project: Openmeetings > Issue Type: Bug > Components: SOAP/REST API >Affects Versions: 5.0.0 >Reporter: Sebastian Wagner >Assignee: Sebastian Wagner >Priority: Major > Fix For: 7.0.0 > > > I would like to explore how to publish the API docs as swagger document. > The JavaDocs are nice, but I think most of us are using swagger these days. > And you can actually generate swagger docs automatically published from the > code based on the annotations. > I would like to discuss and try that. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[openmeetings] branch feature/OPENMEETINGS-2420-generate-swagger-and-provide-to-users-using-swagger-ui updated (ed711d9 -> 6c233f3)
This is an automated email from the ASF dual-hosted git repository. sebawagner pushed a change to branch feature/OPENMEETINGS-2420-generate-swagger-and-provide-to-users-using-swagger-ui in repository https://gitbox.apache.org/repos/asf/openmeetings.git. from ed711d9 OPENMEETINGS-2420 Add additional tab. add 6c233f3 OPENMEETINGS-2420 Add additional tab part2. No new revisions were added by this update. Summary of changes: openmeetings-webservice/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
[jira] [Commented] (OPENMEETINGS-2420) Discuss and publish API Docs as swagger - Generate swagger from code
[ https://issues.apache.org/jira/browse/OPENMEETINGS-2420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17408376#comment-17408376 ] ASF subversion and git services commented on OPENMEETINGS-2420: --- Commit ed711d93fea0038bc0ebc36240307de8fc0e945e in openmeetings's branch refs/heads/feature/OPENMEETINGS-2420-generate-swagger-and-provide-to-users-using-swagger-ui from Sebastian Wagner [ https://gitbox.apache.org/repos/asf?p=openmeetings.git;h=ed711d9 ] OPENMEETINGS-2420 Add additional tab. > Discuss and publish API Docs as swagger - Generate swagger from code > > > Key: OPENMEETINGS-2420 > URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2420 > Project: Openmeetings > Issue Type: Bug > Components: SOAP/REST API >Affects Versions: 5.0.0 >Reporter: Sebastian Wagner >Assignee: Sebastian Wagner >Priority: Major > Fix For: 7.0.0 > > > I would like to explore how to publish the API docs as swagger document. > The JavaDocs are nice, but I think most of us are using swagger these days. > And you can actually generate swagger docs automatically published from the > code based on the annotations. > I would like to discuss and try that. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[openmeetings] branch feature/OPENMEETINGS-2420-generate-swagger-and-provide-to-users-using-swagger-ui updated (595e2af -> ed711d9)
This is an automated email from the ASF dual-hosted git repository. sebawagner pushed a change to branch feature/OPENMEETINGS-2420-generate-swagger-and-provide-to-users-using-swagger-ui in repository https://gitbox.apache.org/repos/asf/openmeetings.git. from 595e2af OPENMEETINGS-2420 GEnerates swagger and update generated website to link swagger doc. add ed711d9 OPENMEETINGS-2420 Add additional tab. No new revisions were added by this update. Summary of changes: openmeetings-webservice/pom.xml | 66 - 1 file changed, 33 insertions(+), 33 deletions(-)
[jira] [Commented] (OPENMEETINGS-2652) Can´t send invitation from rooms or Calendar
[ https://issues.apache.org/jira/browse/OPENMEETINGS-2652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17408091#comment-17408091 ] Alvaro commented on OPENMEETINGS-2652: -- ...the same in # 20. Maxim, take your time. Is not haste :) > Can´t send invitation from rooms or Calendar > > > Key: OPENMEETINGS-2652 > URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2652 > Project: Openmeetings > Issue Type: Bug > Components: Calendar, Room >Affects Versions: 7.0.0 > Environment: Server: Ubuntu 18.04 - OM 700 #15 > Client: OSx 11.5.2 - Firefox 91 - Safari 14.1.2 > Client: Ubuntu 18.04 - Firefox 91 >Reporter: Alvaro >Assignee: Maxim Solodovnik >Priority: Major > Fix For: 7.0.0 > > Attachments: Calendar no show Attendees-1.png, Calendar without > vertical lines.png, Rooms no show Recipient-1.png, openmeetings.log > > > # When try send an invitation from rooms and clic > on Recipient box, not show any user (nothing happens). > # When try send a meeting from Calendar and clic > on Attendees box, not show any user (nothing happens). > # Calendar page don´t show vertical lines. > Attached captures and log. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (OPENMEETINGS-2420) Discuss and publish API Docs as swagger - Generate swagger from code
[ https://issues.apache.org/jira/browse/OPENMEETINGS-2420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17408039#comment-17408039 ] ASF subversion and git services commented on OPENMEETINGS-2420: --- Commit 595e2afe6611bc2bc855a0542fb0137a15b8d2f5 in openmeetings's branch refs/heads/feature/OPENMEETINGS-2420-generate-swagger-and-provide-to-users-using-swagger-ui from Sebastian Wagner [ https://gitbox.apache.org/repos/asf?p=openmeetings.git;h=595e2af ] OPENMEETINGS-2420 GEnerates swagger and update generated website to link swagger doc. > Discuss and publish API Docs as swagger - Generate swagger from code > > > Key: OPENMEETINGS-2420 > URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2420 > Project: Openmeetings > Issue Type: Bug > Components: SOAP/REST API >Affects Versions: 5.0.0 >Reporter: Sebastian Wagner >Assignee: Sebastian Wagner >Priority: Major > Fix For: 7.0.0 > > > I would like to explore how to publish the API docs as swagger document. > The JavaDocs are nice, but I think most of us are using swagger these days. > And you can actually generate swagger docs automatically published from the > code based on the annotations. > I would like to discuss and try that. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[openmeetings] 01/01: OPENMEETINGS-2420 GEnerates swagger and update generated website to link swagger doc.
This is an automated email from the ASF dual-hosted git repository. sebawagner pushed a commit to branch feature/OPENMEETINGS-2420-generate-swagger-and-provide-to-users-using-swagger-ui in repository https://gitbox.apache.org/repos/asf/openmeetings.git commit 595e2afe6611bc2bc855a0542fb0137a15b8d2f5 Author: Sebastian Wagner AuthorDate: Wed Sep 1 21:36:01 2021 +1200 OPENMEETINGS-2420 GEnerates swagger and update generated website to link swagger doc. --- openmeetings-server/src/site/resources/js/site.js | 2 +- openmeetings-server/src/site/site.xml | 3 +- openmeetings-webservice/pom.xml | 35 +++ 3 files changed, 38 insertions(+), 2 deletions(-) diff --git a/openmeetings-server/src/site/resources/js/site.js b/openmeetings-server/src/site/resources/js/site.js index ae81eef..328a711 100644 --- a/openmeetings-server/src/site/resources/js/site.js +++ b/openmeetings-server/src/site/resources/js/site.js @@ -19,7 +19,7 @@ */ $(document).ready(function() { // "New" markers - var topics = ["Call For Logo"]; + var topics = ["Call For Logo", "REST API Swagger"]; for (var i = 0; i < topics.length; ++i) { $('ul.nav li a[title="' + topics[i] + '"').append(' New') } diff --git a/openmeetings-server/src/site/site.xml b/openmeetings-server/src/site/site.xml index 5a27a60..73e9926 100644 --- a/openmeetings-server/src/site/site.xml +++ b/openmeetings-server/src/site/site.xml @@ -43,7 +43,8 @@ - + + diff --git a/openmeetings-webservice/pom.xml b/openmeetings-webservice/pom.xml index e46d0d4..9de4cba 100644 --- a/openmeetings-webservice/pom.xml +++ b/openmeetings-webservice/pom.xml @@ -56,6 +56,41 @@ + + io.openapitools.swagger + swagger-maven-plugin + + + org.apache.openmeetings.webservice + + ${basedir}/target/ + appache-openmeetings-${project.version}-swagger + JSON,YAML + true + + + Apache OpenMeetings API + ${project.version} + + d...@openmeetings.apache.org + Apache OpenMeetings Developer group + https://openmeetings.apache.org + + + https://www.apache.org/licenses/LICENSE-2.0 + The Apache Software License, Version 2.0 + + + + + + + + generate + + + +
[openmeetings] branch feature/OPENMEETINGS-2420-generate-swagger-and-provide-to-users-using-swagger-ui created (now 595e2af)
This is an automated email from the ASF dual-hosted git repository. sebawagner pushed a change to branch feature/OPENMEETINGS-2420-generate-swagger-and-provide-to-users-using-swagger-ui in repository https://gitbox.apache.org/repos/asf/openmeetings.git. at 595e2af OPENMEETINGS-2420 GEnerates swagger and update generated website to link swagger doc. This branch includes the following new commits: new 595e2af OPENMEETINGS-2420 GEnerates swagger and update generated website to link swagger doc. The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference.