-
Notifications
You must be signed in to change notification settings - Fork 549
RESTWS-980: Initial implementation of OpenAPI Generator Maven Plugin with JavaParser integration #657
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
RESTWS-980: Initial implementation of OpenAPI Generator Maven Plugin with JavaParser integration #657
Changes from 10 commits
bdc387f
9dee07a
b2f519f
509bed8
4919379
46662c4
578ecac
a9dee67
8cbf3f1
966ed50
cc95ed5
08a9287
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,156 @@ | ||
| <project xmlns="http://maven.apache.org/POM/4.0.0" | ||
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
| <modelVersion>4.0.0</modelVersion> <groupId>org.openmrs.plugin</groupId> | ||
| <artifactId>openapi-generator-maven-plugin</artifactId> | ||
| <version>1.0.0-SNAPSHOT</version> | ||
| <packaging>maven-plugin</packaging> | ||
|
|
||
| <name>OpenAPI Generator Maven Plugin</name> | ||
| <description>A Maven plugin for generating OpenAPI specifications for OpenMRS modules.</description> | ||
| <url>https://example.com/openapi-generator-maven-plugin</url> | ||
|
|
||
| <properties> | ||
| <maven.compiler.source>1.8</maven.compiler.source> | ||
| <maven.compiler.target>1.8</maven.compiler.target> | ||
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
| </properties> | ||
|
|
||
| <dependencies> | ||
| <!-- Maven Plugin API --> | ||
| <dependency> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I see
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'll try this out and get back |
||
| <groupId>org.apache.maven</groupId> | ||
| <artifactId>maven-plugin-api</artifactId> | ||
| <version>3.8.6</version> | ||
| <scope>provided</scope> | ||
| </dependency> | ||
|
|
||
| <!-- Maven Plugin Annotations --> | ||
| <dependency> | ||
| <groupId>org.apache.maven.plugin-tools</groupId> | ||
| <artifactId>maven-plugin-annotations</artifactId> | ||
| <version>3.6.4</version> | ||
| <scope>provided</scope> | ||
| </dependency> | ||
|
|
||
| <!-- Maven Core --> | ||
| <dependency> | ||
| <groupId>org.apache.maven</groupId> | ||
| <artifactId>maven-core</artifactId> | ||
| <version>3.8.6</version> | ||
| <scope>provided</scope> </dependency> | ||
|
|
||
| <!-- JavaParser for extracting Javadoc --> | ||
| <dependency> | ||
| <groupId>com.github.javaparser</groupId> | ||
| <artifactId>javaparser-core</artifactId> | ||
| <version>3.25.5</version> | ||
| </dependency> | ||
|
|
||
| <!-- Swagger dependencies needed by OpenMRS webservices --> | ||
| <dependency> | ||
| <groupId>io.swagger</groupId> | ||
| <artifactId>swagger-core</artifactId> | ||
| <version>1.6.2</version> | ||
| </dependency> | ||
|
|
||
| <dependency> | ||
| <groupId>io.swagger</groupId> | ||
| <artifactId>swagger-models</artifactId> | ||
| <version>1.6.2</version> | ||
| </dependency> | ||
|
|
||
| <dependency> | ||
| <groupId>io.swagger</groupId> | ||
| <artifactId>swagger-annotations</artifactId> | ||
| <version>1.6.2</version> | ||
| </dependency> | ||
|
|
||
| <!-- OpenAPI 3.0 dependencies for specification generation --> | ||
| <dependency> | ||
| <groupId>io.swagger.core.v3</groupId> | ||
| <artifactId>swagger-core</artifactId> | ||
| <version>2.2.8</version> | ||
| </dependency> | ||
|
|
||
| <dependency> | ||
| <groupId>io.swagger.core.v3</groupId> | ||
| <artifactId>swagger-models</artifactId> | ||
| <version>2.2.8</version> | ||
| </dependency> | ||
|
|
||
| <dependency> | ||
| <groupId>io.swagger.core.v3</groupId> | ||
| <artifactId>swagger-annotations</artifactId> | ||
| <version>2.2.8</version> | ||
| </dependency> | ||
|
|
||
| <!-- JSON processing for OpenAPI output --> | ||
| <dependency> | ||
| <groupId>com.fasterxml.jackson.core</groupId> | ||
| <artifactId>jackson-databind</artifactId> | ||
| <version>2.15.2</version> | ||
| </dependency> | ||
|
|
||
| <dependency> | ||
| <groupId>com.fasterxml.jackson.dataformat</groupId> | ||
| <artifactId>jackson-dataformat-yaml</artifactId> | ||
| <version>2.15.2</version> | ||
| </dependency> | ||
|
|
||
| <!-- OpenMRS dependencies needed for runtime reflection --> | ||
| <dependency> | ||
| <groupId>org.openmrs.api</groupId> | ||
| <artifactId>openmrs-api</artifactId> | ||
| <version>2.7.0</version> | ||
| </dependency> | ||
|
|
||
| <dependency> | ||
| <groupId>org.openmrs.module</groupId> | ||
| <artifactId>webservices.rest-omod-common</artifactId> | ||
| <version>2.50.0-SNAPSHOT</version> | ||
| </dependency> | ||
|
|
||
| <!-- Spring Web - needed by Swagger libraries and OpenMRS REST resources --> | ||
| <dependency> | ||
| <groupId>org.springframework</groupId> | ||
| <artifactId>spring-web</artifactId> | ||
| <version>5.3.30</version> | ||
| </dependency> | ||
|
|
||
| <!-- Servlet API - needed by Spring Web --> | ||
| <dependency> | ||
| <groupId>javax.servlet</groupId> | ||
| <artifactId>servlet-api</artifactId> | ||
| <version>2.5</version> | ||
| </dependency> | ||
| </dependencies> | ||
|
|
||
| <build> | ||
| <plugins> | ||
| <plugin> | ||
| <groupId>org.apache.maven.plugins</groupId> | ||
| <artifactId>maven-plugin-plugin</artifactId> | ||
| <version>3.6.4</version> | ||
| <executions> | ||
| <execution> | ||
| <id>default-descriptor</id> | ||
| <phase>process-classes</phase> | ||
| <goals> | ||
| <goal>descriptor</goal> | ||
| </goals> | ||
| </execution> | ||
| </executions> | ||
| </plugin> | ||
| <plugin> | ||
| <groupId>org.apache.maven.plugins</groupId> | ||
| <artifactId>maven-compiler-plugin</artifactId> | ||
| <version>3.10.1</version> | ||
| <configuration> | ||
| <source>1.8</source> | ||
| <target>1.8</target> | ||
| </configuration> | ||
| </plugin> | ||
| </plugins> | ||
| </build> | ||
| </project> | ||
Uh oh!
There was an error while loading. Please reload this page.