This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/pom.xml b/pom.xml | |
index 402a6a8..0fedd31 100644 | |
--- a/pom.xml | |
+++ b/pom.xml | |
@@ -636,7 +636,7 @@ | |
</configOptions> | |
<importMappings> | |
- <importMapping>PersonalStatusType=at.swgt.model.PersonalStatusType</importMapping> | |
+<!-- <importMapping>PersonalStatusType=at.swgt.model.PersonalStatusType</importMapping>--> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/main/java/org/openapitools/client/model/Animal.java b/src/main/java/org/openapitools/client/model/Animal.java | |
index 5f33e7f..d2f8fe6 100644 | |
--- a/src/main/java/org/openapitools/client/model/Animal.java | |
+++ b/src/main/java/org/openapitools/client/model/Animal.java | |
@@ -108,13 +108,13 @@ public class Animal { | |
public static final String SERIALIZED_NAME_PET_TYPE = "petType"; | |
@SerializedName(SERIALIZED_NAME_PET_TYPE) | |
- @javax.annotation.Nonnull | |
protected PetTypeEnum petType; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openapi: 3.1.0 | |
info: | |
version: 1.0.0 | |
description: dummy | |
title: dummy | |
paths: | |
/: | |
post: | |
requestBody: | |
content: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openapi: 3.0.3 | |
info: | |
version: 1.0.0 | |
title: initialization demo | |
paths: | |
/: | |
get: | |
responses: | |
'200': | |
description: dummy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.openapitools.client; | |
import org.openapitools.client.api.DefaultApi; | |
import java.time.OffsetDateTime; | |
public class Main { | |
public static void main(String[] args) { | |
DefaultApi apiInstance = new DefaultApi(new ApiClient()); | |
String result = apiInstance.anythingGet(OffsetDateTime.now()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package demo; | |
import org.springframework.boot.SpringApplication; | |
import org.springframework.boot.autoconfigure.SpringBootApplication; | |
import org.springframework.http.HttpStatus; | |
import org.springframework.http.ResponseEntity; | |
import org.springframework.stereotype.Controller; | |
import org.springframework.validation.annotation.Validated; | |
import org.springframework.web.bind.annotation.RequestMapping; | |
import org.springframework.web.bind.annotation.RequestMethod; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openapi: 3.0.3 | |
info: | |
title: example of a parent schema with discriminator property that is an enum | |
version: "2.0" | |
paths: | |
"/pet/{petId}": | |
get: | |
summary: Find pet by id | |
operationId: getBetById | |
parameters: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
swagger: "2.0" | |
info: | |
title: dummy | |
version: dummy | |
paths: | |
/property: | |
post: | |
consumes: | |
- application/x-www-form-urlencoded | |
parameters: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
swagger: '2.0' | |
info: | |
description: "This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\" | |
version: 1.0.0 | |
title: OpenAPI Petstore | |
paths: | |
'/': | |
get: | |
description: dummy | |
operationId: getSingle |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def layout = session.lookup('org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout'); | |
def repoFactory = session.lookup('org.apache.maven.artifact.repository.ArtifactRepositoryFactory'); | |
def repository = repoFactory.createDeploymentArtifactRepository( | |
project.distributionManagement.repository.id, | |
project.distributionManagement.repository.url, | |
layout, true ); | |
def snapshotRepository = repoFactory.createDeploymentArtifactRepository( | |
project.distributionManagement.snapshotRepository.id, |
NewerOlder