From 65e8794bcb4188cad89713fe5d9ffe89a5509f47 Mon Sep 17 00:00:00 2001 From: Julien Lengrand-Lambert Date: Fri, 25 Nov 2022 14:38:45 +0100 Subject: [PATCH] Adding dummy versions, my IDE crashed --- .../JetbrainsHttpClientClientCodegen.java | 17 +- .../jetbrains-http-client/README.mustache | 11 + .../jetbrains-http-client/api.bkp.mustache | 29 + .../jetbrains-http-client/api.mustache | 11 + .../jetbrains-http-client/model.mustache | 16 + report | 2807 +++++++++++++++++ .../http/client/.openapi-generator-ignore | 23 + .../http/client/.openapi-generator/FILES | 10 + .../http/client/.openapi-generator/VERSION | 1 + .../http/client/Apis/PetApi.http | 154 + .../http/client/Apis/StoreApi.http | 74 + .../http/client/Apis/UserApi.http | 148 + .../http/client/Models/ApiResponse.http | 8 + .../http/client/Models/Category.http | 7 + .../http/client/Models/Order.http | 11 + .../jetbrains-bkp/http/client/Models/Pet.http | 11 + .../jetbrains-bkp/http/client/Models/Tag.http | 7 + .../http/client/Models/User.http | 13 + .../jetbrains-bkp/http/client/README.md | 28 + .../http/client/.openapi-generator-ignore | 23 + .../http/client/.openapi-generator/FILES | 10 + .../http/client/.openapi-generator/VERSION | 1 + .../jetbrains/http/client/Apis/PetApi.http | 42 + .../jetbrains/http/client/Apis/StoreApi.http | 22 + .../jetbrains/http/client/Apis/UserApi.http | 42 + .../http/client/Models/ApiResponse.http | 8 + .../http/client/Models/Category.http | 7 + .../jetbrains/http/client/Models/Order.http | 11 + .../jetbrains/http/client/Models/Pet.http | 11 + .../jetbrains/http/client/Models/Tag.http | 7 + .../jetbrains/http/client/Models/User.http | 13 + .../petstore/jetbrains/http/client/README.md | 28 + 32 files changed, 3609 insertions(+), 2 deletions(-) create mode 100644 modules/openapi-generator/src/main/resources/jetbrains-http-client/api.bkp.mustache create mode 100644 report create mode 100644 samples/client/petstore/jetbrains-bkp/http/client/.openapi-generator-ignore create mode 100644 samples/client/petstore/jetbrains-bkp/http/client/.openapi-generator/FILES create mode 100644 samples/client/petstore/jetbrains-bkp/http/client/.openapi-generator/VERSION create mode 100644 samples/client/petstore/jetbrains-bkp/http/client/Apis/PetApi.http create mode 100644 samples/client/petstore/jetbrains-bkp/http/client/Apis/StoreApi.http create mode 100644 samples/client/petstore/jetbrains-bkp/http/client/Apis/UserApi.http create mode 100644 samples/client/petstore/jetbrains-bkp/http/client/Models/ApiResponse.http create mode 100644 samples/client/petstore/jetbrains-bkp/http/client/Models/Category.http create mode 100644 samples/client/petstore/jetbrains-bkp/http/client/Models/Order.http create mode 100644 samples/client/petstore/jetbrains-bkp/http/client/Models/Pet.http create mode 100644 samples/client/petstore/jetbrains-bkp/http/client/Models/Tag.http create mode 100644 samples/client/petstore/jetbrains-bkp/http/client/Models/User.http create mode 100644 samples/client/petstore/jetbrains-bkp/http/client/README.md create mode 100644 samples/client/petstore/jetbrains/http/client/.openapi-generator-ignore create mode 100644 samples/client/petstore/jetbrains/http/client/.openapi-generator/FILES create mode 100644 samples/client/petstore/jetbrains/http/client/.openapi-generator/VERSION create mode 100644 samples/client/petstore/jetbrains/http/client/Apis/PetApi.http create mode 100644 samples/client/petstore/jetbrains/http/client/Apis/StoreApi.http create mode 100644 samples/client/petstore/jetbrains/http/client/Apis/UserApi.http create mode 100644 samples/client/petstore/jetbrains/http/client/Models/ApiResponse.http create mode 100644 samples/client/petstore/jetbrains/http/client/Models/Category.http create mode 100644 samples/client/petstore/jetbrains/http/client/Models/Order.http create mode 100644 samples/client/petstore/jetbrains/http/client/Models/Pet.http create mode 100644 samples/client/petstore/jetbrains/http/client/Models/Tag.http create mode 100644 samples/client/petstore/jetbrains/http/client/Models/User.http create mode 100644 samples/client/petstore/jetbrains/http/client/README.md diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JetbrainsHttpClientClientCodegen.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JetbrainsHttpClientClientCodegen.java index 217688440f..7105ac6765 100644 --- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JetbrainsHttpClientClientCodegen.java +++ b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JetbrainsHttpClientClientCodegen.java @@ -35,12 +35,25 @@ public class JetbrainsHttpClientClientCodegen extends DefaultCodegen implements super(); outputFolder = "generated-code" + File.separator + "jetbrains-http-client"; - modelTemplateFiles.put("model.mustache", ".zz"); - apiTemplateFiles.put("api.mustache", ".zz"); + modelTemplateFiles.put("model.mustache", ".http"); + apiTemplateFiles.put("api.mustache", ".http"); embeddedTemplateDir = templateDir = "jetbrains-http-client"; apiPackage = "Apis"; modelPackage = "Models"; supportingFiles.add(new SupportingFile("README.mustache", "", "README.md")); // TODO: Fill this out. } + + @Override +// protected ImmutableMap.Builder addMustacheLambdas() { +// return super.addMustacheLambdas() +// .put("doubleMustache", new DoubleMustache()); +// } +// +// private static class DoubleMustache implements Mustache.Lambda { +// @Override +// public void execute(final Template.Fragment fragment, final Writer writer) throws IOException { +// writer.write(fragment.execute().replaceAll("{", "{{")); +// } +// } } diff --git a/modules/openapi-generator/src/main/resources/jetbrains-http-client/README.mustache b/modules/openapi-generator/src/main/resources/jetbrains-http-client/README.mustache index e69de29bb2..1ab434d44a 100644 --- a/modules/openapi-generator/src/main/resources/jetbrains-http-client/README.mustache +++ b/modules/openapi-generator/src/main/resources/jetbrains-http-client/README.mustache @@ -0,0 +1,11 @@ +# # Documentation for {{appName}} + +{{#generateApiDocs}} + + ## Documentation for API Endpoints + All URIs are relative to *{{{basePath}}}* + Class | Method | HTTP request | Description + ------------ | ------------- | ------------- | ------------- + {{#apiInfo}}{{#apis}}{{#operations}}{{#operation}}*{{classname}}* | [**{{operationId}}**](Apis/{{apiDocPath}}{{classname}}.md#{{operationIdLowerCase}}) | **{{httpMethod}}** {{path}} | {{#summary}}{{{summary}}}{{/summary}} + {{/operation}}{{/operations}}{{/apis}}{{/apiInfo}} +{{/generateApiDocs}} diff --git a/modules/openapi-generator/src/main/resources/jetbrains-http-client/api.bkp.mustache b/modules/openapi-generator/src/main/resources/jetbrains-http-client/api.bkp.mustache new file mode 100644 index 0000000000..af3cb6771a --- /dev/null +++ b/modules/openapi-generator/src/main/resources/jetbrains-http-client/api.bkp.mustache @@ -0,0 +1,29 @@ +# {{classname}}{{#description}} + {{description}}{{/description}} +All URIs are relative to *{{basePath}}* +Method | HTTP request | Description +------------- | ------------- | ------------- +{{#operations}}{{#operation}}[**{{operationId}}**]({{classname}}.md#{{operationId}}) | **{{httpMethod}}** {{path}} | {{#summary}}{{summary}}{{/summary}} +{{/operation}}{{/operations}} +{{#operations}} + {{#operation}} + + # **{{operationId}}** + > {{#returnType}}{{returnType}} {{/returnType}}{{operationId}}({{#allParams}}{{{paramName}}}{{^-last}}, {{/-last}}{{/allParams}}) + {{summary}}{{#notes}} + {{notes}}{{/notes}} + ### Parameters + {{^allParams}}This endpoint does not need any parameter.{{/allParams}}{{#allParams}}{{#-last}} + Name | Type | Description | Notes + ------------- | ------------- | ------------- | -------------{{/-last}}{{/allParams}} + {{#allParams}} **{{paramName}}** | {{#isPrimitiveType}}**{{dataType}}**{{/isPrimitiveType}}{{^isPrimitiveType}}{{#isFile}}**{{dataType}}**{{/isFile}}{{^isFile}}{{#generateModelDocs}}[**{{dataType}}**]({{baseType}}.md){{/generateModelDocs}}{{^generateModelDocs}}**{{dataType}}**{{/generateModelDocs}}{{/isFile}}{{/isPrimitiveType}}| {{description}} |{{^required}} [optional]{{/required}}{{#defaultValue}} [default to {{defaultValue}}]{{/defaultValue}}{{#allowableValues}} [enum: {{#values}}{{{.}}}{{^-last}}, {{/-last}}{{/values}}]{{/allowableValues}} + {{/allParams}} + ### Return type + {{#returnType}}{{#returnTypeIsPrimitive}}**{{returnType}}**{{/returnTypeIsPrimitive}}{{^returnTypeIsPrimitive}}{{#generateModelDocs}}[**{{returnType}}**]({{returnBaseType}}.md){{/generateModelDocs}}{{^generateModelDocs}}**{{returnType}}**{{/generateModelDocs}}{{/returnTypeIsPrimitive}}{{/returnType}}{{^returnType}}null (empty response body){{/returnType}} + ### Authorization + {{^authMethods}}No authorization required{{/authMethods}}{{#authMethods}}[{{name}}](../README.md#{{name}}){{^-last}}, {{/-last}}{{/authMethods}} + ### HTTP request headers + - **Content-Type**: {{#consumes}}{{{mediaType}}}{{^-last}}, {{/-last}}{{/consumes}}{{^consumes}}Not defined{{/consumes}} + - **Accept**: {{#produces}}{{{mediaType}}}{{^-last}}, {{/-last}}{{/produces}}{{^produces}}Not defined{{/produces}} + {{/operation}} +{{/operations}} \ No newline at end of file diff --git a/modules/openapi-generator/src/main/resources/jetbrains-http-client/api.mustache b/modules/openapi-generator/src/main/resources/jetbrains-http-client/api.mustache index e69de29bb2..743d95a672 100644 --- a/modules/openapi-generator/src/main/resources/jetbrains-http-client/api.mustache +++ b/modules/openapi-generator/src/main/resources/jetbrains-http-client/api.mustache @@ -0,0 +1,11 @@ +## {{classname}} + +{{#operations}} +{{#operation}} +### {{#summary}}{{summary}}{{/summary}} +# {{operationId}} +{{httpMethod}} {{basePath}}{{#lambda.doubleMustache}}{{path}}{{/lambda.doubleMustache}} + + +{{/operation}} +{{/operations}} \ No newline at end of file diff --git a/modules/openapi-generator/src/main/resources/jetbrains-http-client/model.mustache b/modules/openapi-generator/src/main/resources/jetbrains-http-client/model.mustache index e69de29bb2..8ca978dfc1 100644 --- a/modules/openapi-generator/src/main/resources/jetbrains-http-client/model.mustache +++ b/modules/openapi-generator/src/main/resources/jetbrains-http-client/model.mustache @@ -0,0 +1,16 @@ +{{#models}} + {{#model}} + # {{{packageName}}}.{{modelPackage}}.{{{classname}}} + ## Properties + Name | Type | Description | Notes + ------------ | ------------- | ------------- | ------------- + {{#parent}} + {{#parentVars}} + **{{name}}** | {{#isPrimitiveType}}**{{dataType}}**{{/isPrimitiveType}}{{^isPrimitiveType}}[**{{dataType}}**]({{complexType}}.md){{/isPrimitiveType}} | {{description}} | {{^required}}[optional] {{/required}}{{#readOnly}}[readonly] {{/readOnly}}{{#defaultValue}}[default to {{{.}}}]{{/defaultValue}} + {{/parentVars}} + {{/parent}} + {{#vars}}**{{name}}** | {{#isPrimitiveType}}**{{dataType}}**{{/isPrimitiveType}}{{^isPrimitiveType}}[**{{dataType}}**]({{complexType}}.md){{/isPrimitiveType}} | {{description}} | {{^required}}[optional] {{/required}}{{#readOnly}}[readonly] {{/readOnly}}{{#defaultValue}}[default to {{{.}}}]{{/defaultValue}} + {{/vars}} + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + {{/model}} +{{/models}} \ No newline at end of file diff --git a/report b/report new file mode 100644 index 0000000000..76f7293bba --- /dev/null +++ b/report @@ -0,0 +1,2807 @@ +# START SCRIPT: ./bin/generate-samples.sh +This script generates all configs under bin/configs by default. +You may generate a targeted script or set of scripts using glob patterns. + +For example: + ./bin/generate-samples.sh bin/configs/java-* + +You may generate a single config with additional options if you use -- to +separate the single config file from the generator arguments. + +For example: + ./bin/generate-samples.sh bin/configs/java-vertx.yaml -- --global-property debugModels=true + + +[main] INFO o.o.codegen.DefaultGenerator - Generating with dryRun=false +[main] INFO o.o.codegen.DefaultGenerator - OpenAPI Generator: jetbrains-http-client (client) +[main] INFO o.o.codegen.DefaultGenerator - Generator 'jetbrains-http-client' is considered stable. +[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as updatePetWithForm_request. To have complete control of the model name, set the `title` field or use the inlineSchemaNameMapping option (--inline-schema-name-mappings in CLI). +[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as uploadFile_request. To have complete control of the model name, set the `title` field or use the inlineSchemaNameMapping option (--inline-schema-name-mappings in CLI). +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] INFO o.o.codegen.DefaultGenerator - Model updatePetWithForm_request not generated since it's marked as unused (due to form parameters) and `skipFormModel` (global property) set to true (default) +[main] INFO o.o.codegen.DefaultGenerator - Model uploadFile_request not generated since it's marked as unused (due to form parameters) and `skipFormModel` (global property) set to true (default) +[main] INFO o.o.codegen.TemplateManager - writing file samples/client/petstore/jetbrains/http/client/Models/ApiResponse.http +[main] INFO o.o.codegen.TemplateManager - writing file samples/client/petstore/jetbrains/http/client/Models/Category.http +[main] INFO o.o.codegen.TemplateManager - writing file samples/client/petstore/jetbrains/http/client/Models/Order.http +[main] INFO o.o.codegen.TemplateManager - writing file samples/client/petstore/jetbrains/http/client/Models/Pet.http +[main] INFO o.o.codegen.TemplateManager - writing file samples/client/petstore/jetbrains/http/client/Models/Tag.http +[main] INFO o.o.codegen.TemplateManager - writing file samples/client/petstore/jetbrains/http/client/Models/User.http +[main] INFO o.o.codegen.DefaultGenerator - processOperation: resourcePath= /pet ;put class Operation { + tags: [pet] + summary: Update an existing pet + description: + externalDocs: null + operationId: updatePet + parameters: null + requestBody: class RequestBody { + description: null + content: null + required: null + } + responses: class ApiResponses { + {200=class ApiResponse { + description: successful operation + headers: null + content: class Content { + {application/xml=class MediaType { + schema: class Schema { + type: null + format: null + $ref: #/components/schemas/Pet + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null + } + examples: null + example: null + encoding: null + }, application/json=class MediaType { + schema: class Schema { + type: null + format: null + $ref: #/components/schemas/Pet + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null + } + examples: null + example: null + encoding: null + }} + } + links: null + extensions: null + $ref: null + }, 400=class ApiResponse { + description: Invalid ID supplied + headers: null + content: null + links: null + extensions: null + $ref: null + }, 404=class ApiResponse { + description: Pet not found + headers: null + content: null + links: null + extensions: null + $ref: null + }, 405=class ApiResponse { + description: Validation exception + headers: null + content: null + links: null + extensions: null + $ref: null + }} + extensions: null + } + callbacks: null + deprecated: null + security: [class SecurityRequirement { + {petstore_auth=[write:pets, read:pets]} + }] + servers: null +} + +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeQuotationMark should be overridden in the code generator with proper logic to escape single/double quote +[main] WARN o.o.codegen.DefaultCodegen - escapeQuotationMark should be overridden in the code generator with proper logic to escape single/double quote +[main] WARN o.o.codegen.DefaultCodegen - escapeQuotationMark should be overridden in the code generator with proper logic to escape single/double quote +[main] WARN o.o.codegen.DefaultCodegen - escapeQuotationMark should be overridden in the code generator with proper logic to escape single/double quote +[main] WARN o.o.codegen.utils.ModelUtils - Multiple schemas found in the OAS 'content' section, returning only the first one (application/xml) +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.utils.ModelUtils - Multiple schemas found in the OAS 'content' section, returning only the first one (application/xml) +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.utils.ModelUtils - Multiple schemas found in the OAS 'content' section, returning only the first one (application/json) +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - Multiple MediaTypes found, using only the first one +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] INFO o.o.codegen.DefaultGenerator - processOperation: resourcePath= /pet ;post class Operation { + tags: [pet] + summary: Add a new pet to the store + description: + externalDocs: null + operationId: addPet + parameters: null + requestBody: class RequestBody { + description: null + content: null + required: null + } + responses: class ApiResponses { + {200=class ApiResponse { + description: successful operation + headers: null + content: class Content { + {application/xml=class MediaType { + schema: class Schema { + type: null + format: null + $ref: #/components/schemas/Pet + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null + } + examples: null + example: null + encoding: null + }, application/json=class MediaType { + schema: class Schema { + type: null + format: null + $ref: #/components/schemas/Pet + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null + } + examples: null + example: null + encoding: null + }} + } + links: null + extensions: null + $ref: null + }, 405=class ApiResponse { + description: Invalid input + headers: null + content: null + links: null + extensions: null + $ref: null + }} + extensions: null + } + callbacks: null + deprecated: null + security: [class SecurityRequirement { + {petstore_auth=[write:pets, read:pets]} + }] + servers: null +} + +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeQuotationMark should be overridden in the code generator with proper logic to escape single/double quote +[main] WARN o.o.codegen.DefaultCodegen - escapeQuotationMark should be overridden in the code generator with proper logic to escape single/double quote +[main] WARN o.o.codegen.DefaultCodegen - escapeQuotationMark should be overridden in the code generator with proper logic to escape single/double quote +[main] WARN o.o.codegen.DefaultCodegen - escapeQuotationMark should be overridden in the code generator with proper logic to escape single/double quote +[main] WARN o.o.codegen.utils.ModelUtils - Multiple schemas found in the OAS 'content' section, returning only the first one (application/xml) +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.utils.ModelUtils - Multiple schemas found in the OAS 'content' section, returning only the first one (application/xml) +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.utils.ModelUtils - Multiple schemas found in the OAS 'content' section, returning only the first one (application/json) +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] INFO o.o.codegen.DefaultGenerator - processOperation: resourcePath= /pet/findByStatus ;get class Operation { + tags: [pet] + summary: Finds Pets by status + description: Multiple status values can be provided with comma separated strings + externalDocs: null + operationId: findPetsByStatus + parameters: [class QueryParameter { + class Parameter { + name: status + in: null + description: Status values that need to be considered for filter + required: true + deprecated: true + allowEmptyValue: null + style: form + explode: false + allowReserved: null + schema: class ArraySchema { + class Schema { + type: array + format: null + $ref: null + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null + } + } + examples: null + example: null + content: null + $ref: null + } + in: query + }] + requestBody: null + responses: class ApiResponses { + {200=class ApiResponse { + description: successful operation + headers: null + content: class Content { + {application/xml=class MediaType { + schema: class ArraySchema { + class Schema { + type: array + format: null + $ref: null + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null + } + } + examples: null + example: null + encoding: null + }, application/json=class MediaType { + schema: class ArraySchema { + class Schema { + type: array + format: null + $ref: null + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null + } + } + examples: null + example: null + encoding: null + }} + } + links: null + extensions: null + $ref: null + }, 400=class ApiResponse { + description: Invalid status value + headers: null + content: null + links: null + extensions: null + $ref: null + }} + extensions: null + } + callbacks: null + deprecated: null + security: [class SecurityRequirement { + {petstore_auth=[read:pets]} + }] + servers: null +} + +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeQuotationMark should be overridden in the code generator with proper logic to escape single/double quote +[main] WARN o.o.codegen.DefaultCodegen - escapeQuotationMark should be overridden in the code generator with proper logic to escape single/double quote +[main] WARN o.o.codegen.utils.ModelUtils - Multiple schemas found in the OAS 'content' section, returning only the first one (application/xml) +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.utils.ModelUtils - Multiple schemas found in the OAS 'content' section, returning only the first one (application/xml) +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] INFO o.o.codegen.DefaultGenerator - processOperation: resourcePath= /pet/findByTags ;get class Operation { + tags: [pet] + summary: Finds Pets by tags + description: Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing. + externalDocs: null + operationId: findPetsByTags + parameters: [class QueryParameter { + class Parameter { + name: tags + in: null + description: Tags to filter by + required: true + deprecated: null + allowEmptyValue: null + style: form + explode: false + allowReserved: null + schema: class ArraySchema { + class Schema { + type: array + format: null + $ref: null + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null + } + } + examples: null + example: null + content: null + $ref: null + } + in: query + }] + requestBody: null + responses: class ApiResponses { + {200=class ApiResponse { + description: successful operation + headers: null + content: class Content { + {application/xml=class MediaType { + schema: class ArraySchema { + class Schema { + type: array + format: null + $ref: null + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null + } + } + examples: null + example: null + encoding: null + }, application/json=class MediaType { + schema: class ArraySchema { + class Schema { + type: array + format: null + $ref: null + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null + } + } + examples: null + example: null + encoding: null + }} + } + links: null + extensions: null + $ref: null + }, 400=class ApiResponse { + description: Invalid tag value + headers: null + content: null + links: null + extensions: null + $ref: null + }} + extensions: null + } + callbacks: null + deprecated: true + security: [class SecurityRequirement { + {petstore_auth=[read:pets]} + }] + servers: null +} + +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeQuotationMark should be overridden in the code generator with proper logic to escape single/double quote +[main] WARN o.o.codegen.DefaultCodegen - escapeQuotationMark should be overridden in the code generator with proper logic to escape single/double quote +[main] WARN o.o.codegen.utils.ModelUtils - Multiple schemas found in the OAS 'content' section, returning only the first one (application/xml) +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.utils.ModelUtils - Multiple schemas found in the OAS 'content' section, returning only the first one (application/xml) +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] INFO o.o.codegen.DefaultGenerator - processOperation: resourcePath= /pet/{petId} ;get class Operation { + tags: [pet] + summary: Find pet by ID + description: Returns a single pet + externalDocs: null + operationId: getPetById + parameters: [class PathParameter { + class Parameter { + name: petId + in: null + description: ID of pet to return + required: null + deprecated: null + allowEmptyValue: null + style: simple + explode: false + allowReserved: null + schema: class IntegerSchema { + class Schema { + type: integer + format: int64 + $ref: null + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null + } + } + examples: null + example: null + content: null + $ref: null + } + in: path + required: true + }] + requestBody: null + responses: class ApiResponses { + {200=class ApiResponse { + description: successful operation + headers: null + content: class Content { + {application/xml=class MediaType { + schema: class Schema { + type: null + format: null + $ref: #/components/schemas/Pet + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null + } + examples: null + example: null + encoding: null + }, application/json=class MediaType { + schema: class Schema { + type: null + format: null + $ref: #/components/schemas/Pet + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null + } + examples: null + example: null + encoding: null + }} + } + links: null + extensions: null + $ref: null + }, 400=class ApiResponse { + description: Invalid ID supplied + headers: null + content: null + links: null + extensions: null + $ref: null + }, 404=class ApiResponse { + description: Pet not found + headers: null + content: null + links: null + extensions: null + $ref: null + }} + extensions: null + } + callbacks: null + deprecated: null + security: [class SecurityRequirement { + {api_key=[]} + }] + servers: null +} + +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeQuotationMark should be overridden in the code generator with proper logic to escape single/double quote +[main] WARN o.o.codegen.DefaultCodegen - escapeQuotationMark should be overridden in the code generator with proper logic to escape single/double quote +[main] WARN o.o.codegen.utils.ModelUtils - Multiple schemas found in the OAS 'content' section, returning only the first one (application/xml) +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.utils.ModelUtils - Multiple schemas found in the OAS 'content' section, returning only the first one (application/xml) +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] INFO o.o.codegen.DefaultGenerator - processOperation: resourcePath= /pet/{petId} ;post class Operation { + tags: [pet] + summary: Updates a pet in the store with form data + description: + externalDocs: null + operationId: updatePetWithForm + parameters: [class PathParameter { + class Parameter { + name: petId + in: null + description: ID of pet that needs to be updated + required: null + deprecated: null + allowEmptyValue: null + style: simple + explode: false + allowReserved: null + schema: class IntegerSchema { + class Schema { + type: integer + format: int64 + $ref: null + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null + } + } + examples: null + example: null + content: null + $ref: null + } + in: path + required: true + }] + requestBody: class RequestBody { + description: null + content: class Content { + {application/x-www-form-urlencoded=class MediaType { + schema: class Schema { + type: null + format: null + $ref: #/components/schemas/updatePetWithForm_request + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null + } + examples: null + example: null + encoding: null + }} + } + required: null + } + responses: class ApiResponses { + {405=class ApiResponse { + description: Invalid input + headers: null + content: null + links: null + extensions: null + $ref: null + }} + extensions: null + } + callbacks: null + deprecated: null + security: [class SecurityRequirement { + {petstore_auth=[write:pets, read:pets]} + }] + servers: null +} + +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeQuotationMark should be overridden in the code generator with proper logic to escape single/double quote +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] INFO o.o.codegen.DefaultGenerator - processOperation: resourcePath= /pet/{petId} ;delete class Operation { + tags: [pet] + summary: Deletes a pet + description: + externalDocs: null + operationId: deletePet + parameters: [class HeaderParameter { + class Parameter { + name: api_key + in: null + description: null + required: false + deprecated: null + allowEmptyValue: null + style: simple + explode: false + allowReserved: null + schema: class StringSchema { + class Schema { + type: string + format: null + $ref: null + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null + } + } + examples: null + example: null + content: null + $ref: null + } + in: header + }, class PathParameter { + class Parameter { + name: petId + in: null + description: Pet id to delete + required: null + deprecated: null + allowEmptyValue: null + style: simple + explode: false + allowReserved: null + schema: class IntegerSchema { + class Schema { + type: integer + format: int64 + $ref: null + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null + } + } + examples: null + example: null + content: null + $ref: null + } + in: path + required: true + }] + requestBody: null + responses: class ApiResponses { + {400=class ApiResponse { + description: Invalid pet value + headers: null + content: null + links: null + extensions: null + $ref: null + }} + extensions: null + } + callbacks: null + deprecated: null + security: [class SecurityRequirement { + {petstore_auth=[write:pets, read:pets]} + }] + servers: null +} + +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] INFO o.o.codegen.DefaultGenerator - processOperation: resourcePath= /pet/{petId}/uploadImage ;post class Operation { + tags: [pet] + summary: uploads an image + description: + externalDocs: null + operationId: uploadFile + parameters: [class PathParameter { + class Parameter { + name: petId + in: null + description: ID of pet to update + required: null + deprecated: null + allowEmptyValue: null + style: simple + explode: false + allowReserved: null + schema: class IntegerSchema { + class Schema { + type: integer + format: int64 + $ref: null + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null + } + } + examples: null + example: null + content: null + $ref: null + } + in: path + required: true + }] + requestBody: class RequestBody { + description: null + content: class Content { + {multipart/form-data=class MediaType { + schema: class Schema { + type: null + format: null + $ref: #/components/schemas/uploadFile_request + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null + } + examples: null + example: null + encoding: null + }} + } + required: null + } + responses: class ApiResponses { + {200=class ApiResponse { + description: successful operation + headers: null + content: class Content { + {application/json=class MediaType { + schema: class Schema { + type: null + format: null + $ref: #/components/schemas/ApiResponse + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null + } + examples: null + example: null + encoding: null + }} + } + links: null + extensions: null + $ref: null + }} + extensions: null + } + callbacks: null + deprecated: null + security: [class SecurityRequirement { + {petstore_auth=[write:pets, read:pets]} + }] + servers: null +} + +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeQuotationMark should be overridden in the code generator with proper logic to escape single/double quote +[main] WARN o.o.codegen.DefaultCodegen - escapeQuotationMark should be overridden in the code generator with proper logic to escape single/double quote +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] INFO o.o.codegen.DefaultGenerator - processOperation: resourcePath= /store/inventory ;get class Operation { + tags: [store] + summary: Returns pet inventories by status + description: Returns a map of status codes to quantities + externalDocs: null + operationId: getInventory + parameters: null + requestBody: null + responses: class ApiResponses { + {200=class ApiResponse { + description: successful operation + headers: null + content: class Content { + {application/json=class MediaType { + schema: class MapSchema { + class Schema { + type: object + format: null + $ref: null + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: class IntegerSchema { + class Schema { + type: integer + format: int32 + $ref: null + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null + } + } + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null + } + } + examples: null + example: null + encoding: null + }} + } + links: null + extensions: null + $ref: null + }} + extensions: null + } + callbacks: null + deprecated: null + security: [class SecurityRequirement { + {api_key=[]} + }] + servers: null +} + +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeQuotationMark should be overridden in the code generator with proper logic to escape single/double quote +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] INFO o.o.codegen.DefaultGenerator - processOperation: resourcePath= /store/order ;post class Operation { + tags: [store] + summary: Place an order for a pet + description: + externalDocs: null + operationId: placeOrder + parameters: null + requestBody: class RequestBody { + description: order placed for purchasing the pet + content: class Content { + {application/json=class MediaType { + schema: class Schema { + type: null + format: null + $ref: #/components/schemas/Order + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null + } + examples: null + example: null + encoding: null + }} + } + required: true + } + responses: class ApiResponses { + {200=class ApiResponse { + description: successful operation + headers: null + content: class Content { + {application/xml=class MediaType { + schema: class Schema { + type: null + format: null + $ref: #/components/schemas/Order + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null + } + examples: null + example: null + encoding: null + }, application/json=class MediaType { + schema: class Schema { + type: null + format: null + $ref: #/components/schemas/Order + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null + } + examples: null + example: null + encoding: null + }} + } + links: null + extensions: null + $ref: null + }, 400=class ApiResponse { + description: Invalid Order + headers: null + content: null + links: null + extensions: null + $ref: null + }} + extensions: null + } + callbacks: null + deprecated: null + security: null + servers: null +} + +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeQuotationMark should be overridden in the code generator with proper logic to escape single/double quote +[main] WARN o.o.codegen.DefaultCodegen - escapeQuotationMark should be overridden in the code generator with proper logic to escape single/double quote +[main] WARN o.o.codegen.DefaultCodegen - escapeQuotationMark should be overridden in the code generator with proper logic to escape single/double quote +[main] WARN o.o.codegen.utils.ModelUtils - Multiple schemas found in the OAS 'content' section, returning only the first one (application/xml) +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.utils.ModelUtils - Multiple schemas found in the OAS 'content' section, returning only the first one (application/xml) +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] INFO o.o.codegen.DefaultGenerator - processOperation: resourcePath= /store/order/{orderId} ;get class Operation { + tags: [store] + summary: Find purchase order by ID + description: For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions + externalDocs: null + operationId: getOrderById + parameters: [class PathParameter { + class Parameter { + name: orderId + in: null + description: ID of pet that needs to be fetched + required: null + deprecated: null + allowEmptyValue: null + style: simple + explode: false + allowReserved: null + schema: class IntegerSchema { + class Schema { + type: integer + format: int64 + $ref: null + description: null + title: null + multipleOf: null + maximum: 5 + exclusiveMaximum: null + minimum: 1 + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null + } + } + examples: null + example: null + content: null + $ref: null + } + in: path + required: true + }] + requestBody: null + responses: class ApiResponses { + {200=class ApiResponse { + description: successful operation + headers: null + content: class Content { + {application/xml=class MediaType { + schema: class Schema { + type: null + format: null + $ref: #/components/schemas/Order + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null + } + examples: null + example: null + encoding: null + }, application/json=class MediaType { + schema: class Schema { + type: null + format: null + $ref: #/components/schemas/Order + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null + } + examples: null + example: null + encoding: null + }} + } + links: null + extensions: null + $ref: null + }, 400=class ApiResponse { + description: Invalid ID supplied + headers: null + content: null + links: null + extensions: null + $ref: null + }, 404=class ApiResponse { + description: Order not found + headers: null + content: null + links: null + extensions: null + $ref: null + }} + extensions: null + } + callbacks: null + deprecated: null + security: null + servers: null +} + +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeQuotationMark should be overridden in the code generator with proper logic to escape single/double quote +[main] WARN o.o.codegen.DefaultCodegen - escapeQuotationMark should be overridden in the code generator with proper logic to escape single/double quote +[main] WARN o.o.codegen.utils.ModelUtils - Multiple schemas found in the OAS 'content' section, returning only the first one (application/xml) +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.utils.ModelUtils - Multiple schemas found in the OAS 'content' section, returning only the first one (application/xml) +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] INFO o.o.codegen.DefaultGenerator - processOperation: resourcePath= /store/order/{orderId} ;delete class Operation { + tags: [store] + summary: Delete purchase order by ID + description: For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors + externalDocs: null + operationId: deleteOrder + parameters: [class PathParameter { + class Parameter { + name: orderId + in: null + description: ID of the order that needs to be deleted + required: null + deprecated: null + allowEmptyValue: null + style: simple + explode: false + allowReserved: null + schema: class StringSchema { + class Schema { + type: string + format: null + $ref: null + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null + } + } + examples: null + example: null + content: null + $ref: null + } + in: path + required: true + }] + requestBody: null + responses: class ApiResponses { + {400=class ApiResponse { + description: Invalid ID supplied + headers: null + content: null + links: null + extensions: null + $ref: null + }, 404=class ApiResponse { + description: Order not found + headers: null + content: null + links: null + extensions: null + $ref: null + }} + extensions: null + } + callbacks: null + deprecated: null + security: null + servers: null +} + +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] INFO o.o.codegen.DefaultGenerator - processOperation: resourcePath= /user ;post class Operation { + tags: [user] + summary: Create user + description: This can only be done by the logged in user. + externalDocs: null + operationId: createUser + parameters: null + requestBody: class RequestBody { + description: Created user object + content: class Content { + {application/json=class MediaType { + schema: class Schema { + type: null + format: null + $ref: #/components/schemas/User + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null + } + examples: null + example: null + encoding: null + }} + } + required: true + } + responses: class ApiResponses { + {default=class ApiResponse { + description: successful operation + headers: null + content: null + links: null + extensions: null + $ref: null + }} + extensions: null + } + callbacks: null + deprecated: null + security: [class SecurityRequirement { + {api_key=[]} + }] + servers: null +} + +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeQuotationMark should be overridden in the code generator with proper logic to escape single/double quote +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] INFO o.o.codegen.DefaultGenerator - processOperation: resourcePath= /user/createWithArray ;post class Operation { + tags: [user] + summary: Creates list of users with given input array + description: + externalDocs: null + operationId: createUsersWithArrayInput + parameters: null + requestBody: class RequestBody { + description: null + content: null + required: null + } + responses: class ApiResponses { + {default=class ApiResponse { + description: successful operation + headers: null + content: null + links: null + extensions: null + $ref: null + }} + extensions: null + } + callbacks: null + deprecated: null + security: [class SecurityRequirement { + {api_key=[]} + }] + servers: null +} + +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeQuotationMark should be overridden in the code generator with proper logic to escape single/double quote +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] INFO o.o.codegen.DefaultGenerator - processOperation: resourcePath= /user/createWithList ;post class Operation { + tags: [user] + summary: Creates list of users with given input array + description: + externalDocs: null + operationId: createUsersWithListInput + parameters: null + requestBody: class RequestBody { + description: null + content: null + required: null + } + responses: class ApiResponses { + {default=class ApiResponse { + description: successful operation + headers: null + content: null + links: null + extensions: null + $ref: null + }} + extensions: null + } + callbacks: null + deprecated: null + security: [class SecurityRequirement { + {api_key=[]} + }] + servers: null +} + +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeQuotationMark should be overridden in the code generator with proper logic to escape single/double quote +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] INFO o.o.codegen.DefaultGenerator - processOperation: resourcePath= /user/login ;get class Operation { + tags: [user] + summary: Logs user into the system + description: + externalDocs: null + operationId: loginUser + parameters: [class QueryParameter { + class Parameter { + name: username + in: null + description: The user name for login + required: true + deprecated: null + allowEmptyValue: null + style: form + explode: true + allowReserved: null + schema: class StringSchema { + class Schema { + type: string + format: null + $ref: null + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: ^[a-zA-Z0-9]+[a-zA-Z0-9\.\-_]*[a-zA-Z0-9]+$ + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null + } + } + examples: null + example: null + content: null + $ref: null + } + in: query + }, class QueryParameter { + class Parameter { + name: password + in: null + description: The password for login in clear text + required: true + deprecated: null + allowEmptyValue: null + style: form + explode: true + allowReserved: null + schema: class StringSchema { + class Schema { + type: string + format: null + $ref: null + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null + } + } + examples: null + example: null + content: null + $ref: null + } + in: query + }] + requestBody: null + responses: class ApiResponses { + {200=class ApiResponse { + description: successful operation + headers: {Set-Cookie=class Header { + description: Cookie authentication key for use with the `api_key` apiKey authentication. + required: null + deprecated: null + style: simple + explode: false + schema: class StringSchema { + class Schema { + type: string + format: null + $ref: null + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: AUTH_KEY=abcde12345; Path=/; HttpOnly + externalDocs: null + deprecated: null + discriminator: null + xml: null + } + } + examples: null + example: null + content: null + $ref: null + }, X-Rate-Limit=class Header { + description: calls per hour allowed by the user + required: null + deprecated: null + style: simple + explode: false + schema: class IntegerSchema { + class Schema { + type: integer + format: int32 + $ref: null + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null + } + } + examples: null + example: null + content: null + $ref: null + }, X-Expires-After=class Header { + description: date in UTC when token expires + required: null + deprecated: null + style: simple + explode: false + schema: class DateTimeSchema { + class Schema { + type: string + format: date-time + $ref: null + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null + } + } + examples: null + example: null + content: null + $ref: null + }} + content: class Content { + {application/xml=class MediaType { + schema: class StringSchema { + class Schema { + type: string + format: null + $ref: null + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null + } + } + examples: null + example: null + encoding: null + }, application/json=class MediaType { + schema: class StringSchema { + class Schema { + type: string + format: null + $ref: null + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null + } + } + examples: null + example: null + encoding: null + }} + } + links: null + extensions: null + $ref: null + }, 400=class ApiResponse { + description: Invalid username/password supplied + headers: null + content: null + links: null + extensions: null + $ref: null + }} + extensions: null + } + callbacks: null + deprecated: null + security: null + servers: null +} + +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeQuotationMark should be overridden in the code generator with proper logic to escape single/double quote +[main] WARN o.o.codegen.DefaultCodegen - escapeQuotationMark should be overridden in the code generator with proper logic to escape single/double quote +[main] WARN o.o.codegen.utils.ModelUtils - Multiple schemas found in the OAS 'content' section, returning only the first one (application/xml) +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.utils.ModelUtils - Multiple schemas found in the OAS 'content' section, returning only the first one (application/xml) +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] INFO o.o.codegen.DefaultGenerator - processOperation: resourcePath= /user/logout ;get class Operation { + tags: [user] + summary: Logs out current logged in user session + description: + externalDocs: null + operationId: logoutUser + parameters: null + requestBody: null + responses: class ApiResponses { + {default=class ApiResponse { + description: successful operation + headers: null + content: null + links: null + extensions: null + $ref: null + }} + extensions: null + } + callbacks: null + deprecated: null + security: [class SecurityRequirement { + {api_key=[]} + }] + servers: null +} + +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] INFO o.o.codegen.DefaultGenerator - processOperation: resourcePath= /user/{username} ;get class Operation { + tags: [user] + summary: Get user by user name + description: + externalDocs: null + operationId: getUserByName + parameters: [class PathParameter { + class Parameter { + name: username + in: null + description: The name that needs to be fetched. Use user1 for testing. + required: null + deprecated: null + allowEmptyValue: null + style: simple + explode: false + allowReserved: null + schema: class StringSchema { + class Schema { + type: string + format: null + $ref: null + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null + } + } + examples: null + example: null + content: null + $ref: null + } + in: path + required: true + }] + requestBody: null + responses: class ApiResponses { + {200=class ApiResponse { + description: successful operation + headers: null + content: class Content { + {application/xml=class MediaType { + schema: class Schema { + type: null + format: null + $ref: #/components/schemas/User + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null + } + examples: null + example: null + encoding: null + }, application/json=class MediaType { + schema: class Schema { + type: null + format: null + $ref: #/components/schemas/User + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null + } + examples: null + example: null + encoding: null + }} + } + links: null + extensions: null + $ref: null + }, 400=class ApiResponse { + description: Invalid username supplied + headers: null + content: null + links: null + extensions: null + $ref: null + }, 404=class ApiResponse { + description: User not found + headers: null + content: null + links: null + extensions: null + $ref: null + }} + extensions: null + } + callbacks: null + deprecated: null + security: null + servers: null +} + +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeQuotationMark should be overridden in the code generator with proper logic to escape single/double quote +[main] WARN o.o.codegen.DefaultCodegen - escapeQuotationMark should be overridden in the code generator with proper logic to escape single/double quote +[main] WARN o.o.codegen.utils.ModelUtils - Multiple schemas found in the OAS 'content' section, returning only the first one (application/xml) +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.utils.ModelUtils - Multiple schemas found in the OAS 'content' section, returning only the first one (application/xml) +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] INFO o.o.codegen.DefaultGenerator - processOperation: resourcePath= /user/{username} ;put class Operation { + tags: [user] + summary: Updated user + description: This can only be done by the logged in user. + externalDocs: null + operationId: updateUser + parameters: [class PathParameter { + class Parameter { + name: username + in: null + description: name that need to be deleted + required: null + deprecated: null + allowEmptyValue: null + style: simple + explode: false + allowReserved: null + schema: class StringSchema { + class Schema { + type: string + format: null + $ref: null + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null + } + } + examples: null + example: null + content: null + $ref: null + } + in: path + required: true + }] + requestBody: class RequestBody { + description: Updated user object + content: class Content { + {application/json=class MediaType { + schema: class Schema { + type: null + format: null + $ref: #/components/schemas/User + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null + } + examples: null + example: null + encoding: null + }} + } + required: true + } + responses: class ApiResponses { + {400=class ApiResponse { + description: Invalid user supplied + headers: null + content: null + links: null + extensions: null + $ref: null + }, 404=class ApiResponse { + description: User not found + headers: null + content: null + links: null + extensions: null + $ref: null + }} + extensions: null + } + callbacks: null + deprecated: null + security: [class SecurityRequirement { + {api_key=[]} + }] + servers: null +} + +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeQuotationMark should be overridden in the code generator with proper logic to escape single/double quote +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] INFO o.o.codegen.DefaultGenerator - processOperation: resourcePath= /user/{username} ;delete class Operation { + tags: [user] + summary: Delete user + description: This can only be done by the logged in user. + externalDocs: null + operationId: deleteUser + parameters: [class PathParameter { + class Parameter { + name: username + in: null + description: The name that needs to be deleted + required: null + deprecated: null + allowEmptyValue: null + style: simple + explode: false + allowReserved: null + schema: class StringSchema { + class Schema { + type: string + format: null + $ref: null + description: null + title: null + multipleOf: null + maximum: null + exclusiveMaximum: null + minimum: null + exclusiveMinimum: null + maxLength: null + minLength: null + pattern: null + maxItems: null + minItems: null + uniqueItems: null + maxProperties: null + minProperties: null + required: null + not: null + properties: null + additionalProperties: null + nullable: null + readOnly: null + writeOnly: null + example: null + externalDocs: null + deprecated: null + discriminator: null + xml: null + } + } + examples: null + example: null + content: null + $ref: null + } + in: path + required: true + }] + requestBody: null + responses: class ApiResponses { + {400=class ApiResponse { + description: Invalid username supplied + headers: null + content: null + links: null + extensions: null + $ref: null + }, 404=class ApiResponse { + description: User not found + headers: null + content: null + links: null + extensions: null + $ref: null + }} + extensions: null + } + callbacks: null + deprecated: null + security: [class SecurityRequirement { + {api_key=[]} + }] + servers: null +} + +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] INFO o.o.codegen.TemplateManager - writing file samples/client/petstore/jetbrains/http/client/Apis/PetApi.http +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] INFO o.o.codegen.TemplateManager - writing file samples/client/petstore/jetbrains/http/client/Apis/StoreApi.http +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] WARN o.o.codegen.DefaultCodegen - escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters +[main] INFO o.o.codegen.TemplateManager - writing file samples/client/petstore/jetbrains/http/client/Apis/UserApi.http +[main] INFO o.o.codegen.DefaultGenerator - ############ Operation info ############ diff --git a/samples/client/petstore/jetbrains-bkp/http/client/.openapi-generator-ignore b/samples/client/petstore/jetbrains-bkp/http/client/.openapi-generator-ignore new file mode 100644 index 0000000000..7484ee590a --- /dev/null +++ b/samples/client/petstore/jetbrains-bkp/http/client/.openapi-generator-ignore @@ -0,0 +1,23 @@ +# OpenAPI Generator Ignore +# Generated by openapi-generator https://github.com/openapitools/openapi-generator + +# Use this file to prevent files from being overwritten by the generator. +# The patterns follow closely to .gitignore or .dockerignore. + +# As an example, the C# client generator defines ApiClient.cs. +# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line: +#ApiClient.cs + +# You can match any string of characters against a directory, file or extension with a single asterisk (*): +#foo/*/qux +# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux + +# You can recursively match patterns against a directory, file or extension with a double asterisk (**): +#foo/**/qux +# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux + +# You can also negate patterns with an exclamation (!). +# For example, you can ignore all files in a docs folder with the file extension .md: +#docs/*.md +# Then explicitly reverse the ignore rule for a single file: +#!docs/README.md diff --git a/samples/client/petstore/jetbrains-bkp/http/client/.openapi-generator/FILES b/samples/client/petstore/jetbrains-bkp/http/client/.openapi-generator/FILES new file mode 100644 index 0000000000..56606eef6b --- /dev/null +++ b/samples/client/petstore/jetbrains-bkp/http/client/.openapi-generator/FILES @@ -0,0 +1,10 @@ +Apis/PetApi.http +Apis/StoreApi.http +Apis/UserApi.http +Models/ApiResponse.http +Models/Category.http +Models/Order.http +Models/Pet.http +Models/Tag.http +Models/User.http +README.md diff --git a/samples/client/petstore/jetbrains-bkp/http/client/.openapi-generator/VERSION b/samples/client/petstore/jetbrains-bkp/http/client/.openapi-generator/VERSION new file mode 100644 index 0000000000..d6b4ec4aa7 --- /dev/null +++ b/samples/client/petstore/jetbrains-bkp/http/client/.openapi-generator/VERSION @@ -0,0 +1 @@ +6.3.0-SNAPSHOT \ No newline at end of file diff --git a/samples/client/petstore/jetbrains-bkp/http/client/Apis/PetApi.http b/samples/client/petstore/jetbrains-bkp/http/client/Apis/PetApi.http new file mode 100644 index 0000000000..5c6d22a060 --- /dev/null +++ b/samples/client/petstore/jetbrains-bkp/http/client/Apis/PetApi.http @@ -0,0 +1,154 @@ +# PetApi +All URIs are relative to *http://petstore.swagger.io/v2* +Method | HTTP request | Description +------------- | ------------- | ------------- +[**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store +[**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet +[**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status +[**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags +[**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID +[**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet +[**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data +[**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image + + + # **addPet** + > Pet addPet(pet) + Add a new pet to the store + + ### Parameters + + Name | Type | Description | Notes + ------------- | ------------- | ------------- | ------------- + **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | + ### Return type + [**Pet**](Pet.md) + ### Authorization + [petstore_auth](../README.md#petstore_auth) + ### HTTP request headers + - **Content-Type**: application/json, application/xml + - **Accept**: application/xml, application/json + + # **deletePet** + > deletePet(petId, apiKey) + Deletes a pet + + ### Parameters + + Name | Type | Description | Notes + ------------- | ------------- | ------------- | ------------- + **petId** | **Long**| Pet id to delete | [default to null] + **apiKey** | **String**| | [optional] [default to null] + ### Return type + null (empty response body) + ### Authorization + [petstore_auth](../README.md#petstore_auth) + ### HTTP request headers + - **Content-Type**: Not defined + - **Accept**: Not defined + + # **findPetsByStatus** + > List findPetsByStatus(status) + Finds Pets by status + Multiple status values can be provided with comma separated strings + ### Parameters + + Name | Type | Description | Notes + ------------- | ------------- | ------------- | ------------- + **status** | [**List**](String.md)| Status values that need to be considered for filter | [default to null] [enum: available, pending, sold] + ### Return type + [**List**](Pet.md) + ### Authorization + [petstore_auth](../README.md#petstore_auth) + ### HTTP request headers + - **Content-Type**: Not defined + - **Accept**: application/xml, application/json + + # **findPetsByTags** + > List findPetsByTags(tags) + Finds Pets by tags + Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing. + ### Parameters + + Name | Type | Description | Notes + ------------- | ------------- | ------------- | ------------- + **tags** | [**List**](String.md)| Tags to filter by | [default to null] + ### Return type + [**List**](Pet.md) + ### Authorization + [petstore_auth](../README.md#petstore_auth) + ### HTTP request headers + - **Content-Type**: Not defined + - **Accept**: application/xml, application/json + + # **getPetById** + > Pet getPetById(petId) + Find pet by ID + Returns a single pet + ### Parameters + + Name | Type | Description | Notes + ------------- | ------------- | ------------- | ------------- + **petId** | **Long**| ID of pet to return | [default to null] + ### Return type + [**Pet**](Pet.md) + ### Authorization + [api_key](../README.md#api_key) + ### HTTP request headers + - **Content-Type**: Not defined + - **Accept**: application/xml, application/json + + # **updatePet** + > Pet updatePet(pet) + Update an existing pet + + ### Parameters + + Name | Type | Description | Notes + ------------- | ------------- | ------------- | ------------- + **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | + ### Return type + [**Pet**](Pet.md) + ### Authorization + [petstore_auth](../README.md#petstore_auth) + ### HTTP request headers + - **Content-Type**: application/json, application/xml + - **Accept**: application/xml, application/json + + # **updatePetWithForm** + > updatePetWithForm(petId, name, status) + Updates a pet in the store with form data + + ### Parameters + + Name | Type | Description | Notes + ------------- | ------------- | ------------- | ------------- + **petId** | **Long**| ID of pet that needs to be updated | [default to null] + **name** | **String**| Updated name of the pet | [optional] [default to null] + **status** | **String**| Updated status of the pet | [optional] [default to null] + ### Return type + null (empty response body) + ### Authorization + [petstore_auth](../README.md#petstore_auth) + ### HTTP request headers + - **Content-Type**: application/x-www-form-urlencoded + - **Accept**: Not defined + + # **uploadFile** + > ApiResponse uploadFile(petId, additionalMetadata, file) + uploads an image + + ### Parameters + + Name | Type | Description | Notes + ------------- | ------------- | ------------- | ------------- + **petId** | **Long**| ID of pet to update | [default to null] + **additionalMetadata** | **String**| Additional data to pass to server | [optional] [default to null] + **file** | **File**| file to upload | [optional] [default to null] + ### Return type + [**ApiResponse**](ApiResponse.md) + ### Authorization + [petstore_auth](../README.md#petstore_auth) + ### HTTP request headers + - **Content-Type**: multipart/form-data + - **Accept**: application/json diff --git a/samples/client/petstore/jetbrains-bkp/http/client/Apis/StoreApi.http b/samples/client/petstore/jetbrains-bkp/http/client/Apis/StoreApi.http new file mode 100644 index 0000000000..07bcadd459 --- /dev/null +++ b/samples/client/petstore/jetbrains-bkp/http/client/Apis/StoreApi.http @@ -0,0 +1,74 @@ +# StoreApi +All URIs are relative to *http://petstore.swagger.io/v2* +Method | HTTP request | Description +------------- | ------------- | ------------- +[**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID +[**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status +[**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID +[**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet + + + # **deleteOrder** + > deleteOrder(orderId) + Delete purchase order by ID + For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors + ### Parameters + + Name | Type | Description | Notes + ------------- | ------------- | ------------- | ------------- + **orderId** | **String**| ID of the order that needs to be deleted | [default to null] + ### Return type + null (empty response body) + ### Authorization + No authorization required + ### HTTP request headers + - **Content-Type**: Not defined + - **Accept**: Not defined + + # **getInventory** + > Map getInventory() + Returns pet inventories by status + Returns a map of status codes to quantities + ### Parameters + This endpoint does not need any parameter. + ### Return type + [**Map**](integer.md) + ### Authorization + [api_key](../README.md#api_key) + ### HTTP request headers + - **Content-Type**: Not defined + - **Accept**: application/json + + # **getOrderById** + > Order getOrderById(orderId) + Find purchase order by ID + For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions + ### Parameters + + Name | Type | Description | Notes + ------------- | ------------- | ------------- | ------------- + **orderId** | **Long**| ID of pet that needs to be fetched | [default to null] + ### Return type + [**Order**](Order.md) + ### Authorization + No authorization required + ### HTTP request headers + - **Content-Type**: Not defined + - **Accept**: application/xml, application/json + + # **placeOrder** + > Order placeOrder(order) + Place an order for a pet + + ### Parameters + + Name | Type | Description | Notes + ------------- | ------------- | ------------- | ------------- + **order** | [**Order**](Order.md)| order placed for purchasing the pet | + ### Return type + [**Order**](Order.md) + ### Authorization + No authorization required + ### HTTP request headers + - **Content-Type**: application/json + - **Accept**: application/xml, application/json diff --git a/samples/client/petstore/jetbrains-bkp/http/client/Apis/UserApi.http b/samples/client/petstore/jetbrains-bkp/http/client/Apis/UserApi.http new file mode 100644 index 0000000000..046dd805db --- /dev/null +++ b/samples/client/petstore/jetbrains-bkp/http/client/Apis/UserApi.http @@ -0,0 +1,148 @@ +# UserApi +All URIs are relative to *http://petstore.swagger.io/v2* +Method | HTTP request | Description +------------- | ------------- | ------------- +[**createUser**](UserApi.md#createUser) | **POST** /user | Create user +[**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array +[**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array +[**deleteUser**](UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user +[**getUserByName**](UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name +[**loginUser**](UserApi.md#loginUser) | **GET** /user/login | Logs user into the system +[**logoutUser**](UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session +[**updateUser**](UserApi.md#updateUser) | **PUT** /user/{username} | Updated user + + + # **createUser** + > createUser(user) + Create user + This can only be done by the logged in user. + ### Parameters + + Name | Type | Description | Notes + ------------- | ------------- | ------------- | ------------- + **user** | [**User**](User.md)| Created user object | + ### Return type + null (empty response body) + ### Authorization + [api_key](../README.md#api_key) + ### HTTP request headers + - **Content-Type**: application/json + - **Accept**: Not defined + + # **createUsersWithArrayInput** + > createUsersWithArrayInput(user) + Creates list of users with given input array + + ### Parameters + + Name | Type | Description | Notes + ------------- | ------------- | ------------- | ------------- + **user** | [**List**](User.md)| List of user object | + ### Return type + null (empty response body) + ### Authorization + [api_key](../README.md#api_key) + ### HTTP request headers + - **Content-Type**: application/json + - **Accept**: Not defined + + # **createUsersWithListInput** + > createUsersWithListInput(user) + Creates list of users with given input array + + ### Parameters + + Name | Type | Description | Notes + ------------- | ------------- | ------------- | ------------- + **user** | [**List**](User.md)| List of user object | + ### Return type + null (empty response body) + ### Authorization + [api_key](../README.md#api_key) + ### HTTP request headers + - **Content-Type**: application/json + - **Accept**: Not defined + + # **deleteUser** + > deleteUser(username) + Delete user + This can only be done by the logged in user. + ### Parameters + + Name | Type | Description | Notes + ------------- | ------------- | ------------- | ------------- + **username** | **String**| The name that needs to be deleted | [default to null] + ### Return type + null (empty response body) + ### Authorization + [api_key](../README.md#api_key) + ### HTTP request headers + - **Content-Type**: Not defined + - **Accept**: Not defined + + # **getUserByName** + > User getUserByName(username) + Get user by user name + + ### Parameters + + Name | Type | Description | Notes + ------------- | ------------- | ------------- | ------------- + **username** | **String**| The name that needs to be fetched. Use user1 for testing. | [default to null] + ### Return type + [**User**](User.md) + ### Authorization + No authorization required + ### HTTP request headers + - **Content-Type**: Not defined + - **Accept**: application/xml, application/json + + # **loginUser** + > String loginUser(username, password) + Logs user into the system + + ### Parameters + + Name | Type | Description | Notes + ------------- | ------------- | ------------- | ------------- + **username** | **String**| The user name for login | [default to null] + **password** | **String**| The password for login in clear text | [default to null] + ### Return type + [**String**](string.md) + ### Authorization + No authorization required + ### HTTP request headers + - **Content-Type**: Not defined + - **Accept**: application/xml, application/json + + # **logoutUser** + > logoutUser() + Logs out current logged in user session + + ### Parameters + This endpoint does not need any parameter. + ### Return type + null (empty response body) + ### Authorization + [api_key](../README.md#api_key) + ### HTTP request headers + - **Content-Type**: Not defined + - **Accept**: Not defined + + # **updateUser** + > updateUser(username, user) + Updated user + This can only be done by the logged in user. + ### Parameters + + Name | Type | Description | Notes + ------------- | ------------- | ------------- | ------------- + **username** | **String**| name that need to be deleted | [default to null] + **user** | [**User**](User.md)| Updated user object | + ### Return type + null (empty response body) + ### Authorization + [api_key](../README.md#api_key) + ### HTTP request headers + - **Content-Type**: application/json + - **Accept**: Not defined diff --git a/samples/client/petstore/jetbrains-bkp/http/client/Models/ApiResponse.http b/samples/client/petstore/jetbrains-bkp/http/client/Models/ApiResponse.http new file mode 100644 index 0000000000..e238fd3ba4 --- /dev/null +++ b/samples/client/petstore/jetbrains-bkp/http/client/Models/ApiResponse.http @@ -0,0 +1,8 @@ + # .Models.ApiResponse + ## Properties + Name | Type | Description | Notes + ------------ | ------------- | ------------- | ------------- + **code** | [**Integer**](integer.md) | | [optional] [default to null] +**type** | [**String**](string.md) | | [optional] [default to null] +**message** | [**String**](string.md) | | [optional] [default to null] + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/samples/client/petstore/jetbrains-bkp/http/client/Models/Category.http b/samples/client/petstore/jetbrains-bkp/http/client/Models/Category.http new file mode 100644 index 0000000000..50d4ee5f62 --- /dev/null +++ b/samples/client/petstore/jetbrains-bkp/http/client/Models/Category.http @@ -0,0 +1,7 @@ + # .Models.Category + ## Properties + Name | Type | Description | Notes + ------------ | ------------- | ------------- | ------------- + **id** | [**Long**](long.md) | | [optional] [default to null] +**name** | [**String**](string.md) | | [optional] [default to null] + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/samples/client/petstore/jetbrains-bkp/http/client/Models/Order.http b/samples/client/petstore/jetbrains-bkp/http/client/Models/Order.http new file mode 100644 index 0000000000..28f9ce4e43 --- /dev/null +++ b/samples/client/petstore/jetbrains-bkp/http/client/Models/Order.http @@ -0,0 +1,11 @@ + # .Models.Order + ## Properties + Name | Type | Description | Notes + ------------ | ------------- | ------------- | ------------- + **id** | [**Long**](long.md) | | [optional] [default to null] +**petId** | [**Long**](long.md) | | [optional] [default to null] +**quantity** | [**Integer**](integer.md) | | [optional] [default to null] +**shipDate** | [**Date**](DateTime.md) | | [optional] [default to null] +**status** | [**String**](string.md) | Order Status | [optional] [default to null] +**complete** | [**Boolean**](boolean.md) | | [optional] [default to false] + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/samples/client/petstore/jetbrains-bkp/http/client/Models/Pet.http b/samples/client/petstore/jetbrains-bkp/http/client/Models/Pet.http new file mode 100644 index 0000000000..c199f725e9 --- /dev/null +++ b/samples/client/petstore/jetbrains-bkp/http/client/Models/Pet.http @@ -0,0 +1,11 @@ + # .Models.Pet + ## Properties + Name | Type | Description | Notes + ------------ | ------------- | ------------- | ------------- + **id** | [**Long**](long.md) | | [optional] [default to null] +**category** | [**Category**](Category.md) | | [optional] [default to null] +**name** | [**String**](string.md) | | [default to null] +**photoUrls** | [**List**](string.md) | | [default to null] +**tags** | [**List**](Tag.md) | | [optional] [default to null] +**status** | [**String**](string.md) | pet status in the store | [optional] [default to null] + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/samples/client/petstore/jetbrains-bkp/http/client/Models/Tag.http b/samples/client/petstore/jetbrains-bkp/http/client/Models/Tag.http new file mode 100644 index 0000000000..ce205f0705 --- /dev/null +++ b/samples/client/petstore/jetbrains-bkp/http/client/Models/Tag.http @@ -0,0 +1,7 @@ + # .Models.Tag + ## Properties + Name | Type | Description | Notes + ------------ | ------------- | ------------- | ------------- + **id** | [**Long**](long.md) | | [optional] [default to null] +**name** | [**String**](string.md) | | [optional] [default to null] + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/samples/client/petstore/jetbrains-bkp/http/client/Models/User.http b/samples/client/petstore/jetbrains-bkp/http/client/Models/User.http new file mode 100644 index 0000000000..c34a81bdb0 --- /dev/null +++ b/samples/client/petstore/jetbrains-bkp/http/client/Models/User.http @@ -0,0 +1,13 @@ + # .Models.User + ## Properties + Name | Type | Description | Notes + ------------ | ------------- | ------------- | ------------- + **id** | [**Long**](long.md) | | [optional] [default to null] +**username** | [**String**](string.md) | | [optional] [default to null] +**firstName** | [**String**](string.md) | | [optional] [default to null] +**lastName** | [**String**](string.md) | | [optional] [default to null] +**email** | [**String**](string.md) | | [optional] [default to null] +**password** | [**String**](string.md) | | [optional] [default to null] +**phone** | [**String**](string.md) | | [optional] [default to null] +**userStatus** | [**Integer**](integer.md) | User Status | [optional] [default to null] + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/samples/client/petstore/jetbrains-bkp/http/client/README.md b/samples/client/petstore/jetbrains-bkp/http/client/README.md new file mode 100644 index 0000000000..df92fcfbf2 --- /dev/null +++ b/samples/client/petstore/jetbrains-bkp/http/client/README.md @@ -0,0 +1,28 @@ +# # Documentation for OpenAPI Petstore + + + ## Documentation for API Endpoints + All URIs are relative to *http://petstore.swagger.io/v2* + Class | Method | HTTP request | Description + ------------ | ------------- | ------------- | ------------- + *PetApi* | [**addPet**](Apis/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store + *PetApi* | [**deletePet**](Apis/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet + *PetApi* | [**findPetsByStatus**](Apis/PetApi.md#findpetsbystatus) | **GET** /pet/findByStatus | Finds Pets by status + *PetApi* | [**findPetsByTags**](Apis/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags + *PetApi* | [**getPetById**](Apis/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID + *PetApi* | [**updatePet**](Apis/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet + *PetApi* | [**updatePetWithForm**](Apis/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data + *PetApi* | [**uploadFile**](Apis/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image + *StoreApi* | [**deleteOrder**](Apis/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID + *StoreApi* | [**getInventory**](Apis/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status + *StoreApi* | [**getOrderById**](Apis/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID + *StoreApi* | [**placeOrder**](Apis/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet + *UserApi* | [**createUser**](Apis/UserApi.md#createuser) | **POST** /user | Create user + *UserApi* | [**createUsersWithArrayInput**](Apis/UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array + *UserApi* | [**createUsersWithListInput**](Apis/UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array + *UserApi* | [**deleteUser**](Apis/UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user + *UserApi* | [**getUserByName**](Apis/UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name + *UserApi* | [**loginUser**](Apis/UserApi.md#loginuser) | **GET** /user/login | Logs user into the system + *UserApi* | [**logoutUser**](Apis/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session + *UserApi* | [**updateUser**](Apis/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user + diff --git a/samples/client/petstore/jetbrains/http/client/.openapi-generator-ignore b/samples/client/petstore/jetbrains/http/client/.openapi-generator-ignore new file mode 100644 index 0000000000..7484ee590a --- /dev/null +++ b/samples/client/petstore/jetbrains/http/client/.openapi-generator-ignore @@ -0,0 +1,23 @@ +# OpenAPI Generator Ignore +# Generated by openapi-generator https://github.com/openapitools/openapi-generator + +# Use this file to prevent files from being overwritten by the generator. +# The patterns follow closely to .gitignore or .dockerignore. + +# As an example, the C# client generator defines ApiClient.cs. +# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line: +#ApiClient.cs + +# You can match any string of characters against a directory, file or extension with a single asterisk (*): +#foo/*/qux +# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux + +# You can recursively match patterns against a directory, file or extension with a double asterisk (**): +#foo/**/qux +# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux + +# You can also negate patterns with an exclamation (!). +# For example, you can ignore all files in a docs folder with the file extension .md: +#docs/*.md +# Then explicitly reverse the ignore rule for a single file: +#!docs/README.md diff --git a/samples/client/petstore/jetbrains/http/client/.openapi-generator/FILES b/samples/client/petstore/jetbrains/http/client/.openapi-generator/FILES new file mode 100644 index 0000000000..56606eef6b --- /dev/null +++ b/samples/client/petstore/jetbrains/http/client/.openapi-generator/FILES @@ -0,0 +1,10 @@ +Apis/PetApi.http +Apis/StoreApi.http +Apis/UserApi.http +Models/ApiResponse.http +Models/Category.http +Models/Order.http +Models/Pet.http +Models/Tag.http +Models/User.http +README.md diff --git a/samples/client/petstore/jetbrains/http/client/.openapi-generator/VERSION b/samples/client/petstore/jetbrains/http/client/.openapi-generator/VERSION new file mode 100644 index 0000000000..d6b4ec4aa7 --- /dev/null +++ b/samples/client/petstore/jetbrains/http/client/.openapi-generator/VERSION @@ -0,0 +1 @@ +6.3.0-SNAPSHOT \ No newline at end of file diff --git a/samples/client/petstore/jetbrains/http/client/Apis/PetApi.http b/samples/client/petstore/jetbrains/http/client/Apis/PetApi.http new file mode 100644 index 0000000000..c3d6994fb5 --- /dev/null +++ b/samples/client/petstore/jetbrains/http/client/Apis/PetApi.http @@ -0,0 +1,42 @@ +## PetApi + +### Add a new pet to the store +# addPet +POST http://petstore.swagger.io/v2 + + +### Deletes a pet +# deletePet +DELETE http://petstore.swagger.io/v2 + + +### Finds Pets by status +# findPetsByStatus +GET http://petstore.swagger.io/v2 + + +### Finds Pets by tags +# findPetsByTags +GET http://petstore.swagger.io/v2 + + +### Find pet by ID +# getPetById +GET http://petstore.swagger.io/v2 + + +### Update an existing pet +# updatePet +PUT http://petstore.swagger.io/v2 + + +### Updates a pet in the store with form data +# updatePetWithForm +POST http://petstore.swagger.io/v2 + + +### uploads an image +# uploadFile +POST http://petstore.swagger.io/v2 + + diff --git a/samples/client/petstore/jetbrains/http/client/Apis/StoreApi.http b/samples/client/petstore/jetbrains/http/client/Apis/StoreApi.http new file mode 100644 index 0000000000..8899f11569 --- /dev/null +++ b/samples/client/petstore/jetbrains/http/client/Apis/StoreApi.http @@ -0,0 +1,22 @@ +## StoreApi + +### Delete purchase order by ID +# deleteOrder +DELETE http://petstore.swagger.io/v2 + + +### Returns pet inventories by status +# getInventory +GET http://petstore.swagger.io/v2 + + +### Find purchase order by ID +# getOrderById +GET http://petstore.swagger.io/v2 + + +### Place an order for a pet +# placeOrder +POST http://petstore.swagger.io/v2 + + diff --git a/samples/client/petstore/jetbrains/http/client/Apis/UserApi.http b/samples/client/petstore/jetbrains/http/client/Apis/UserApi.http new file mode 100644 index 0000000000..be3dcdcc24 --- /dev/null +++ b/samples/client/petstore/jetbrains/http/client/Apis/UserApi.http @@ -0,0 +1,42 @@ +## UserApi + +### Create user +# createUser +POST http://petstore.swagger.io/v2 + + +### Creates list of users with given input array +# createUsersWithArrayInput +POST http://petstore.swagger.io/v2 + + +### Creates list of users with given input array +# createUsersWithListInput +POST http://petstore.swagger.io/v2 + + +### Delete user +# deleteUser +DELETE http://petstore.swagger.io/v2 + + +### Get user by user name +# getUserByName +GET http://petstore.swagger.io/v2 + + +### Logs user into the system +# loginUser +GET http://petstore.swagger.io/v2 + + +### Logs out current logged in user session +# logoutUser +GET http://petstore.swagger.io/v2 + + +### Updated user +# updateUser +PUT http://petstore.swagger.io/v2 + + diff --git a/samples/client/petstore/jetbrains/http/client/Models/ApiResponse.http b/samples/client/petstore/jetbrains/http/client/Models/ApiResponse.http new file mode 100644 index 0000000000..e238fd3ba4 --- /dev/null +++ b/samples/client/petstore/jetbrains/http/client/Models/ApiResponse.http @@ -0,0 +1,8 @@ + # .Models.ApiResponse + ## Properties + Name | Type | Description | Notes + ------------ | ------------- | ------------- | ------------- + **code** | [**Integer**](integer.md) | | [optional] [default to null] +**type** | [**String**](string.md) | | [optional] [default to null] +**message** | [**String**](string.md) | | [optional] [default to null] + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/samples/client/petstore/jetbrains/http/client/Models/Category.http b/samples/client/petstore/jetbrains/http/client/Models/Category.http new file mode 100644 index 0000000000..50d4ee5f62 --- /dev/null +++ b/samples/client/petstore/jetbrains/http/client/Models/Category.http @@ -0,0 +1,7 @@ + # .Models.Category + ## Properties + Name | Type | Description | Notes + ------------ | ------------- | ------------- | ------------- + **id** | [**Long**](long.md) | | [optional] [default to null] +**name** | [**String**](string.md) | | [optional] [default to null] + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/samples/client/petstore/jetbrains/http/client/Models/Order.http b/samples/client/petstore/jetbrains/http/client/Models/Order.http new file mode 100644 index 0000000000..28f9ce4e43 --- /dev/null +++ b/samples/client/petstore/jetbrains/http/client/Models/Order.http @@ -0,0 +1,11 @@ + # .Models.Order + ## Properties + Name | Type | Description | Notes + ------------ | ------------- | ------------- | ------------- + **id** | [**Long**](long.md) | | [optional] [default to null] +**petId** | [**Long**](long.md) | | [optional] [default to null] +**quantity** | [**Integer**](integer.md) | | [optional] [default to null] +**shipDate** | [**Date**](DateTime.md) | | [optional] [default to null] +**status** | [**String**](string.md) | Order Status | [optional] [default to null] +**complete** | [**Boolean**](boolean.md) | | [optional] [default to false] + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/samples/client/petstore/jetbrains/http/client/Models/Pet.http b/samples/client/petstore/jetbrains/http/client/Models/Pet.http new file mode 100644 index 0000000000..c199f725e9 --- /dev/null +++ b/samples/client/petstore/jetbrains/http/client/Models/Pet.http @@ -0,0 +1,11 @@ + # .Models.Pet + ## Properties + Name | Type | Description | Notes + ------------ | ------------- | ------------- | ------------- + **id** | [**Long**](long.md) | | [optional] [default to null] +**category** | [**Category**](Category.md) | | [optional] [default to null] +**name** | [**String**](string.md) | | [default to null] +**photoUrls** | [**List**](string.md) | | [default to null] +**tags** | [**List**](Tag.md) | | [optional] [default to null] +**status** | [**String**](string.md) | pet status in the store | [optional] [default to null] + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/samples/client/petstore/jetbrains/http/client/Models/Tag.http b/samples/client/petstore/jetbrains/http/client/Models/Tag.http new file mode 100644 index 0000000000..ce205f0705 --- /dev/null +++ b/samples/client/petstore/jetbrains/http/client/Models/Tag.http @@ -0,0 +1,7 @@ + # .Models.Tag + ## Properties + Name | Type | Description | Notes + ------------ | ------------- | ------------- | ------------- + **id** | [**Long**](long.md) | | [optional] [default to null] +**name** | [**String**](string.md) | | [optional] [default to null] + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/samples/client/petstore/jetbrains/http/client/Models/User.http b/samples/client/petstore/jetbrains/http/client/Models/User.http new file mode 100644 index 0000000000..c34a81bdb0 --- /dev/null +++ b/samples/client/petstore/jetbrains/http/client/Models/User.http @@ -0,0 +1,13 @@ + # .Models.User + ## Properties + Name | Type | Description | Notes + ------------ | ------------- | ------------- | ------------- + **id** | [**Long**](long.md) | | [optional] [default to null] +**username** | [**String**](string.md) | | [optional] [default to null] +**firstName** | [**String**](string.md) | | [optional] [default to null] +**lastName** | [**String**](string.md) | | [optional] [default to null] +**email** | [**String**](string.md) | | [optional] [default to null] +**password** | [**String**](string.md) | | [optional] [default to null] +**phone** | [**String**](string.md) | | [optional] [default to null] +**userStatus** | [**Integer**](integer.md) | User Status | [optional] [default to null] + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/samples/client/petstore/jetbrains/http/client/README.md b/samples/client/petstore/jetbrains/http/client/README.md new file mode 100644 index 0000000000..df92fcfbf2 --- /dev/null +++ b/samples/client/petstore/jetbrains/http/client/README.md @@ -0,0 +1,28 @@ +# # Documentation for OpenAPI Petstore + + + ## Documentation for API Endpoints + All URIs are relative to *http://petstore.swagger.io/v2* + Class | Method | HTTP request | Description + ------------ | ------------- | ------------- | ------------- + *PetApi* | [**addPet**](Apis/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store + *PetApi* | [**deletePet**](Apis/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet + *PetApi* | [**findPetsByStatus**](Apis/PetApi.md#findpetsbystatus) | **GET** /pet/findByStatus | Finds Pets by status + *PetApi* | [**findPetsByTags**](Apis/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags + *PetApi* | [**getPetById**](Apis/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID + *PetApi* | [**updatePet**](Apis/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet + *PetApi* | [**updatePetWithForm**](Apis/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data + *PetApi* | [**uploadFile**](Apis/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image + *StoreApi* | [**deleteOrder**](Apis/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID + *StoreApi* | [**getInventory**](Apis/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status + *StoreApi* | [**getOrderById**](Apis/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID + *StoreApi* | [**placeOrder**](Apis/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet + *UserApi* | [**createUser**](Apis/UserApi.md#createuser) | **POST** /user | Create user + *UserApi* | [**createUsersWithArrayInput**](Apis/UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array + *UserApi* | [**createUsersWithListInput**](Apis/UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array + *UserApi* | [**deleteUser**](Apis/UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user + *UserApi* | [**getUserByName**](Apis/UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name + *UserApi* | [**loginUser**](Apis/UserApi.md#loginuser) | **GET** /user/login | Logs user into the system + *UserApi* | [**logoutUser**](Apis/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session + *UserApi* | [**updateUser**](Apis/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user +