Skip to content

Commit

Permalink
feat: move permission v1 api to product repository (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrejpetras authored Oct 23, 2024
1 parent 45266d9 commit 511fde2
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 123 deletions.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
:page-layout: swagger
:page-swagger-url: https://raw.githubusercontent.com/onecx/onecx-permission-svc/main/src/main/openapi/onecx-permission-v1.yaml
:page-swagger-url: https://raw.githubusercontent.com/onecx/onecx-permission/main/openapi/onecx-permission-v1.yaml
22 changes: 12 additions & 10 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -164,20 +164,22 @@
<build>
<plugins>
<plugin>
<groupId>org.tkit.maven</groupId>
<artifactId>tkit-docs-quarkus-plugin</artifactId>
<groupId>com.googlecode.maven-download-plugin</groupId>
<artifactId>download-maven-plugin</artifactId>
<executions>
<execution>
<id>docs</id>
<phase>prepare-package</phase>
<id>onecx-tenant-resolver-v1</id>
<phase>initialize</phase>
<goals>
<goal>docs</goal>
<goal>wget</goal>
</goals>
<configuration>
<skipDocs>${skipDocs}</skipDocs>
<openApiFiles>
<openApiFile>onecx-permission-v1.yaml</openApiFile>
</openApiFiles>
<url>
https://raw.githubusercontent.com/onecx/onecx-permission/main/openapi/onecx-permission-v1.yaml
</url>
<outputDirectory>target/tmp/openapi</outputDirectory>
<outputFileName>onecx-permission-v1.yaml</outputFileName>
<skipCache>false</skipCache>
</configuration>
</execution>
</executions>
Expand Down Expand Up @@ -267,7 +269,7 @@
<goal>generate</goal>
</goals>
<configuration>
<inputSpec>src/main/openapi/onecx-permission-v1.yaml</inputSpec>
<inputSpec>target/tmp/openapi/onecx-permission-v1.yaml</inputSpec>
<apiPackage>gen.org.tkit.onecx.permission.rs.external.v1</apiPackage>
<modelPackage>gen.org.tkit.onecx.permission.rs.external.v1.model</modelPackage>
<modelNameSuffix>DTOV1</modelNameSuffix>
Expand Down
112 changes: 0 additions & 112 deletions src/main/openapi/onecx-permission-v1.yaml

This file was deleted.

0 comments on commit 511fde2

Please sign in to comment.