<?xml version="1.0" encoding="UTF-8"?>
<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>

    <parent>
        <artifactId>dirigible-components-parent</artifactId>
        <groupId>org.eclipse.dirigible</groupId>
        <version>14.95.0</version>
        <relativePath>../../pom.xml</relativePath>
    </parent>

    <name>Components - Engine - OpenAPI</name>
    <artifactId>dirigible-components-engine-openapi</artifactId>
    <packaging>jar</packaging>

    <dependencies>
        <dependency>
            <groupId>org.eclipse.dirigible</groupId>
            <artifactId>dirigible-components-core-base</artifactId>
        </dependency>
        <dependency>
            <groupId>org.eclipse.dirigible</groupId>
            <artifactId>dirigible-components-core-repository</artifactId>
        </dependency>
        <dependency>
            <groupId>org.eclipse.dirigible</groupId>
            <artifactId>dirigible-components-core-version</artifactId>
        </dependency>
        <dependency>
            <groupId>org.eclipse.dirigible</groupId>
            <artifactId>dirigible-components-data-store</artifactId>
        </dependency>
        <dependency>
	    	<groupId>org.eclipse.dirigible</groupId>
			<artifactId>dirigible-parsers-typescript</artifactId>
    	</dependency>

        <!-- swagger-parser-v3, NOT the swagger-parser aggregator (#7789). The aggregator adds
             swagger-parser-v2-converter and with it the whole Swagger 1.x line: swagger-core 1.6.16,
             swagger-models 1.6.16, swagger-parser 1.0.76, swagger-compat-spec-parser,
             json-schema-validator 2.2.14 with json-schema-core and jopt-simple, and rhino (1.4 MB).
             This module parses with io.swagger.v3.parser.OpenAPIV3Parser, which is the v3
             implementation itself - the 2.0 conversion happens only in io.swagger.parser.OpenAPIParser,
             the facade that iterates SwaggerParserExtension providers, and nothing here uses it. So a
             Swagger 2.0 input document does not work today either way; dropping the converter removes
             the second Swagger model line rather than a feature. -->
        <dependency>
            <groupId>io.swagger.parser.v3</groupId>
            <artifactId>swagger-parser-v3</artifactId>
            <version>2.1.48</version>
            <exclusions>
            	<exclusion>
            		<groupId>javax.validation</groupId>
            		<artifactId>validation-api</artifactId>
            	</exclusion>
            </exclusions>
        </dependency>
        <dependency>
        	<groupId>org.springframework.boot</groupId>
        	<artifactId>spring-boot-starter-validation</artifactId>
        	<exclusions>
        		<exclusion>
        			<groupId>org.apache.logging.log4j</groupId>
        			<artifactId>log4j-to-slf4j</artifactId>
        		</exclusion>
        	</exclusions>
        </dependency>
        <dependency>
		    <groupId>org.springdoc</groupId>
		    <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
		    <version>${springdoc.version}</version>
		</dependency>
		 <!-- Tests -->
		 <dependency>
	    	<groupId>org.eclipse.dirigible</groupId>
			<artifactId>dirigible-components-ide-git</artifactId>
			<scope>test</scope>
    	</dependency>

    </dependencies>
    
    

    <properties>
        <license.header.location>../../../licensing-header.txt</license.header.location>
        <parent.pom.folder>../../../</parent.pom.folder>
    </properties>

</project>
