<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic APS 2.X - Adding Custom Endpoints to Swagger API in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/aps-2-x-adding-custom-endpoints-to-swagger-api/m-p/35238#M14857</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are trying to make Alfresco's swagger-ui (&lt;STRONG&gt;api-explore.html&lt;/STRONG&gt;) also able to scan our custom-created API. We could enable for example OpenApi to scan our APIs importing the &lt;STRONG&gt;springdoc-openapi-ui&lt;/STRONG&gt; dependency and creating new definitions with GroupedOpenApi configuration like this:&lt;/P&gt;&lt;PRE&gt;@Bean
    public GroupedOpenApi customOpenApi() {
        String packagesToscan[] = {"com.activiti.extension.api.runtime"};
        return GroupedOpenApi.builder().group("custom").packagesToScan(packagesToscan)
                .build();
    }&lt;/PRE&gt;&lt;P&gt;But the native APS swagger page (api-explorer) stops working, is there any way for them to coexist? That is, is it possible to define that via api-explorer, it can display the documentation of the new APIs created?&lt;/P&gt;</description>
    <pubDate>Fri, 13 Jan 2023 11:09:27 GMT</pubDate>
    <dc:creator>egilsoncabral</dc:creator>
    <dc:date>2023-01-13T11:09:27Z</dc:date>
    <item>
      <title>APS 2.X - Adding Custom Endpoints to Swagger API</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/aps-2-x-adding-custom-endpoints-to-swagger-api/m-p/35238#M14857</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are trying to make Alfresco's swagger-ui (&lt;STRONG&gt;api-explore.html&lt;/STRONG&gt;) also able to scan our custom-created API. We could enable for example OpenApi to scan our APIs importing the &lt;STRONG&gt;springdoc-openapi-ui&lt;/STRONG&gt; dependency and creating new definitions with GroupedOpenApi configuration like this:&lt;/P&gt;&lt;PRE&gt;@Bean
    public GroupedOpenApi customOpenApi() {
        String packagesToscan[] = {"com.activiti.extension.api.runtime"};
        return GroupedOpenApi.builder().group("custom").packagesToScan(packagesToscan)
                .build();
    }&lt;/PRE&gt;&lt;P&gt;But the native APS swagger page (api-explorer) stops working, is there any way for them to coexist? That is, is it possible to define that via api-explorer, it can display the documentation of the new APIs created?&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2023 11:09:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/aps-2-x-adding-custom-endpoints-to-swagger-api/m-p/35238#M14857</guid>
      <dc:creator>egilsoncabral</dc:creator>
      <dc:date>2023-01-13T11:09:27Z</dc:date>
    </item>
  </channel>
</rss>

