From 0f668b93a78920dd8b9a6ec7200f929477819c17 Mon Sep 17 00:00:00 2001 From: Mattias-Sehlstedt <60173714+Mattias-Sehlstedt@users.noreply.github.com> Date: Tue, 20 Jan 2026 20:29:32 +0100 Subject: [PATCH] test: mark password fields as having the password OpenApi format --- .../src/test/resources/1_2/petstore-1.2/user | 6 +- .../src/test/resources/2_0/c/petstore.yaml | 2 + .../test/resources/2_0/globalSecurity.json | 6 +- .../2_0/long_description_issue_7839.json | 6 +- .../src/test/resources/2_0/petstore-bash.json | 6 +- .../test/resources/2_0/petstore-nullable.yaml | 2 + .../src/test/resources/2_0/petstore-orig.json | 6 +- .../test/resources/2_0/petstore-proto.yaml | 2 + .../resources/2_0/petstore-vendor-mime.yaml | 2 + .../2_0/petstore-with-date-field.yaml | 2 + ...r-testing-playframework-with-security.yaml | 1 + ...ndpoints-models-for-testing-localhost.yaml | 1 + ...s-models-for-testing-saga-and-records.yaml | 2 + ...dels-for-testing-with-spring-pageable.yaml | 2 + ...ith-fake-endpoints-models-for-testing.yaml | 1 + ...th-operations-without-required-params.yaml | 2 + .../2_0/petstore-with-spring-pageable.yaml | 2 + .../src/test/resources/2_0/petstore.json | 6 +- .../src/test/resources/2_0/petstore.yaml | 1 + .../resources/2_0/petstore_issue_7999.json | 6 +- ...ith-fake-endpoints-models-for-testing.yaml | 1 + .../2_0/rust-server/rust-server-test.yaml | 1 + ...ith-fake-endpoints-models-for-testing.yaml | 1 + .../src/test/resources/2_0/wordnik.json | 2456 ----------------- .../src/test/resources/2_0/wordnik.yaml | 1640 ----------- .../src/test/resources/3_0/ada/petstore.yaml | 1 + .../resources/3_0/aspnetcore/petstore.yaml | 1 + .../resources/3_0/avro-schema/petstore.yaml | 1 + .../3_0/cpp-httplib-server/petstore.json | 2 +- .../3_0/cpp-oatpp-client/petstore.yaml | 1 + .../3_0/cpp-oatpp-server/petstore.yaml | 1 + .../test/resources/3_0/cpp-qt/petstore.yaml | 1 + .../resources/3_0/cpp-restsdk/petstore.yaml | 1 + ...ature-oneof-primitive-types-localhost.yaml | 1 + ...-http-signature-oneof-primitive-types.yaml | 1 + ...odels-for-testing-with-http-signature.yaml | 1 + ...ith-fake-endpoints-models-for-testing.yaml | 1 + ...ith-fake-endpoints-models-for-testing.yaml | 1 + .../test/resources/3_0/gdscript/petstore.yaml | 1 + .../resources/3_0/go-server/petstore.yaml | 2 + .../petstore_with_test_endpoint.yaml | 1 + ...odels-for-testing-with-http-signature.yaml | 1 + .../test/resources/3_0/groovy/petstore.yaml | 1 + ...ith-fake-endpoints-models-for-testing.yaml | 1 + .../test/resources/3_0/haskell/petstore.yaml | 1 + ...nytype-object-set-petstore-everything.yaml | 1 + ...odels-for-testing-with-http-signature.yaml | 1 + .../3_0/java/petstore-group-parameter.yaml | 1 + ...points-models-for-testing-okhttp-gson.yaml | 1 + ...odels-for-testing-with-http-signature.yaml | 1 + ...ith-fake-endpoints-models-for-testing.yaml | 1 + ...ith-fake-endpoints-models-for-testing.yaml | 1 + .../test/resources/3_0/jaxrs/petstore.yaml | 1 + .../3_0/jetbrains/ManagementService-v3.json | 21 +- .../test/resources/3_0/jetbrains/MgmtApi.json | 21 +- .../test/resources/3_0/jmeter/petstore.yaml | 1 + .../test/resources/3_0/julia/petstore.yaml | 1 + ...ith-fake-endpoints-models-for-testing.yaml | 1 + ...ake-endpoints-for-testing-with-cookie.yaml | 1 + .../3_0/kotlin/petstore-with-tags.yaml | 1 + .../petstore-with-x-kotlin-implements.yaml | 1 + .../test/resources/3_0/kotlin/petstore.yaml | 1 + .../src/test/resources/3_0/nim/petstore.yaml | 1 + ...ith-fake-endpoints-models-for-testing.yaml | 1 + .../3_0/petstore-multiple-2xx-responses.yaml | 1 + .../3_0/petstore-with-complex-headers.yaml | 1 + .../3_0/petstore-with-deprecated-fields.yaml | 1 + ...odels-for-testing-with-http-signature.yaml | 1 + ...ith-fake-endpoints-models-for-testing.yaml | 2 + .../3_0/petstore-with-nullable-required.yaml | 1 + .../petstore-with-object-as-parameter.yaml | 1 + .../src/test/resources/3_0/petstore.json | 3 +- .../src/test/resources/3_0/petstore.yaml | 1 + ...ith-fake-endpoints-models-for-testing.yaml | 1 + ...ith-fake-endpoints-models-for-testing.yaml | 1 + .../resources/3_0/php-symfony/petstore.yaml | 1 + ...ith-fake-endpoints-models-for-testing.yaml | 1 + ...odels-for-testing-with-http-signature.yaml | 1 + .../test/resources/3_0/protobuf/petstore.yaml | 1 + .../3_0/python-fastapi/petstore.yaml | 1 + .../resources/3_0/python-flask/petstore.yaml | 1 + ...ith-fake-endpoints-models-for-testing.yaml | 1 + .../src/test/resources/3_0/r/petstore.yaml | 1 + ...ith-fake-endpoints-models-for-testing.yaml | 1 + .../src/test/resources/3_0/rust/petstore.yaml | 1 + .../resources/3_0/scala-akka/petstore.yaml | 1 + .../resources/3_0/scala-cask/petstore.yaml | 1 + .../3_0/scala-http4s-server/petstore.yaml | 1 + .../resources/3_0/scala-http4s/petstore.yaml | 1 + .../resources/3_0/scala-pekko/petstore.yaml | 1 + .../3_0/scala-sttp-circe/petstore.yaml | 1 + .../test/resources/3_0/scala/petstore.yaml | 1 + .../scala/scala-sttp4-jsoniter/petstore.yaml | 1 + .../3_0/snakecase-discriminator.yaml | 2 + ...dels-for-testing-with-spring-pageable.yaml | 1 + ...oints-models-for-testing-x-implements.yaml | 1 + ...ith-fake-endpoints-models-for-testing.yaml | 1 + .../spring/petstore-with-spring-pageable.yaml | 1 + .../petstore-with-spring-provide-args.yaml | 1 + .../3_0/spring/petstore-with-tags.yaml | 1 + .../petstore_with_api_response_examples.yaml | 1 + .../validation-attributes.yaml | 1 + .../src/test/resources/3_0/wsdl/petstore.yaml | 1 + .../src/test/resources/3_1/java/petstore.yaml | 1 + .../src/test/resources/3_1/petstore.yaml | 1 + .../src/test/resources/petstore.json | 6 +- .../api/openapi.yaml | 1 + .../org/openapitools/client/model/User.java | 2 +- .../main/default/classes/OASUser.cls | 2 +- .../generated/model/schema_ir.generated.cpp | 1 + .../latest/UseDateTimeOffset/api/openapi.yaml | 1 + .../net10/FormModels/api/openapi.yaml | 1 + .../net10/NullReferenceTypes/api/openapi.yaml | 1 + .../net10/Petstore/api/openapi.yaml | 1 + .../net10/SourceGeneration/api/openapi.yaml | 1 + .../net4.7/FormModels/api/openapi.yaml | 1 + .../net4.7/Petstore/api/openapi.yaml | 1 + .../net4.8/FormModels/api/openapi.yaml | 1 + .../net4.8/Petstore/api/openapi.yaml | 1 + .../net8/FormModels/api/openapi.yaml | 1 + .../net8/NullReferenceTypes/api/openapi.yaml | 1 + .../net8/Petstore/api/openapi.yaml | 1 + .../net8/SourceGeneration/api/openapi.yaml | 1 + .../net9/FormModels/api/openapi.yaml | 1 + .../net9/NullReferenceTypes/api/openapi.yaml | 1 + .../net9/Petstore/api/openapi.yaml | 1 + .../net9/SourceGeneration/api/openapi.yaml | 1 + .../standard2.0/Petstore/api/openapi.yaml | 1 + .../net10/Petstore/api/openapi.yaml | 1 + .../httpclient/net9/Petstore/api/openapi.yaml | 1 + .../standard2.0/Petstore/api/openapi.yaml | 1 + .../net10/EnumMappings/api/openapi.yaml | 1 + .../restsharp/net10/Petstore/api/openapi.yaml | 1 + .../MultipleFrameworks/api/openapi.yaml | 1 + .../net4.7/Petstore/api/openapi.yaml | 1 + .../net4.8/Petstore/api/openapi.yaml | 1 + .../net8/EnumMappings/api/openapi.yaml | 1 + .../restsharp/net8/Petstore/api/openapi.yaml | 1 + .../net9/EnumMappings/api/openapi.yaml | 1 + .../ConditionalSerialization/api/openapi.yaml | 1 + .../standard2.0/Petstore/api/openapi.yaml | 1 + .../net10/Petstore/api/openapi.yaml | 1 + .../net9/Petstore/api/openapi.yaml | 1 + .../standard2.0/Petstore/api/openapi.yaml | 1 + .../models/DemoUserModel.gd | 2 +- .../petstore/go/go-petstore/api/openapi.yaml | 1 + .../petstore/haskell-http-client/openapi.yaml | 1 + .../org/openapitools/client/model/User.java | 2 +- .../org/openapitools/client/model/User.java | 2 +- .../org/openapitools/client/model/User.java | 2 +- .../org/openapitools/client/model/User.java | 2 +- .../java/org/openapitools/model/User.java | 2 +- .../api/openapi.yaml | 2 + .../org/openapitools/client/model/User.java | 2 +- .../java/apache-httpclient/api/openapi.yaml | 2 + .../org/openapitools/client/model/User.java | 2 +- .../petstore/java/feign-hc5/api/openapi.yaml | 2 + .../org/openapitools/client/model/User.java | 2 +- .../java/feign-no-nullable/api/openapi.yaml | 1 + .../org/openapitools/client/model/User.java | 2 +- .../petstore/java/feign/api/openapi.yaml | 2 + .../org/openapitools/client/model/User.java | 2 +- .../java/google-api-client/api/openapi.yaml | 1 + .../org/openapitools/client/model/User.java | 2 +- .../api/openapi.yaml | 1 + .../org/openapitools/client/model/User.java | 2 +- .../java/jersey2-java8/api/openapi.yaml | 1 + .../org/openapitools/client/model/User.java | 2 +- .../java/jersey3-jackson3/api/openapi.yaml | 1 + .../org/openapitools/client/model/User.java | 2 +- .../petstore/java/jersey3/api/openapi.yaml | 1 + .../org/openapitools/client/model/User.java | 2 +- .../org/openapitools/client/model/User.java | 2 +- .../org/openapitools/client/model/User.java | 2 +- .../org/openapitools/client/model/User.java | 2 +- .../org/openapitools/client/model/User.java | 2 +- .../org/openapitools/client/model/User.java | 2 +- .../org/openapitools/client/model/User.java | 2 +- .../org/openapitools/client/model/User.java | 2 +- .../org/openapitools/client/model/User.java | 2 +- .../java/native-async/api/openapi.yaml | 1 + .../org/openapitools/client/model/User.java | 2 +- .../java/native-jackson3/api/openapi.yaml | 1 + .../org/openapitools/client/model/User.java | 2 +- .../java/native-jakarta/api/openapi.yaml | 1 + .../org/openapitools/client/model/User.java | 2 +- .../petstore/java/native/api/openapi.yaml | 1 + .../org/openapitools/client/model/User.java | 2 +- .../java/okhttp-gson-3.1/api/openapi.yaml | 1 + .../org/openapitools/client/model/User.java | 2 +- .../api/openapi.yaml | 1 + .../org/openapitools/client/model/User.java | 2 +- .../org/openapitools/client/model/User.java | 2 +- .../src/main/resources/openapi/openapi.yaml | 1 + .../api/openapi.yaml | 1 + .../org/openapitools/client/model/User.java | 2 +- .../api/openapi.yaml | 1 + .../org/openapitools/client/model/User.java | 2 +- .../api/openapi.yaml | 1 + .../org/openapitools/client/model/User.java | 2 +- .../okhttp-gson-swagger1/api/openapi.yaml | 1 + .../org/openapitools/client/model/User.java | 2 +- .../okhttp-gson-swagger2/api/openapi.yaml | 1 + .../org/openapitools/client/model/User.java | 2 +- .../java/okhttp-gson/api/openapi.yaml | 1 + .../org/openapitools/client/model/User.java | 2 +- .../rest-assured-jackson/api/openapi.yaml | 1 + .../org/openapitools/client/model/User.java | 2 +- .../java/rest-assured/api/openapi.yaml | 1 + .../org/openapitools/client/model/User.java | 2 +- .../java/restclient-swagger2/api/openapi.yaml | 2 + .../org/openapitools/client/model/User.java | 2 +- .../api/openapi.yaml | 2 + .../org/openapitools/client/model/User.java | 2 +- .../api/openapi.yaml | 2 + .../org/openapitools/client/model/User.java | 2 +- .../petstore/java/restclient/api/openapi.yaml | 2 + .../org/openapitools/client/model/User.java | 2 +- .../petstore/java/resteasy/api/openapi.yaml | 2 + .../org/openapitools/client/model/User.java | 2 +- .../resttemplate-jakarta/api/openapi.yaml | 1 + .../org/openapitools/client/model/User.java | 2 +- .../resttemplate-swagger1/api/openapi.yaml | 1 + .../org/openapitools/client/model/User.java | 2 +- .../resttemplate-swagger2/api/openapi.yaml | 1 + .../org/openapitools/client/model/User.java | 2 +- .../resttemplate-withXml/api/openapi.yaml | 2 + .../org/openapitools/client/model/User.java | 2 +- .../java/resttemplate/api/openapi.yaml | 2 + .../org/openapitools/client/model/User.java | 2 +- .../java/retrofit2-play26/api/openapi.yaml | 1 + .../org/openapitools/client/model/User.java | 2 +- .../petstore/java/retrofit2/api/openapi.yaml | 1 + .../org/openapitools/client/model/User.java | 2 +- .../java/retrofit2rx2/api/openapi.yaml | 1 + .../org/openapitools/client/model/User.java | 2 +- .../java/retrofit2rx3/api/openapi.yaml | 1 + .../org/openapitools/client/model/User.java | 2 +- .../java/vertx-no-nullable/api/openapi.yaml | 1 + .../org/openapitools/client/model/User.java | 2 +- .../vertx-supportVertxFuture/api/openapi.yaml | 2 + .../org/openapitools/client/model/User.java | 2 +- .../petstore/java/vertx/api/openapi.yaml | 2 + .../org/openapitools/client/model/User.java | 2 +- .../api/openapi.yaml | 2 + .../org/openapitools/client/model/User.java | 2 +- .../petstore/java/vertx5/api/openapi.yaml | 2 + .../org/openapitools/client/model/User.java | 2 +- .../java/webclient-jakarta/api/openapi.yaml | 2 + .../org/openapitools/client/model/User.java | 2 +- .../java/webclient-swagger2/api/openapi.yaml | 2 + .../org/openapitools/client/model/User.java | 2 +- .../api/openapi.yaml | 2 + .../org/openapitools/client/model/User.java | 2 +- .../petstore/java/webclient/api/openapi.yaml | 2 + .../org/openapitools/client/model/User.java | 2 +- .../gen/java/org/openapitools/model/User.java | 2 +- .../gen/java/org/openapitools/model/User.java | 2 +- .../gen/java/org/openapitools/model/User.java | 2 +- .../petstore/julia/src/models/model_User.jl | 3 + .../OpenAPIClient-php/src/Model/User.php | 2 +- .../php/OpenAPIClient-php/lib/Model/User.php | 2 +- .../petstore/php/psr-18/lib/Model/User.php | 2 +- .../java/org/openapitools/model/User.java | 2 +- .../java/org/openapitools/model/User.java | 2 +- .../java/org/openapitools/model/User.java | 2 +- .../java/org/openapitools/model/User.java | 2 +- .../java/org/openapitools/model/UserDto.java | 2 +- .../java/org/openapitools/model/UserDto.java | 2 +- .../java/org/openapitools/model/User.java | 2 +- .../java/org/openapitools/model/User.java | 2 +- .../java/org/openapitools/model/User.java | 2 +- .../java/org/openapitools/model/UserDto.java | 2 +- .../java/org/openapitools/model/User.java | 2 +- .../java/org/openapitools/model/UserDto.java | 2 +- samples/documentation/html/index.html | 4 +- samples/documentation/html2/index.html | 3 +- .../petstore/go/go-petstore/api/openapi.yaml | 1 + .../jersey2-java8-swagger1/api/openapi.yaml | 1 + .../org/openapitools/client/model/User.java | 2 +- .../jersey2-java8-swagger2/api/openapi.yaml | 1 + .../org/openapitools/client/model/User.java | 2 +- .../java/jersey2-java8/api/openapi.yaml | 1 + .../org/openapitools/client/model/User.java | 2 +- .../petstore_api/models/user.py | 4 +- .../petstore_api/models/user.py | 4 +- .../python-httpx/petstore_api/models/user.py | 4 +- .../petstore_api/models/user.py | 4 +- .../python-httpx2/petstore_api/models/user.py | 4 +- .../petstore_api/models/user.py | 4 +- .../petstore_api/models/user.py | 4 +- .../petstore_api/models/user.py | 4 +- .../python/petstore_api/models/user.py | 4 +- .../java/org/openapitools/model/User.java | 2 +- .../java/org/openapitools/model/User.java | 2 +- .../java/org/openapitools/model/User.java | 2 +- .../java/org/openapitools/model/User.java | 2 +- .../java/org/openapitools/model/User.java | 2 +- .../java/org/openapitools/model/User.java | 2 +- .../java/org/openapitools/model/User.java | 2 +- .../java/org/openapitools/model/User.java | 2 +- .../java/org/openapitools/api/UserApi.java | 2 +- .../java/org/openapitools/model/User.java | 2 +- .../typescript/builds/browser/models/User.ts | 2 +- .../typescript/builds/default/models/User.ts | 2 +- .../typescript/builds/deno/models/User.ts | 2 +- .../builds/deno_object_params/models/User.ts | 2 +- .../builds/explode-query/apis/UserApi.ts | 2 +- .../builds/explode-query/models/User.ts | 2 +- .../builds/inversify/models/User.ts | 2 +- .../typescript/builds/jquery/models/User.ts | 2 +- .../builds/object_params/models/User.ts | 2 +- .../petstore/go/go-petstore/api/openapi.yaml | 1 + .../java/org/openapitools/api/UserApi.java | 2 +- .../java/org/openapitools/model/User.java | 2 +- .../src/main/resources/openapi.yaml | 1 + .../org/openapitools/api/UserApiDelegate.java | 2 +- .../java/org/openapitools/model/User.java | 2 +- .../src/main/resources/openapi.yaml | 1 + .../java/org/openapitools/api/UserApi.java | 2 +- .../java/org/openapitools/model/User.java | 2 +- .../src/main/resources/openapi.yaml | 1 + .../java/org/openapitools/api/UserApi.java | 2 +- .../java/org/openapitools/model/User.java | 2 +- .../src/main/resources/openapi.yaml | 1 + .../org/openapitools/api/UserApiDelegate.java | 2 +- .../java/org/openapitools/model/User.java | 2 +- .../src/main/resources/openapi.yaml | 1 + .../java/org/openapitools/api/UserApi.java | 2 +- .../java/org/openapitools/model/User.java | 2 +- .../src/main/resources/openapi.yaml | 1 + .../java/org/openapitools/api/UserApi.java | 2 +- .../java/org/openapitools/model/User.java | 2 +- .../src/main/resources/openapi.yaml | 1 + .../java/org/openapitools/api/UserApi.java | 2 +- .../java/org/openapitools/model/User.java | 2 +- .../src/main/resources/openapi.yaml | 1 + .../Org.OpenAPITools/Controllers/UserApi.cs | 2 +- .../wwwroot/openapi-original.json | 1 + .../Org.OpenAPITools/Controllers/UserApi.cs | 2 +- .../wwwroot/openapi-original.json | 1 + .../Org.OpenAPITools/Controllers/UserApi.cs | 2 +- .../wwwroot/openapi-original.json | 1 + .../Org.OpenAPITools/Controllers/UserApi.cs | 2 +- .../wwwroot/openapi-original.json | 1 + .../Org.OpenAPITools/Controllers/UserApi.cs | 2 +- .../wwwroot/openapi-original.json | 1 + .../Org.OpenAPITools/Controllers/UserApi.cs | 2 +- .../wwwroot/openapi-original.json | 1 + .../Org.OpenAPITools/Controllers/UserApi.cs | 2 +- .../Org.OpenAPITools/Controllers/UserApi.cs | 2 +- .../wwwroot/openapi-original.json | 1 + .../Org.OpenAPITools/Controllers/UserApi.cs | 2 +- .../wwwroot/openapi-original.json | 1 + .../Org.OpenAPITools/Controllers/UserApi.cs | 2 +- .../wwwroot/openapi-original.json | 1 + .../Org.OpenAPITools/Controllers/UserApi.cs | 2 +- .../wwwroot/openapi-original.json | 1 + .../Org.OpenAPITools/Controllers/UserApi.cs | 2 +- .../wwwroot/openapi-original.json | 1 + .../Org.OpenAPITools/Controllers/UserApi.cs | 2 +- .../wwwroot/openapi-original.json | 1 + .../Org.OpenAPITools/Controllers/UserApi.cs | 2 +- .../wwwroot/openapi-original.json | 1 + .../Org.OpenAPITools/Controllers/UserApi.cs | 2 +- .../wwwroot/openapi-original.json | 1 + .../Org.OpenAPITools/Controllers/UserApi.cs | 2 +- .../Org.OpenAPITools/Controllers/UserApi.cs | 2 +- .../wwwroot/openapi-original.json | 1 + .../Org.OpenAPITools/Controllers/UserApi.cs | 2 +- .../wwwroot/openapi-original.json | 1 + .../Org.OpenAPITools/Controllers/UserApi.cs | 2 +- .../wwwroot/openapi-original.json | 1 + .../Org.OpenAPITools/Controllers/UserApi.cs | 2 +- .../wwwroot/openapi-original.json | 1 + .../Org.OpenAPITools/Controllers/UserApi.cs | 2 +- .../wwwroot/openapi-original.json | 1 + .../Org.OpenAPITools/Controllers/UserApi.cs | 2 +- .../wwwroot/openapi-original.json | 1 + .../Org.OpenAPITools/Controllers/UserApi.cs | 2 +- .../wwwroot/openapi-original.json | 1 + .../Org.OpenAPITools/Controllers/UserApi.cs | 2 +- .../Org.OpenAPITools/Controllers/UserApi.cs | 2 +- .../wwwroot/openapi-original.json | 1 + .../Org.OpenAPITools/Controllers/UserApi.cs | 2 +- .../wwwroot/openapi-original.json | 1 + .../petstore/erlang-server/priv/openapi.json | 1 + .../petstore/go-api-server/api/openapi.yaml | 2 + .../petstore/go-chi-server/api/openapi.yaml | 2 + .../go-echo-server/.docs/api/openapi.yaml | 1 + .../api/openapi.yaml | 1 + .../go-gin-api-server/api/openapi.yaml | 1 + .../java/org/openapitools/model/User.java | 2 +- .../org/openapitools/server/model/User.java | 2 +- .../src/main/resources/META-INF/openapi.yml | 2 + .../org/openapitools/server/model/User.java | 2 +- .../src/main/resources/META-INF/openapi.yml | 2 + .../org/openapitools/server/model/User.java | 2 +- .../src/main/resources/META-INF/openapi.yml | 2 + .../org/openapitools/server/model/User.java | 2 +- .../src/main/resources/META-INF/openapi.yml | 2 + .../org/openapitools/server/model/User.java | 2 +- .../src/main/resources/META-INF/openapi.yml | 2 + .../org/openapitools/server/model/User.java | 2 +- .../src/main/resources/META-INF/openapi.yml | 2 + .../java/org/openapitools/model/User.java | 2 +- .../org/openapitools/server/model/User.java | 2 +- .../gen/java/org/openapitools/model/User.java | 2 +- .../app/apimodels/User.java | 2 +- .../public/openapi.json | 1 + .../app/apimodels/User.java | 2 +- .../public/openapi.json | 1 + .../app/apimodels/User.java | 2 +- .../public/openapi.json | 1 + .../app/apimodels/User.java | 2 +- .../public/openapi.json | 1 + .../app/apimodels/User.java | 2 +- .../public/openapi.json | 1 + .../app/apimodels/User.java | 2 +- .../public/openapi.json | 1 + .../app/apimodels/User.java | 2 +- .../public/openapi.json | 1 + .../app/apimodels/User.java | 2 +- .../public/openapi.json | 1 + .../app/apimodels/User.java | 2 +- .../public/openapi.json | 1 + .../app/apimodels/User.java | 2 +- .../app/apimodels/User.java | 2 +- .../public/openapi.json | 1 + .../app/apimodels/User.java | 2 +- .../java-play-framework/public/openapi.json | 1 + .../java/org/openapitools/model/User.java | 2 +- .../src/main/resources/config/openapi.json | 1 + .../vertxweb/server/model/User.java | 2 +- .../src/main/resources/openapi.yaml | 1 + .../vertxweb/server/model/User.java | 2 +- .../src/main/resources/openapi.yaml | 1 + .../mockserver/api/UserApiMockServer.java | 2 +- .../gen/java/org/openapitools/model/User.java | 2 +- .../gen/java/org/openapitools/model/User.java | 2 +- .../gen/java/org/openapitools/model/User.java | 2 +- .../gen/java/org/openapitools/model/User.java | 2 +- .../gen/java/org/openapitools/model/User.java | 2 +- .../gen/java/org/openapitools/model/User.java | 2 +- .../gen/java/org/openapitools/model/User.java | 2 +- .../gen/java/org/openapitools/model/User.java | 2 +- .../gen/java/org/openapitools/model/User.java | 2 +- .../gen/java/org/openapitools/model/User.java | 2 +- .../gen/java/org/openapitools/model/User.java | 2 +- .../gen/java/org/openapitools/model/User.java | 2 +- .../gen/java/org/openapitools/model/User.java | 2 +- .../src/main/openapi/openapi.yaml | 1 + .../gen/java/org/openapitools/model/User.java | 2 +- .../src/main/openapi/openapi.yaml | 1 + .../gen/java/org/openapitools/model/User.java | 2 +- .../src/main/openapi/openapi.yaml | 1 + .../gen/java/org/openapitools/model/User.java | 2 +- .../src/main/openapi/openapi.yaml | 1 + .../gen/java/org/openapitools/model/User.java | 2 +- .../src/main/openapi/openapi.yaml | 1 + .../gen/java/org/openapitools/model/User.java | 2 +- .../src/main/resources/META-INF/openapi.yaml | 1 + .../gen/java/org/openapitools/model/User.java | 2 +- .../src/main/resources/META-INF/openapi.yaml | 2 + .../gen/java/org/openapitools/model/User.java | 2 +- .../src/main/openapi/openapi.yaml | 1 + .../gen/java/org/openapitools/model/User.java | 2 +- .../src/main/openapi/openapi.yaml | 1 + .../gen/java/org/openapitools/model/User.java | 2 +- .../src/main/openapi/openapi.yaml | 1 + .../gen/java/org/openapitools/model/User.java | 2 +- .../src/main/openapi/openapi.yaml | 1 + .../gen/java/org/openapitools/model/User.java | 2 +- .../jaxrs-spec/src/main/openapi/openapi.yaml | 1 + .../gen/java/org/openapitools/model/User.java | 2 +- .../gen/java/org/openapitools/model/User.java | 2 +- .../gen/java/org/openapitools/model/User.java | 2 +- .../petstore/julia/src/models/model_User.jl | 3 + .../src/main/resources/openapi.yaml | 1 + .../src/main/resources/openapi.yaml | 1 + .../org/openapitools/api/UserApiDelegate.kt | 2 +- .../src/main/resources/openapi.yaml | 1 + .../src/main/resources/openapi.yaml | 1 + .../org/openapitools/api/UserApiDelegate.kt | 2 +- .../src/main/resources/openapi.yaml | 1 + .../src/main/resources/openapi.yaml | 1 + .../src/main/resources/openapi.yaml | 1 + .../src/main/resources/openapi.yaml | 1 + .../petstore/php-slim4/lib/Model/User.php | 3 +- .../src/openapi_server/openapi/openapi.yaml | 1 + .../petstore/python-fastapi/openapi.yaml | 1 + .../src/openapi_server/models/user.py | 4 +- .../openapi_server/openapi/openapi.yaml | 1 + .../openapi_server/openapi/openapi.yaml | 1 + .../api/openapi.yaml | 1 + .../output/rust-server-test/api/openapi.yaml | 2 + .../jvm/src/main/resources/openapi.json | 1 + .../java/org/openapitools/model/User.java | 2 +- .../java/org/openapitools/api/UserApi.java | 2 +- .../java/org/openapitools/model/User.java | 2 +- .../src/main/resources/openapi.yaml | 1 + .../java/org/openapitools/api/UserApi.java | 2 +- .../java/org/openapitools/model/User.java | 2 +- .../src/main/resources/openapi.yaml | 1 + .../java/org/openapitools/api/UserApi.java | 2 +- .../java/org/openapitools/model/User.java | 2 +- .../src/main/resources/openapi.yaml | 1 + .../org/openapitools/api/UserApiDelegate.java | 2 +- .../java/org/openapitools/model/User.java | 2 +- .../src/main/resources/openapi.yaml | 1 + .../org/openapitools/api/UserApiDelegate.java | 2 +- .../java/org/openapitools/model/User.java | 2 +- .../src/main/resources/openapi.yaml | 1 + .../org/openapitools/api/UserApiDelegate.java | 2 +- .../java/org/openapitools/model/User.java | 2 +- .../src/main/resources/openapi.yaml | 1 + .../java/org/openapitools/api/UserApi.java | 2 +- .../java/org/openapitools/model/User.java | 2 +- .../src/main/resources/openapi.yaml | 1 + .../java/org/openapitools/api/UserApi.java | 2 +- .../java/org/openapitools/model/User.java | 2 +- .../src/main/resources/openapi.yaml | 1 + .../java/org/openapitools/api/UserApi.java | 2 +- .../java/org/openapitools/model/UserDto.java | 2 +- .../src/main/resources/openapi.yaml | 1 + .../java/org/openapitools/api/UserApi.java | 2 +- .../java/org/openapitools/model/User.java | 1 + .../src/main/resources/openapi.yaml | 1 + .../java/org/openapitools/api/UserApi.java | 2 +- .../java/org/openapitools/model/User.java | 1 + .../src/main/resources/openapi.yaml | 1 + .../org/openapitools/api/UserApiDelegate.java | 2 +- .../java/org/openapitools/model/User.java | 2 +- .../src/main/resources/openapi.yaml | 1 + .../java/org/openapitools/model/User.java | 2 +- .../src/main/resources/openapi.yaml | 1 + .../org/openapitools/api/UserApiDelegate.java | 2 +- .../java/org/openapitools/model/User.java | 2 +- .../src/main/resources/openapi.yaml | 1 + .../org/openapitools/api/UserApiDelegate.java | 2 +- .../java/org/openapitools/model/User.java | 2 +- .../src/main/resources/openapi.yaml | 1 + .../org/openapitools/api/UserApiDelegate.java | 2 +- .../java/org/openapitools/model/User.java | 2 +- .../src/main/resources/openapi.yaml | 1 + .../java/org/openapitools/api/UserApi.java | 2 +- .../java/org/openapitools/model/User.java | 2 +- .../src/main/resources/openapi.yaml | 1 + .../java/org/openapitools/api/UserApi.java | 2 +- .../java/org/openapitools/model/User.java | 2 +- .../src/main/resources/openapi.yaml | 1 + .../java/org/openapitools/model/User.java | 2 +- .../src/main/resources/openapi.yaml | 1 + .../java/org/openapitools/api/UserApi.java | 2 +- .../java/org/openapitools/model/User.java | 2 +- .../src/main/resources/openapi.yaml | 1 + .../openapitools/virtualan/api/UserApi.java | 2 +- .../openapitools/virtualan/model/User.java | 2 +- .../src/main/resources/openapi.yaml | 1 + .../java/org/openapitools/api/UserApi.java | 2 +- .../java/org/openapitools/model/UserDto.java | 2 +- .../src/main/resources/openapi.yaml | 1 + .../java/org/openapitools/api/UserApi.java | 2 +- .../java/org/openapitools/model/UserDto.java | 2 +- .../src/main/resources/openapi.yaml | 1 + 565 files changed, 672 insertions(+), 4396 deletions(-) delete mode 100644 modules/openapi-generator/src/test/resources/2_0/wordnik.json delete mode 100644 modules/openapi-generator/src/test/resources/2_0/wordnik.yaml diff --git a/modules/openapi-generator/src/test/resources/1_2/petstore-1.2/user b/modules/openapi-generator/src/test/resources/1_2/petstore-1.2/user index c9eb3f6ff783..ef0bdf4488d4 100644 --- a/modules/openapi-generator/src/test/resources/1_2/petstore-1.2/user +++ b/modules/openapi-generator/src/test/resources/1_2/petstore-1.2/user @@ -244,7 +244,8 @@ "description": "The password for login in clear text", "required": true, "type": "string", - "paramType": "query" + "paramType": "query", + "format": "password" } ], "responseMessages": [ @@ -278,7 +279,8 @@ "type": "string" }, "password": { - "type": "string" + "type": "string", + "format": "password" }, "phone": { "type": "string" diff --git a/modules/openapi-generator/src/test/resources/2_0/c/petstore.yaml b/modules/openapi-generator/src/test/resources/2_0/c/petstore.yaml index b7ea03b1c779..10131f919bcb 100644 --- a/modules/openapi-generator/src/test/resources/2_0/c/petstore.yaml +++ b/modules/openapi-generator/src/test/resources/2_0/c/petstore.yaml @@ -632,6 +632,7 @@ paths: description: The password for login in clear text required: true type: string + format: password responses: '200': description: successful operation @@ -872,6 +873,7 @@ definitions: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/2_0/globalSecurity.json b/modules/openapi-generator/src/test/resources/2_0/globalSecurity.json index efecc7ee6b48..fec8e891d350 100644 --- a/modules/openapi-generator/src/test/resources/2_0/globalSecurity.json +++ b/modules/openapi-generator/src/test/resources/2_0/globalSecurity.json @@ -652,7 +652,8 @@ "in": "query", "description": "The password for login in clear text", "required": false, - "type": "string" + "type": "string", + "format": "password" } ], "responses": { @@ -861,7 +862,8 @@ "type": "string" }, "password": { - "type": "string" + "type": "string", + "format": "password" }, "phone": { "type": "string" diff --git a/modules/openapi-generator/src/test/resources/2_0/long_description_issue_7839.json b/modules/openapi-generator/src/test/resources/2_0/long_description_issue_7839.json index e50678f6cdd0..4010bb3aeb9a 100644 --- a/modules/openapi-generator/src/test/resources/2_0/long_description_issue_7839.json +++ b/modules/openapi-generator/src/test/resources/2_0/long_description_issue_7839.json @@ -503,7 +503,8 @@ "in" : "query", "description" : "The password for login in clear text", "required" : true, - "type" : "string" + "type" : "string", + "format": "password" } ], "responses" : { "200" : { @@ -711,7 +712,8 @@ "type" : "string" }, "password" : { - "type" : "string" + "type" : "string", + "format" : "password" }, "phone" : { "type" : "string" diff --git a/modules/openapi-generator/src/test/resources/2_0/petstore-bash.json b/modules/openapi-generator/src/test/resources/2_0/petstore-bash.json index cc93278ae86a..327e3bca1da9 100644 --- a/modules/openapi-generator/src/test/resources/2_0/petstore-bash.json +++ b/modules/openapi-generator/src/test/resources/2_0/petstore-bash.json @@ -698,7 +698,8 @@ "in":"query", "description":"The password for login in clear text", "required":true, - "type":"string" + "type":"string", + "format":"password" } ], "responses":{ @@ -942,7 +943,8 @@ "type":"string" }, "password":{ - "type":"string" + "type":"string", + "format": "password" }, "phone":{ "type":"string" diff --git a/modules/openapi-generator/src/test/resources/2_0/petstore-nullable.yaml b/modules/openapi-generator/src/test/resources/2_0/petstore-nullable.yaml index b68004726ed8..9e232332bcbf 100644 --- a/modules/openapi-generator/src/test/resources/2_0/petstore-nullable.yaml +++ b/modules/openapi-generator/src/test/resources/2_0/petstore-nullable.yaml @@ -452,6 +452,7 @@ paths: description: The password for login in clear text required: true type: string + format: password responses: '200': description: successful operation @@ -625,6 +626,7 @@ definitions: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/2_0/petstore-orig.json b/modules/openapi-generator/src/test/resources/2_0/petstore-orig.json index 9f8689649350..8a7875edb6ee 100644 --- a/modules/openapi-generator/src/test/resources/2_0/petstore-orig.json +++ b/modules/openapi-generator/src/test/resources/2_0/petstore-orig.json @@ -652,7 +652,8 @@ "in": "query", "description": "The password for login in clear text", "required": false, - "type": "string" + "type": "string", + "format": "password" } ], "responses": { @@ -828,7 +829,8 @@ "type": "string" }, "password": { - "type": "string" + "type": "string", + "format": "password" }, "phone": { "type": "string" diff --git a/modules/openapi-generator/src/test/resources/2_0/petstore-proto.yaml b/modules/openapi-generator/src/test/resources/2_0/petstore-proto.yaml index 77cbbb72c3b8..71c0d56915a4 100644 --- a/modules/openapi-generator/src/test/resources/2_0/petstore-proto.yaml +++ b/modules/openapi-generator/src/test/resources/2_0/petstore-proto.yaml @@ -453,6 +453,7 @@ paths: description: The password for login in clear text required: true type: string + format: password responses: '200': description: successful operation @@ -626,6 +627,7 @@ definitions: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/2_0/petstore-vendor-mime.yaml b/modules/openapi-generator/src/test/resources/2_0/petstore-vendor-mime.yaml index 118f66d37acb..1d7e5c5d001e 100644 --- a/modules/openapi-generator/src/test/resources/2_0/petstore-vendor-mime.yaml +++ b/modules/openapi-generator/src/test/resources/2_0/petstore-vendor-mime.yaml @@ -448,6 +448,7 @@ paths: description: The password for login in clear text required: true type: string + format: password responses: '200': description: successful operation @@ -839,6 +840,7 @@ definitions: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/2_0/petstore-with-date-field.yaml b/modules/openapi-generator/src/test/resources/2_0/petstore-with-date-field.yaml index 28d56302b7b8..09988324aa09 100644 --- a/modules/openapi-generator/src/test/resources/2_0/petstore-with-date-field.yaml +++ b/modules/openapi-generator/src/test/resources/2_0/petstore-with-date-field.yaml @@ -442,6 +442,7 @@ paths: description: The password for login in clear text required: true type: string + format: password responses: '200': description: successful operation @@ -615,6 +616,7 @@ definitions: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-for-testing-playframework-with-security.yaml b/modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-for-testing-playframework-with-security.yaml index 4ef75a199d37..c6ec5afb9cac 100644 --- a/modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-for-testing-playframework-with-security.yaml +++ b/modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-for-testing-playframework-with-security.yaml @@ -181,6 +181,7 @@ definitions: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing-localhost.yaml b/modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing-localhost.yaml index b1399c43750d..eecbbe599681 100644 --- a/modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing-localhost.yaml +++ b/modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing-localhost.yaml @@ -1208,6 +1208,7 @@ definitions: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing-saga-and-records.yaml b/modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing-saga-and-records.yaml index babf447f2f1a..f6c00bfa4951 100644 --- a/modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing-saga-and-records.yaml +++ b/modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing-saga-and-records.yaml @@ -639,6 +639,7 @@ paths: description: The password for login in clear text required: true type: string + format: password responses: '200': description: successful operation @@ -822,6 +823,7 @@ definitions: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing-with-spring-pageable.yaml b/modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing-with-spring-pageable.yaml index b903c4f68c21..b318b67bb716 100644 --- a/modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing-with-spring-pageable.yaml +++ b/modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing-with-spring-pageable.yaml @@ -482,6 +482,7 @@ paths: description: The password for login in clear text required: true type: string + format: password responses: '200': description: successful operation @@ -1323,6 +1324,7 @@ definitions: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml b/modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml index 27901ae0b380..24b5e2230745 100644 --- a/modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml +++ b/modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml @@ -1208,6 +1208,7 @@ definitions: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/2_0/petstore-with-operations-without-required-params.yaml b/modules/openapi-generator/src/test/resources/2_0/petstore-with-operations-without-required-params.yaml index cdc9e693f444..8a2de32adb8e 100644 --- a/modules/openapi-generator/src/test/resources/2_0/petstore-with-operations-without-required-params.yaml +++ b/modules/openapi-generator/src/test/resources/2_0/petstore-with-operations-without-required-params.yaml @@ -449,6 +449,7 @@ paths: description: The password for login in clear text required: true type: string + format: password responses: '200': description: successful operation @@ -622,6 +623,7 @@ definitions: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/2_0/petstore-with-spring-pageable.yaml b/modules/openapi-generator/src/test/resources/2_0/petstore-with-spring-pageable.yaml index fbf17da64240..8f127576ba6a 100644 --- a/modules/openapi-generator/src/test/resources/2_0/petstore-with-spring-pageable.yaml +++ b/modules/openapi-generator/src/test/resources/2_0/petstore-with-spring-pageable.yaml @@ -476,6 +476,7 @@ paths: description: The password for login in clear text required: true type: string + format: password responses: '200': description: successful operation @@ -658,6 +659,7 @@ definitions: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/2_0/petstore.json b/modules/openapi-generator/src/test/resources/2_0/petstore.json index 5deda4b94ce5..9108563a9377 100644 --- a/modules/openapi-generator/src/test/resources/2_0/petstore.json +++ b/modules/openapi-generator/src/test/resources/2_0/petstore.json @@ -663,7 +663,8 @@ "in": "query", "description": "The password for login in clear text", "required": false, - "type": "string" + "type": "string", + "format": "password" } ], "responses": { @@ -839,7 +840,8 @@ "type": "string" }, "password": { - "type": "string" + "type": "string", + "format": "password" }, "phone": { "type": "string" diff --git a/modules/openapi-generator/src/test/resources/2_0/petstore.yaml b/modules/openapi-generator/src/test/resources/2_0/petstore.yaml index 36a05a5f6fe9..6d2557e85685 100644 --- a/modules/openapi-generator/src/test/resources/2_0/petstore.yaml +++ b/modules/openapi-generator/src/test/resources/2_0/petstore.yaml @@ -622,6 +622,7 @@ definitions: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/2_0/petstore_issue_7999.json b/modules/openapi-generator/src/test/resources/2_0/petstore_issue_7999.json index c48c37f0f9a4..493fce847cbe 100644 --- a/modules/openapi-generator/src/test/resources/2_0/petstore_issue_7999.json +++ b/modules/openapi-generator/src/test/resources/2_0/petstore_issue_7999.json @@ -663,7 +663,8 @@ "in": "query", "description": "The password for login in clear text", "required": false, - "type": "string" + "type": "string", + "format": "password" } ], "responses": { @@ -839,7 +840,8 @@ "type": "string" }, "password": { - "type": "string" + "type": "string", + "format": "password" }, "phone": { "type": "string" diff --git a/modules/openapi-generator/src/test/resources/2_0/rust-server/petstore-with-fake-endpoints-models-for-testing.yaml b/modules/openapi-generator/src/test/resources/2_0/rust-server/petstore-with-fake-endpoints-models-for-testing.yaml index 3595c5b50361..e0c2db58df28 100644 --- a/modules/openapi-generator/src/test/resources/2_0/rust-server/petstore-with-fake-endpoints-models-for-testing.yaml +++ b/modules/openapi-generator/src/test/resources/2_0/rust-server/petstore-with-fake-endpoints-models-for-testing.yaml @@ -1054,6 +1054,7 @@ definitions: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/2_0/rust-server/rust-server-test.yaml b/modules/openapi-generator/src/test/resources/2_0/rust-server/rust-server-test.yaml index 2f7cef964da2..f354a7ef2f76 100644 --- a/modules/openapi-generator/src/test/resources/2_0/rust-server/rust-server-test.yaml +++ b/modules/openapi-generator/src/test/resources/2_0/rust-server/rust-server-test.yaml @@ -120,6 +120,7 @@ parameters: type: string password: type: string + format: password required: - id definitions: diff --git a/modules/openapi-generator/src/test/resources/2_0/swift/petstore-with-fake-endpoints-models-for-testing.yaml b/modules/openapi-generator/src/test/resources/2_0/swift/petstore-with-fake-endpoints-models-for-testing.yaml index 539b5210aece..e48d627a82e0 100644 --- a/modules/openapi-generator/src/test/resources/2_0/swift/petstore-with-fake-endpoints-models-for-testing.yaml +++ b/modules/openapi-generator/src/test/resources/2_0/swift/petstore-with-fake-endpoints-models-for-testing.yaml @@ -1122,6 +1122,7 @@ definitions: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/2_0/wordnik.json b/modules/openapi-generator/src/test/resources/2_0/wordnik.json deleted file mode 100644 index ca4ec3ef45c5..000000000000 --- a/modules/openapi-generator/src/test/resources/2_0/wordnik.json +++ /dev/null @@ -1,2456 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "The Wordnik Public API", - "version": "4.0" - }, - "host": "api.wordnik.com", - "basePath": "/v4", - "schemes": [ - "https" - ], - "security": [ - { - "apiKey": [] - } - ], - "paths": { - "/account.json/apiTokenStatus": { - "get": { - "tags": [ - "account" - ], - "summary": "Returns usage statistics for the API account.", - "operationId": "getApiTokenStatus", - "parameters": [ - { - "name": "api_key", - "in": "header", - "description": "Wordnik authentication token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Usage statistics for the supplied API key", - "schema": { - "$ref": "#/definitions/ApiTokenStatus" - } - }, - "400": { - "description": "No token supplied." - }, - "404": { - "description": "No API account with supplied token." - } - } - } - }, - "/account.json/authenticate/{username}": { - "get": { - "tags": [ - "account" - ], - "summary": "Authenticates a User", - "operationId": "authenticate", - "parameters": [ - { - "name": "username", - "in": "path", - "description": "A confirmed Wordnik username", - "required": true, - "type": "string" - }, - { - "name": "password", - "in": "query", - "description": "The user's password", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "A valid authentication token", - "schema": { - "$ref": "#/definitions/AuthenticationToken" - } - }, - "403": { - "description": "Account not available." - }, - "404": { - "description": "User not found." - } - } - }, - "post": { - "tags": [ - "account" - ], - "summary": "Authenticates a user", - "operationId": "authenticatePost", - "parameters": [ - { - "name": "username", - "in": "path", - "description": "A confirmed Wordnik username", - "required": true, - "type": "string" - }, - { - "in": "body", - "name": "body", - "schema": { - "type": "string" - }, - "description": "The user's password", - "required": true - } - ], - "responses": { - "200": { - "description": "A valid authentication token", - "schema": { - "$ref": "#/definitions/AuthenticationToken" - } - }, - "403": { - "description": "Account not available." - }, - "404": { - "description": "User not found." - } - } - } - }, - "/account.json/user": { - "get": { - "tags": [ - "account" - ], - "summary": "Returns the logged-in User", - "description": "Requires a valid auth_token to be set.", - "operationId": "getLoggedInUser", - "parameters": [ - { - "name": "auth_token", - "in": "header", - "description": "The auth token of the logged-in user, obtained by calling /account.json/authenticate/{username} (described above)", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "The logged-in user", - "schema": { - "$ref": "#/definitions/User" - } - }, - "403": { - "description": "Not logged in." - }, - "404": { - "description": "User not found." - } - } - } - }, - "/account.json/wordLists": { - "get": { - "tags": [ - "account" - ], - "summary": "Fetches WordList objects for the logged-in user.", - "operationId": "getWordListsForLoggedInUser", - "parameters": [ - { - "name": "auth_token", - "in": "header", - "description": "auth_token of logged-in user", - "required": true, - "type": "string" - }, - { - "name": "skip", - "in": "query", - "description": "Results to skip", - "required": false, - "type": "integer", - "format": "int32" - }, - { - "name": "limit", - "in": "query", - "description": "Maximum number of results to return", - "required": false, - "type": "integer", - "format": "int32" - } - ], - "responses": { - "200": { - "description": "success", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/WordList" - } - } - }, - "403": { - "description": "Not authenticated." - }, - "404": { - "description": "User account not found." - } - } - } - }, - "/word.json/{word}": { - "get": { - "tags": [ - "word" - ], - "summary": "Given a word as a string, returns the WordObject that represents it", - "operationId": "getWord", - "parameters": [ - { - "name": "word", - "in": "path", - "description": "String value of WordObject to return", - "required": true, - "type": "string" - }, - { - "name": "useCanonical", - "in": "query", - "description": "If true will try to return the correct word root ('cats' -> 'cat'). If false returns exactly what was requested.", - "required": false, - "type": "string" - }, - { - "name": "includeSuggestions", - "in": "query", - "description": "Return suggestions (for correct spelling, case variants, etc.)", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "success", - "schema": { - "$ref": "#/definitions/WordObject" - } - }, - "400": { - "description": "Invalid word supplied." - } - } - } - }, - "/word.json/{word}/audio": { - "get": { - "tags": [ - "word" - ], - "summary": "Fetches audio metadata for a word.", - "description": "The metadata includes a time-expiring fileUrl which allows reading the audio file directly from the API. Currently only audio pronunciations from the American Heritage Dictionary in mp3 format are supported.", - "operationId": "getAudio", - "parameters": [ - { - "name": "word", - "in": "path", - "description": "Word to get audio for.", - "required": true, - "type": "string" - }, - { - "name": "useCanonical", - "in": "query", - "description": "Use the canonical form of the word", - "required": false, - "type": "string" - }, - { - "name": "limit", - "in": "query", - "description": "Maximum number of results to return", - "required": false, - "type": "integer", - "format": "int32" - } - ], - "responses": { - "200": { - "description": "success", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/AudioFile" - } - } - }, - "400": { - "description": "Invalid word supplied." - } - } - } - }, - "/word.json/{word}/definitions": { - "get": { - "tags": [ - "word" - ], - "summary": "Return definitions for a word", - "operationId": "getDefinitions", - "parameters": [ - { - "name": "word", - "in": "path", - "description": "Word to return definitions for", - "required": true, - "type": "string" - }, - { - "name": "limit", - "in": "query", - "description": "Maximum number of results to return", - "required": false, - "type": "integer", - "format": "int32" - }, - { - "name": "partOfSpeech", - "in": "query", - "description": "CSV list of part-of-speech types", - "required": false, - "type": "string" - }, - { - "name": "includeRelated", - "in": "query", - "description": "Return related words with definitions", - "required": false, - "type": "string" - }, - { - "name": "sourceDictionaries", - "in": "query", - "description": "Source dictionary to return definitions from. If 'all' is received, results are returned from all sources. If multiple values are received (e.g. 'century,wiktionary'), results are returned from the first specified dictionary that has definitions. If left blank, results are returned from the first dictionary that has definitions. By default, dictionaries are searched in this order: ahd, wiktionary, webster, century, wordnet", - "required": false, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "csv" - }, - { - "name": "useCanonical", - "in": "query", - "description": "If true will try to return the correct word root ('cats' -> 'cat'). If false returns exactly what was requested.", - "required": false, - "type": "string" - }, - { - "name": "includeTags", - "in": "query", - "description": "Return a closed set of XML tags in response", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "success", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/Definition" - } - } - }, - "400": { - "description": "Invalid word supplied." - }, - "404": { - "description": "No definitions found." - } - } - } - }, - "/word.json/{word}/etymologies": { - "get": { - "tags": [ - "word" - ], - "summary": "Fetches etymology data", - "operationId": "getEtymologies", - "parameters": [ - { - "name": "word", - "in": "path", - "description": "Word to return", - "required": true, - "type": "string" - }, - { - "name": "useCanonical", - "in": "query", - "description": "If true will try to return the correct word root ('cats' -> 'cat'). If false returns exactly what was requested.", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "success", - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "400": { - "description": "Invalid word supplied." - }, - "404": { - "description": "No definitions found." - } - } - } - }, - "/word.json/{word}/examples": { - "get": { - "tags": [ - "word" - ], - "summary": "Returns examples for a word", - "operationId": "getExamples", - "parameters": [ - { - "name": "word", - "in": "path", - "description": "Word to return examples for", - "required": true, - "type": "string" - }, - { - "name": "includeDuplicates", - "in": "query", - "description": "Show duplicate examples from different sources", - "required": false, - "type": "string" - }, - { - "name": "useCanonical", - "in": "query", - "description": "If true will try to return the correct word root ('cats' -> 'cat'). If false returns exactly what was requested.", - "required": false, - "type": "string" - }, - { - "name": "skip", - "in": "query", - "description": "Results to skip", - "required": false, - "type": "integer", - "format": "int32" - }, - { - "name": "limit", - "in": "query", - "description": "Maximum number of results to return", - "required": false, - "type": "integer", - "format": "int32" - } - ], - "responses": { - "200": { - "description": "success", - "$ref": "/definitions/ExampleSearchResults" - }, - "400": { - "description": "Invalid word supplied." - } - } - } - }, - "/word.json/{word}/frequency": { - "get": { - "tags": [ - "word" - ], - "summary": "Returns word usage over time", - "operationId": "getWordFrequency", - "parameters": [ - { - "name": "word", - "in": "path", - "description": "Word to return", - "required": true, - "type": "string" - }, - { - "name": "useCanonical", - "in": "query", - "description": "If true will try to return the correct word root ('cats' -> 'cat'). If false returns exactly what was requested.", - "required": false, - "type": "string" - }, - { - "name": "startYear", - "in": "query", - "description": "Starting Year", - "required": false, - "type": "integer", - "format": "int32" - }, - { - "name": "endYear", - "in": "query", - "description": "Ending Year", - "required": false, - "type": "integer", - "format": "int32" - } - ], - "responses": { - "200": { - "description": "success", - "schema": { - "$ref": "#/definitions/FrequencySummary" - } - }, - "400": { - "description": "Invalid word supplied." - }, - "404": { - "description": "No results." - } - } - } - }, - "/word.json/{word}/hyphenation": { - "get": { - "tags": [ - "word" - ], - "summary": "Returns syllable information for a word", - "operationId": "getHyphenation", - "parameters": [ - { - "name": "word", - "in": "path", - "description": "Word to get syllables for", - "required": true, - "type": "string" - }, - { - "name": "useCanonical", - "in": "query", - "description": "If true will try to return a correct word root ('cats' -> 'cat'). If false returns exactly what was requested.", - "required": false, - "type": "string" - }, - { - "name": "sourceDictionary", - "in": "query", - "description": "Get from a single dictionary. Valid options: ahd, century, wiktionary, webster, and wordnet.", - "required": false, - "type": "string" - }, - { - "name": "limit", - "in": "query", - "description": "Maximum number of results to return", - "required": false, - "type": "integer", - "format": "int32" - } - ], - "responses": { - "200": { - "description": "success", - "type": "array", - "items": { - "schema": { - "$ref": "#/definitions/Syllable" - } - } - }, - "400": { - "description": "Invalid word supplied." - } - } - } - }, - "/word.json/{word}/phrases": { - "get": { - "tags": [ - "word" - ], - "summary": "Fetches bi-gram phrases for a word", - "operationId": "getPhrases", - "parameters": [ - { - "name": "word", - "in": "path", - "description": "Word to fetch phrases for", - "required": true, - "type": "string" - }, - { - "name": "limit", - "in": "query", - "description": "Maximum number of results to return", - "required": false, - "type": "integer", - "format": "int32" - }, - { - "name": "wlmi", - "in": "query", - "description": "Minimum WLMI for the phrase", - "required": false, - "type": "integer", - "format": "int32" - }, - { - "name": "useCanonical", - "in": "query", - "description": "If true will try to return the correct word root ('cats' -> 'cat'). If false returns exactly what was requested.", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "success", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/Bigram" - } - } - }, - "400": { - "description": "Invalid word supplied." - } - } - } - }, - "/word.json/{word}/pronunciations": { - "get": { - "tags": [ - "word" - ], - "summary": "Returns text pronunciations for a given word", - "operationId": "getTextPronunciations", - "parameters": [ - { - "name": "word", - "in": "path", - "description": "Word to get pronunciations for", - "required": true, - "type": "string" - }, - { - "name": "useCanonical", - "in": "query", - "description": "If true will try to return a correct word root ('cats' -> 'cat'). If false returns exactly what was requested.", - "required": false, - "type": "string" - }, - { - "name": "sourceDictionary", - "in": "query", - "description": "Get from a single dictionary", - "required": false, - "type": "string" - }, - { - "name": "typeFormat", - "in": "query", - "description": "Text pronunciation type", - "required": false, - "type": "string" - }, - { - "name": "limit", - "in": "query", - "description": "Maximum number of results to return", - "required": false, - "type": "integer", - "format": "int32" - } - ], - "responses": { - "200": { - "description": "success", - "type": "array", - "items": { - "schema": { - "$ref": "#/definitions/TextPron" - } - } - }, - "400": { - "description": "Invalid word supplied." - } - } - } - }, - "/word.json/{word}/relatedWords": { - "get": { - "tags": [ - "word" - ], - "summary": "Given a word as a string, returns relationships from the Word Graph", - "operationId": "getRelatedWords", - "parameters": [ - { - "name": "word", - "in": "path", - "description": "Word to fetch relationships for", - "required": true, - "type": "string" - }, - { - "name": "useCanonical", - "in": "query", - "description": "If true will try to return the correct word root ('cats' -> 'cat'). If false returns exactly what was requested.", - "required": false, - "type": "string" - }, - { - "name": "relationshipTypes", - "in": "query", - "description": "Limits the total results per type of relationship type", - "required": false, - "type": "string" - }, - { - "name": "limitPerRelationshipType", - "in": "query", - "description": "Restrict to the supplied relationship types", - "required": false, - "type": "integer", - "format": "int32" - } - ], - "responses": { - "200": { - "description": "success", - "type": "array", - "items": { - "schema": { - "$ref": "#/definitions/Related" - } - } - }, - "400": { - "description": "Invalid word supplied." - } - } - } - }, - "/word.json/{word}/topExample": { - "get": { - "tags": [ - "word" - ], - "summary": "Returns a top example for a word", - "operationId": "getTopExample", - "parameters": [ - { - "name": "word", - "in": "path", - "description": "Word to fetch examples for", - "required": true, - "type": "string" - }, - { - "name": "useCanonical", - "in": "query", - "description": "If true will try to return the correct word root ('cats' -> 'cat'). If false returns exactly what was requested.", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "success", - "schema": { - "$ref": "#/definitions/Example" - } - }, - "400": { - "description": "Invalid word supplied." - } - } - } - }, - "/wordList.json/{permalink}": { - "get": { - "tags": [ - "wordList" - ], - "summary": "Fetches a WordList by ID", - "operationId": "getWordListByPermalink", - "parameters": [ - { - "name": "permalink", - "in": "path", - "description": "permalink of WordList to fetch", - "required": true, - "type": "string" - }, - { - "name": "auth_token", - "in": "header", - "description": "The auth token of the logged-in user, obtained by calling /account.json/authenticate/{username} (described above)", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "success", - "schema": { - "$ref": "#/definitions/WordList" - } - }, - "400": { - "description": "Invalid ID supplied" - }, - "403": { - "description": "Not Authorized to access WordList" - }, - "404": { - "description": "WordList not found" - } - } - }, - "put": { - "tags": [ - "wordList" - ], - "summary": "Updates an existing WordList", - "operationId": "updateWordList", - "parameters": [ - { - "name": "permalink", - "in": "path", - "description": "permalink of WordList to update", - "required": true, - "type": "string" - }, - { - "in": "body", - "name": "body", - "description": "Updated WordList", - "required": false, - "schema": { - "$ref": "#/definitions/WordList" - } - }, - { - "name": "auth_token", - "in": "header", - "description": "The auth token of the logged-in user, obtained by calling /account.json/authenticate/{username} (described above)", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "success" - }, - "400": { - "description": "Invalid ID supplied" - }, - "403": { - "description": "Not Authorized to update WordList" - }, - "404": { - "description": "WordList not found" - } - } - }, - "delete": { - "tags": [ - "wordList" - ], - "summary": "Deletes an existing WordList", - "operationId": "deleteWordList", - "parameters": [ - { - "name": "permalink", - "in": "path", - "description": "ID of WordList to delete", - "required": true, - "type": "string" - }, - { - "name": "auth_token", - "in": "header", - "description": "The auth token of the logged-in user, obtained by calling /account.json/authenticate/{username} (described above)", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "success" - }, - "400": { - "description": "Invalid ID supplied" - }, - "403": { - "description": "Not Authorized to delete WordList" - }, - "404": { - "description": "WordList not found" - } - } - } - }, - "/wordList.json/{permalink}/deleteWords": { - "post": { - "tags": [ - "wordList" - ], - "summary": "Removes words from a WordList", - "operationId": "deleteWordsFromWordList", - "parameters": [ - { - "name": "permalink", - "in": "path", - "description": "permalink of WordList to use", - "required": true, - "type": "string" - }, - { - "in": "body", - "name": "body", - "description": "Words to remove from WordList", - "required": false, - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/StringValue" - } - } - }, - { - "name": "auth_token", - "in": "header", - "description": "The auth token of the logged-in user, obtained by calling /account.json/authenticate/{username} (described above)", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "success" - }, - "400": { - "description": "Invalid permalink supplied" - }, - "403": { - "description": "Not Authorized to modify WordList" - }, - "404": { - "description": "WordList not found" - } - } - } - }, - "/wordList.json/{permalink}/words": { - "get": { - "tags": [ - "wordList" - ], - "summary": "Fetches words in a WordList", - "operationId": "getWordListWords", - "parameters": [ - { - "name": "permalink", - "in": "path", - "description": "ID of WordList to use", - "required": true, - "type": "string" - }, - { - "name": "sortBy", - "in": "query", - "description": "Field to sort by", - "required": false, - "type": "string" - }, - { - "name": "sortOrder", - "in": "query", - "description": "Direction to sort", - "required": false, - "type": "string" - }, - { - "name": "skip", - "in": "query", - "description": "Results to skip", - "required": false, - "type": "integer", - "format": "int32" - }, - { - "name": "limit", - "in": "query", - "description": "Maximum number of results to return", - "required": false, - "type": "integer", - "format": "int32" - }, - { - "name": "auth_token", - "in": "header", - "description": "The auth token of the logged-in user, obtained by calling /account.json/authenticate/{username} (described above)", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "success", - "type": "array", - "items": { - "schema": { - "$ref": "#/definitions/WordListWord" - } - } - }, - "400": { - "description": "Invalid ID supplied" - }, - "403": { - "description": "Not Authorized to access WordList" - }, - "404": { - "description": "WordList not found" - } - } - }, - "post": { - "tags": [ - "wordList" - ], - "summary": "Adds words to a WordList", - "operationId": "addWordsToWordList", - "parameters": [ - { - "name": "permalink", - "in": "path", - "description": "permalink of WordList to user", - "required": true, - "type": "string" - }, - { - "in": "body", - "name": "body", - "description": "Array of words to add to WordList", - "required": false, - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/StringValue" - } - } - }, - { - "name": "auth_token", - "in": "header", - "description": "The auth token of the logged-in user, obtained by calling /account.json/authenticate/{username} (described above)", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "success" - }, - "400": { - "description": "Invalid permalink supplied" - }, - "403": { - "description": "Not Authorized to access WordList" - }, - "404": { - "description": "WordList not found" - } - } - } - }, - "/wordLists.json": { - "post": { - "tags": [ - "wordLists" - ], - "summary": "Creates a WordList.", - "operationId": "createWordList", - "parameters": [ - { - "in": "body", - "name": "body", - "description": "WordList to create", - "required": false, - "schema": { - "$ref": "#/definitions/WordList" - } - }, - { - "name": "auth_token", - "in": "header", - "description": "The auth token of the logged-in user, obtained by calling /account.json/authenticate/{username} (described above)", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "success", - "schema": { - "$ref": "#/definitions/WordList" - } - }, - "400": { - "description": "Invalid WordList supplied or mandatory fields are missing" - }, - "403": { - "description": "Not authenticated" - }, - "404": { - "description": "WordList owner not found" - } - } - } - }, - "/words.json/randomWord": { - "get": { - "tags": [ - "words" - ], - "summary": "Returns a single random WordObject", - "operationId": "getRandomWord", - "parameters": [ - { - "name": "hasDictionaryDef", - "in": "query", - "description": "Only return words with dictionary definitions", - "required": false, - "type": "string" - }, - { - "name": "includePartOfSpeech", - "in": "query", - "description": "CSV part-of-speech values to include", - "required": false, - "type": "string" - }, - { - "name": "excludePartOfSpeech", - "in": "query", - "description": "CSV part-of-speech values to exclude", - "required": false, - "type": "string" - }, - { - "name": "minCorpusCount", - "in": "query", - "description": "Minimum corpus frequency for terms", - "required": false, - "type": "integer", - "format": "int32" - }, - { - "name": "maxCorpusCount", - "in": "query", - "description": "Maximum corpus frequency for terms", - "required": false, - "type": "integer", - "format": "int32" - }, - { - "name": "minDictionaryCount", - "in": "query", - "description": "Minimum dictionary count", - "required": false, - "type": "integer", - "format": "int32" - }, - { - "name": "maxDictionaryCount", - "in": "query", - "description": "Maximum dictionary count", - "required": false, - "type": "integer", - "format": "int32" - }, - { - "name": "minLength", - "in": "query", - "description": "Minimum word length", - "required": false, - "type": "integer", - "format": "int32" - }, - { - "name": "maxLength", - "in": "query", - "description": "Maximum word length", - "required": false, - "type": "integer", - "format": "int32" - } - ], - "responses": { - "200": { - "description": "success", - "schema": { - "$ref": "#/definitions/WordObject" - } - }, - "404": { - "description": "No word found." - } - } - } - }, - "/words.json/randomWords": { - "get": { - "tags": [ - "words" - ], - "summary": "Returns an array of random WordObjects", - "operationId": "getRandomWords", - "parameters": [ - { - "name": "hasDictionaryDef", - "in": "query", - "description": "Only return words with dictionary definitions", - "required": false, - "type": "string" - }, - { - "name": "includePartOfSpeech", - "in": "query", - "description": "CSV part-of-speech values to include", - "required": false, - "type": "string" - }, - { - "name": "excludePartOfSpeech", - "in": "query", - "description": "CSV part-of-speech values to exclude", - "required": false, - "type": "string" - }, - { - "name": "minCorpusCount", - "in": "query", - "description": "Minimum corpus frequency for terms", - "required": false, - "type": "integer", - "format": "int32" - }, - { - "name": "maxCorpusCount", - "in": "query", - "description": "Maximum corpus frequency for terms", - "required": false, - "type": "integer", - "format": "int32" - }, - { - "name": "minDictionaryCount", - "in": "query", - "description": "Minimum dictionary count", - "required": false, - "type": "integer", - "format": "int32" - }, - { - "name": "maxDictionaryCount", - "in": "query", - "description": "Maximum dictionary count", - "required": false, - "type": "integer", - "format": "int32" - }, - { - "name": "minLength", - "in": "query", - "description": "Minimum word length", - "required": false, - "type": "integer", - "format": "int32" - }, - { - "name": "maxLength", - "in": "query", - "description": "Maximum word length", - "required": false, - "type": "integer", - "format": "int32" - }, - { - "name": "sortBy", - "in": "query", - "description": "Attribute to sort by", - "required": false, - "type": "string" - }, - { - "name": "sortOrder", - "in": "query", - "description": "Sort direction", - "required": false, - "type": "string" - }, - { - "name": "limit", - "in": "query", - "description": "Maximum number of results to return", - "required": false, - "type": "integer", - "format": "int32" - } - ], - "responses": { - "200": { - "description": "success", - "type": "array", - "items": { - "schema": { - "$ref": "#/definitions/WordObject" - } - } - }, - "400": { - "description": "Invalid term supplied." - }, - "404": { - "description": "No results." - } - } - } - }, - "/words.json/reverseDictionary": { - "get": { - "tags": [ - "words" - ], - "summary": "Reverse dictionary search", - "operationId": "reverseDictionary", - "parameters": [ - { - "name": "query", - "in": "query", - "description": "Search term", - "required": true, - "type": "string" - }, - { - "name": "findSenseForWord", - "in": "query", - "description": "Restricts words and finds closest sense", - "required": false, - "type": "string" - }, - { - "name": "includeSourceDictionaries", - "in": "query", - "description": "Only include these comma-delimited source dictionaries", - "required": false, - "type": "string" - }, - { - "name": "excludeSourceDictionaries", - "in": "query", - "description": "Exclude these comma-delimited source dictionaries", - "required": false, - "type": "string" - }, - { - "name": "includePartOfSpeech", - "in": "query", - "description": "Only include these comma-delimited parts of speech", - "required": false, - "type": "string" - }, - { - "name": "excludePartOfSpeech", - "in": "query", - "description": "Exclude these comma-delimited parts of speech", - "required": false, - "type": "string" - }, - { - "name": "minCorpusCount", - "in": "query", - "description": "Minimum corpus frequency for terms", - "required": false, - "type": "integer", - "format": "int32" - }, - { - "name": "maxCorpusCount", - "in": "query", - "description": "Maximum corpus frequency for terms", - "required": false, - "type": "integer", - "format": "int32" - }, - { - "name": "minLength", - "in": "query", - "description": "Minimum word length", - "required": false, - "type": "integer", - "format": "int32" - }, - { - "name": "maxLength", - "in": "query", - "description": "Maximum word length", - "required": false, - "type": "integer", - "format": "int32" - }, - { - "name": "expandTerms", - "in": "query", - "description": "Expand terms", - "required": false, - "type": "string" - }, - { - "name": "includeTags", - "in": "query", - "description": "Return a closed set of XML tags in response", - "required": false, - "type": "string" - }, - { - "name": "sortBy", - "in": "query", - "description": "Attribute to sort by", - "required": false, - "type": "string" - }, - { - "name": "sortOrder", - "in": "query", - "description": "Sort direction", - "required": false, - "type": "string" - }, - { - "name": "skip", - "in": "query", - "description": "Results to skip", - "required": false, - "type": "string" - }, - { - "name": "limit", - "in": "query", - "description": "Maximum number of results to return", - "required": false, - "type": "integer", - "format": "int32" - } - ], - "responses": { - "200": { - "description": "success", - "schema": { - "$ref": "#/definitions/DefinitionSearchResults" - } - }, - "400": { - "description": "Invalid term supplied." - } - } - } - }, - "/words.json/search/{query}": { - "get": { - "tags": [ - "words" - ], - "summary": "Searches words", - "operationId": "searchWords", - "parameters": [ - { - "name": "query", - "in": "path", - "description": "Search query", - "required": true, - "type": "string" - }, - { - "name": "caseSensitive", - "in": "query", - "description": "Search case sensitive", - "required": false, - "type": "string" - }, - { - "name": "includePartOfSpeech", - "in": "query", - "description": "Only include these comma-delimited parts of speech", - "required": false, - "type": "string" - }, - { - "name": "excludePartOfSpeech", - "in": "query", - "description": "Exclude these comma-delimited parts of speech", - "required": false, - "type": "string" - }, - { - "name": "minCorpusCount", - "in": "query", - "description": "Minimum corpus frequency for terms", - "required": false, - "type": "integer", - "format": "int32" - }, - { - "name": "maxCorpusCount", - "in": "query", - "description": "Maximum corpus frequency for terms", - "required": false, - "type": "integer", - "format": "int32" - }, - { - "name": "minDictionaryCount", - "in": "query", - "description": "Minimum number of dictionary entries for words returned", - "required": false, - "type": "integer", - "format": "int32" - }, - { - "name": "maxDictionaryCount", - "in": "query", - "description": "Maximum dictionary definition count", - "required": false, - "type": "integer", - "format": "int32" - }, - { - "name": "minLength", - "in": "query", - "description": "Minimum word length", - "required": false, - "type": "integer", - "format": "int32" - }, - { - "name": "maxLength", - "in": "query", - "description": "Maximum word length", - "required": false, - "type": "integer", - "format": "int32" - }, - { - "name": "skip", - "in": "query", - "description": "Results to skip", - "required": false, - "type": "integer", - "format": "int32" - }, - { - "name": "limit", - "in": "query", - "description": "Maximum number of results to return", - "required": false, - "type": "integer", - "format": "int32" - } - ], - "responses": { - "200": { - "description": "success", - "schema": { - "$ref": "#/definitions/WordSearchResults" - } - }, - "400": { - "description": "Invalid query supplied." - } - } - } - }, - "/words.json/wordOfTheDay": { - "get": { - "tags": [ - "words" - ], - "summary": "Returns a specific WordOfTheDay", - "operationId": "getWordOfTheDay", - "parameters": [ - { - "name": "date", - "in": "query", - "description": "Fetches by date in yyyy-MM-dd", - "required": false, - "type": "string" - } - ], - "responses": { - "default": { - "description": "success", - "schema": { - "$ref": "#/definitions/WordOfTheDay" - } - } - } - } - } - }, - "definitions": { - "User": { - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "username": { - "type": "string" - }, - "email": { - "type": "string" - }, - "status": { - "type": "integer", - "format": "int32" - }, - "faceBookId": { - "type": "string" - }, - "userName": { - "type": "string" - }, - "displayName": { - "type": "string" - }, - "password": { - "type": "string" - } - } - }, - "Syllable": { - "properties": { - "text": { - "type": "string" - }, - "seq": { - "type": "integer", - "format": "int32" - }, - "type": { - "type": "string" - } - } - }, - "AudioType": { - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "name": { - "type": "string" - } - } - }, - "WordOfTheDay": { - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "parentId": { - "type": "string" - }, - "category": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "contentProvider": { - "$ref": "#/definitions/ContentProvider" - }, - "htmlExtra": { - "type": "string" - }, - "word": { - "type": "string" - }, - "definitions": { - "type": "array", - "items": { - "$ref": "#/definitions/SimpleDefinition" - } - }, - "examples": { - "type": "array", - "items": { - "$ref": "#/definitions/SimpleExample" - } - }, - "note": { - "type": "string" - }, - "publishDate": { - "type": "string", - "format": "date-time" - } - } - }, - "Facet": { - "properties": { - "facetValues": { - "type": "array", - "items": { - "$ref": "#/definitions/FacetValue" - } - }, - "name": { - "type": "string" - } - } - }, - "WordObject": { - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "word": { - "type": "string" - }, - "originalWord": { - "type": "string" - }, - "suggestions": { - "type": "array", - "items": { - "type": "string" - } - }, - "canonicalForm": { - "type": "string" - }, - "vulgar": { - "type": "string" - } - } - }, - "WordSearchResults": { - "properties": { - "searchResults": { - "type": "array", - "items": { - "$ref": "#/definitions/WordSearchResult" - } - }, - "totalResults": { - "type": "integer", - "format": "int32" - } - } - }, - "AuthenticationToken": { - "properties": { - "token": { - "type": "string" - }, - "userId": { - "type": "integer", - "format": "int64" - }, - "userSignature": { - "type": "string" - } - } - }, - "ExampleSearchResults": { - "properties": { - "facets": { - "type": "array", - "items": { - "$ref": "#/definitions/Facet" - } - }, - "examples": { - "type": "array", - "items": { - "$ref": "#/definitions/Example" - } - } - } - }, - "Example": { - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "exampleId": { - "type": "integer", - "format": "int64" - }, - "title": { - "type": "string" - }, - "text": { - "type": "string" - }, - "score": { - "$ref": "#/definitions/ScoredWord" - }, - "sentence": { - "$ref": "#/definitions/Sentence" - }, - "word": { - "type": "string" - }, - "provider": { - "$ref": "#/definitions/ContentProvider" - }, - "year": { - "type": "integer", - "format": "int32" - }, - "rating": { - "type": "number", - "format": "float" - }, - "documentId": { - "type": "integer", - "format": "int64" - }, - "url": { - "type": "string" - } - } - }, - "SimpleDefinition": { - "properties": { - "text": { - "type": "string" - }, - "source": { - "type": "string" - }, - "note": { - "type": "string" - }, - "partOfSpeech": { - "type": "string" - } - } - }, - "ExampleUsage": { - "properties": { - "text": { - "type": "string" - } - } - }, - "AudioFile": { - "properties": { - "attributionUrl": { - "type": "string" - }, - "commentCount": { - "type": "integer", - "format": "int32" - }, - "voteCount": { - "type": "integer", - "format": "int32" - }, - "fileUrl": { - "type": "string" - }, - "audioType": { - "type": "string" - }, - "id": { - "type": "integer", - "format": "int64" - }, - "duration": { - "type": "number", - "format": "double" - }, - "attributionText": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "description": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "voteWeightedAverage": { - "type": "number", - "format": "float" - }, - "voteAverage": { - "type": "number", - "format": "float" - }, - "word": { - "type": "string" - } - } - }, - "WordListWord": { - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "word": { - "type": "string" - }, - "username": { - "type": "string" - }, - "userId": { - "type": "integer", - "format": "int64" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "numberCommentsOnWord": { - "type": "integer", - "format": "int64" - }, - "numberLists": { - "type": "integer", - "format": "int64" - } - } - }, - "Bigram": { - "properties": { - "count": { - "type": "integer", - "format": "int64" - }, - "gram2": { - "type": "string" - }, - "gram1": { - "type": "string" - }, - "wlmi": { - "type": "number", - "format": "double" - }, - "mi": { - "type": "number", - "format": "double" - } - } - }, - "Frequency": { - "properties": { - "count": { - "type": "integer", - "format": "int64" - }, - "year": { - "type": "integer", - "format": "int32" - } - } - }, - "TextPron": { - "properties": { - "raw": { - "type": "string" - }, - "seq": { - "type": "integer", - "format": "int32" - }, - "rawType": { - "type": "string" - } - } - }, - "ApiTokenStatus": { - "properties": { - "valid": { - "type": "boolean" - }, - "token": { - "type": "string" - }, - "resetsInMillis": { - "type": "integer", - "format": "int64" - }, - "remainingCalls": { - "type": "integer", - "format": "int64" - }, - "expiresInMillis": { - "type": "integer", - "format": "int64" - }, - "totalRequests": { - "type": "integer", - "format": "int64" - } - } - }, - "WordList": { - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "permalink": { - "type": "string" - }, - "name": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "lastActivityAt": { - "type": "string", - "format": "date-time" - }, - "username": { - "type": "string" - }, - "userId": { - "type": "integer", - "format": "int64" - }, - "description": { - "type": "string" - }, - "numberWordsInList": { - "type": "integer", - "format": "int64" - }, - "type": { - "type": "string" - } - } - }, - "WordSearchResult": { - "properties": { - "count": { - "type": "integer", - "format": "int64" - }, - "lexicality": { - "type": "number", - "format": "double" - }, - "word": { - "type": "string" - } - } - }, - "DefinitionSearchResults": { - "properties": { - "results": { - "type": "array", - "items": { - "$ref": "#/definitions/Definition" - } - }, - "totalResults": { - "type": "integer", - "format": "int32" - } - } - }, - "Note": { - "properties": { - "noteType": { - "type": "string" - }, - "appliesTo": { - "type": "array", - "items": { - "type": "string" - } - }, - "value": { - "type": "string" - }, - "pos": { - "type": "integer", - "format": "int32" - } - } - }, - "StringValue": { - "properties": { - "word": { - "type": "string" - } - } - }, - "Related": { - "properties": { - "label1": { - "type": "string" - }, - "relationshipType": { - "type": "string" - }, - "label2": { - "type": "string" - }, - "label3": { - "type": "string" - }, - "words": { - "type": "array", - "items": { - "type": "string" - } - }, - "gram": { - "type": "string" - }, - "label4": { - "type": "string" - } - } - }, - "FacetValue": { - "properties": { - "count": { - "type": "integer", - "format": "int64" - }, - "value": { - "type": "string" - } - } - }, - "ScoredWord": { - "properties": { - "position": { - "type": "integer", - "format": "int32" - }, - "id": { - "type": "integer", - "format": "int64" - }, - "docTermCount": { - "type": "integer", - "format": "int32" - }, - "lemma": { - "type": "string" - }, - "wordType": { - "type": "string" - }, - "score": { - "type": "number", - "format": "float" - }, - "sentenceId": { - "type": "integer", - "format": "int64" - }, - "word": { - "type": "string" - }, - "stopword": { - "type": "boolean" - }, - "baseWordScore": { - "type": "number", - "format": "double" - }, - "partOfSpeech": { - "type": "string" - } - } - }, - "Citation": { - "properties": { - "cite": { - "type": "string" - }, - "source": { - "type": "string" - } - } - }, - "Category": { - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string" - } - } - }, - "Root": { - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string" - }, - "categories": { - "type": "array", - "items": { - "$ref": "#/definitions/Category" - } - } - } - }, - "Sentence": { - "properties": { - "hasScoredWords": { - "type": "boolean" - }, - "id": { - "type": "integer", - "format": "int64" - }, - "scoredWords": { - "type": "array", - "items": { - "$ref": "#/definitions/ScoredWord" - } - }, - "display": { - "type": "string" - }, - "rating": { - "type": "integer", - "format": "int32" - }, - "documentMetadataId": { - "type": "integer", - "format": "int64" - } - } - }, - "ContentProvider": { - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "name": { - "type": "string" - } - } - }, - "Label": { - "properties": { - "text": { - "type": "string" - }, - "type": { - "type": "string" - } - } - }, - "SimpleExample": { - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "title": { - "type": "string" - }, - "text": { - "type": "string" - }, - "url": { - "type": "string" - } - } - }, - "PartOfSpeech": { - "properties": { - "roots": { - "type": "array", - "items": { - "$ref": "#/definitions/Root" - } - }, - "storageAbbr": { - "type": "array", - "items": { - "type": "string" - } - }, - "allCategories": { - "type": "array", - "items": { - "$ref": "#/definitions/Category" - } - } - } - }, - "Definition": { - "properties": { - "extendedText": { - "type": "string" - }, - "text": { - "type": "string" - }, - "sourceDictionary": { - "type": "string" - }, - "citations": { - "type": "array", - "items": { - "$ref": "#/definitions/Citation" - } - }, - "labels": { - "type": "array", - "items": { - "$ref": "#/definitions/Label" - } - }, - "score": { - "type": "number", - "format": "float" - }, - "exampleUses": { - "type": "array", - "items": { - "$ref": "#/definitions/ExampleUsage" - } - }, - "attributionUrl": { - "type": "string" - }, - "seqString": { - "type": "string" - }, - "attributionText": { - "type": "string" - }, - "relatedWords": { - "type": "array", - "items": { - "$ref": "#/definitions/Related" - } - }, - "sequence": { - "type": "string" - }, - "word": { - "type": "string" - }, - "notes": { - "type": "array", - "items": { - "$ref": "#/definitions/Note" - } - }, - "textProns": { - "type": "array", - "items": { - "$ref": "#/definitions/TextPron" - } - }, - "partOfSpeech": { - "type": "string" - } - } - }, - "FrequencySummary": { - "properties": { - "unknownYearCount": { - "type": "integer", - "format": "int32" - }, - "totalCount": { - "type": "integer", - "format": "int64" - }, - "frequencyString": { - "type": "string" - }, - "word": { - "type": "string" - }, - "frequency": { - "type": "array", - "items": { - "$ref": "#/definitions/Frequency" - } - } - } - } - }, - "securityDefinitions": { - "apiKey": { - "type": "apiKey", - "in": "header", - "name": "api_key" - } - } -} \ No newline at end of file diff --git a/modules/openapi-generator/src/test/resources/2_0/wordnik.yaml b/modules/openapi-generator/src/test/resources/2_0/wordnik.yaml deleted file mode 100644 index ce95ec32539a..000000000000 --- a/modules/openapi-generator/src/test/resources/2_0/wordnik.yaml +++ /dev/null @@ -1,1640 +0,0 @@ -swagger: '2.0' - -info: - version: 4.0.1 - title: The Wordnik Public API - description: "**Wordnik has an API, and you're invited.**\nThe Wordnik API lets you request definitions, example sentences, spelling suggestions, \nrelated words like synonyms and antonyms, phrases containing a given word, word \nautocompletion, random words, words of the day, and much more\n" - contact: - url: 'http://developer.wordnik.com/' - email: apiteam@wordnik.com - name: Wordnik API Team - -schemes: - - https -host: api.wordnik.com -basePath: /v4 - -securityDefinitions: - apiKey: - type: apiKey - in: header - name: api_key -security: - - apiKey: [] -paths: - /words.json/randomWord: - get: - tags: - - words - summary: Returns a single random WordObject - operationId: getRandomWord - parameters: - - name: hasDictionaryDef - in: query - description: Only return words with dictionary definitions - required: false - type: string - - name: includePartOfSpeech - in: query - description: CSV part-of-speech values to include - required: false - type: string - - name: excludePartOfSpeech - in: query - description: CSV part-of-speech values to exclude - required: false - type: string - - name: minCorpusCount - in: query - description: Minimum corpus frequency for terms - required: false - type: integer - format: int32 - - name: maxCorpusCount - in: query - description: Maximum corpus frequency for terms - required: false - type: integer - format: int32 - - name: minDictionaryCount - in: query - description: Minimum dictionary count - required: false - type: integer - format: int32 - - name: maxDictionaryCount - in: query - description: Maximum dictionary count - required: false - type: integer - format: int32 - - name: minLength - in: query - description: Minimum word length - required: false - type: integer - format: int32 - - name: maxLength - in: query - description: Maximum word length - required: false - type: integer - format: int32 - responses: - '200': - description: success - schema: - $ref: '#/definitions/WordObject' - '404': - description: No word found. - /account.json/user: - get: - tags: - - account - summary: Returns the logged-in User - description: Requires a valid auth_token to be set. - operationId: getLoggedInUser - parameters: - - name: auth_token - in: header - description: 'The auth token of the logged-in user, obtained by calling /account.json/authenticate/{username} (described above)' - required: true - type: string - responses: - '200': - description: The logged-in user - schema: - $ref: '#/definitions/User' - '403': - description: Not logged in. - '404': - description: User not found. - '/word.json/{word}/pronunciations': - get: - tags: - - word - summary: Returns text pronunciations for a given word - operationId: getTextPronunciations - parameters: - - name: word - in: path - description: Word to get pronunciations for - required: true - type: string - - name: useCanonical - in: query - description: "If true will try to return a correct word root ('cats' -> 'cat'). If false returns exactly what was requested." - required: false - type: string - - name: sourceDictionary - in: query - description: Get from a single dictionary - required: false - type: string - - name: typeFormat - in: query - description: Text pronunciation type - required: false - type: string - - name: limit - in: query - description: Maximum number of results to return - required: false - type: integer - format: int32 - responses: - '200': - description: success - schema: - type: array - items: - $ref: '#/definitions/TextPron' - '400': - description: Invalid word supplied. - '/word.json/{word}/relatedWords': - get: - tags: - - word - summary: 'Given a word as a string, returns relationships from the Word Graph' - operationId: getRelatedWords - parameters: - - name: word - in: path - description: Word to fetch relationships for - required: true - type: string - - name: useCanonical - in: query - description: "If true will try to return the correct word root ('cats' -> 'cat'). If false returns exactly what was requested." - required: false - type: string - - name: relationshipTypes - in: query - description: Limits the total results per type of relationship type - required: false - type: string - - name: limitPerRelationshipType - in: query - description: Restrict to the supplied relationship types - required: false - type: integer - format: int32 - responses: - '200': - description: success - schema: - type: array - items: - $ref: '#/definitions/Related' - '400': - description: Invalid word supplied. - /words.json/reverseDictionary: - get: - tags: - - words - summary: Reverse dictionary search - operationId: reverseDictionary - parameters: - - name: query - in: query - description: Search term - required: true - type: string - - name: findSenseForWord - in: query - description: Restricts words and finds closest sense - required: false - type: string - - name: includeSourceDictionaries - in: query - description: Only include these comma-delimited source dictionaries - required: false - type: string - - name: excludeSourceDictionaries - in: query - description: Exclude these comma-delimited source dictionaries - required: false - type: string - - name: includePartOfSpeech - in: query - description: Only include these comma-delimited parts of speech - required: false - type: string - - name: excludePartOfSpeech - in: query - description: Exclude these comma-delimited parts of speech - required: false - type: string - - name: minCorpusCount - in: query - description: Minimum corpus frequency for terms - required: false - type: integer - format: int32 - - name: maxCorpusCount - in: query - description: Maximum corpus frequency for terms - required: false - type: integer - format: int32 - - name: minLength - in: query - description: Minimum word length - required: false - type: integer - format: int32 - - name: maxLength - in: query - description: Maximum word length - required: false - type: integer - format: int32 - - name: expandTerms - in: query - description: Expand terms - required: false - type: string - - name: includeTags - in: query - description: Return a closed set of XML tags in response - required: false - type: string - - name: sortBy - in: query - description: Attribute to sort by - required: false - type: string - - name: sortOrder - in: query - description: Sort direction - required: false - type: string - - name: skip - in: query - description: Results to skip - required: false - type: string - - name: limit - in: query - description: Maximum number of results to return - required: false - type: integer - format: int32 - responses: - '200': - description: success - schema: - $ref: '#/definitions/DefinitionSearchResults' - '400': - description: Invalid term supplied. - /account.json/apiTokenStatus: - get: - tags: - - account - summary: Returns usage statistics for the API account. - operationId: getApiTokenStatus - parameters: - - name: api_key - in: header - description: Wordnik authentication token - required: false - type: string - responses: - '200': - description: Usage statistics for the supplied API key - schema: - $ref: '#/definitions/ApiTokenStatus' - '400': - description: No token supplied. - '404': - description: No API account with supplied token. - '/word.json/{word}': - get: - tags: - - word - summary: 'Given a word as a string, returns the WordObject that represents it' - operationId: getWord - parameters: - - name: word - in: path - description: String value of WordObject to return - required: true - type: string - - name: useCanonical - in: query - description: "If true will try to return the correct word root ('cats' -> 'cat'). If false returns exactly what was requested." - required: false - type: string - - name: includeSuggestions - in: query - description: 'Return suggestions (for correct spelling, case variants, etc.)' - required: false - type: string - responses: - '200': - description: success - schema: - $ref: '#/definitions/WordObject' - '400': - description: Invalid word supplied. - '/wordList.json/{permalink}/deleteWords': - post: - tags: - - wordList - summary: Removes words from a WordList - operationId: deleteWordsFromWordList - parameters: - - name: permalink - in: path - description: permalink of WordList to use - required: true - type: string - - in: body - name: body - description: Words to remove from WordList - required: false - schema: - type: array - items: - $ref: '#/definitions/StringValue' - - name: auth_token - in: header - description: 'The auth token of the logged-in user, obtained by calling /account.json/authenticate/{username} (described above)' - required: true - type: string - responses: - '200': - description: success - '400': - description: Invalid permalink supplied - '403': - description: Not Authorized to modify WordList - '404': - description: WordList not found - '/word.json/{word}/examples': - get: - tags: - - word - summary: Returns examples for a word - operationId: getExamples - parameters: - - name: word - in: path - description: Word to return examples for - required: true - type: string - - name: includeDuplicates - in: query - description: Show duplicate examples from different sources - required: false - type: string - - name: useCanonical - in: query - description: "If true will try to return the correct word root ('cats' -> 'cat'). If false returns exactly what was requested." - required: false - type: string - - name: skip - in: query - description: Results to skip - required: false - type: integer - format: int32 - - name: limit - in: query - description: Maximum number of results to return - required: false - type: integer - format: int32 - responses: - '200': - description: success - schema: - $ref: '#/definitions/ExampleSearchResults' - '400': - description: Invalid word supplied. - '/account.json/authenticate/{username}': - get: - tags: - - account - summary: Authenticates a User - operationId: authenticate - parameters: - - name: username - in: path - description: A confirmed Wordnik username - required: true - type: string - - name: password - in: query - description: "The user's password" - required: true - type: string - responses: - '200': - description: A valid authentication token - schema: - $ref: '#/definitions/AuthenticationToken' - '403': - description: Account not available. - '404': - description: User not found. - post: - tags: - - account - summary: Authenticates a user - operationId: authenticatePost - parameters: - - name: username - in: path - description: A confirmed Wordnik username - required: true - type: string - - in: body - name: body - schema: - type: string - description: "The user's password" - required: true - responses: - '200': - description: A valid authentication token - schema: - $ref: '#/definitions/AuthenticationToken' - '403': - description: Account not available. - '404': - description: User not found. - '/word.json/{word}/audio': - get: - tags: - - word - summary: Fetches audio metadata for a word. - description: The metadata includes a time-expiring fileUrl which allows reading the audio file directly from the API. Currently only audio pronunciations from the American Heritage Dictionary in mp3 format are supported. - operationId: getAudio - parameters: - - name: word - in: path - description: Word to get audio for. - required: true - type: string - - name: useCanonical - in: query - description: Use the canonical form of the word - required: false - type: string - - name: limit - in: query - description: Maximum number of results to return - required: false - type: integer - format: int32 - responses: - '200': - description: success - schema: - type: array - items: - $ref: '#/definitions/AudioFile' - '400': - description: Invalid word supplied. - /words.json/randomWords: - get: - tags: - - words - summary: Returns an array of random WordObjects - operationId: getRandomWords - parameters: - - name: hasDictionaryDef - in: query - description: Only return words with dictionary definitions - required: false - type: string - - name: includePartOfSpeech - in: query - description: CSV part-of-speech values to include - required: false - type: string - - name: excludePartOfSpeech - in: query - description: CSV part-of-speech values to exclude - required: false - type: string - - name: minCorpusCount - in: query - description: Minimum corpus frequency for terms - required: false - type: integer - format: int32 - - name: maxCorpusCount - in: query - description: Maximum corpus frequency for terms - required: false - type: integer - format: int32 - - name: minDictionaryCount - in: query - description: Minimum dictionary count - required: false - type: integer - format: int32 - - name: maxDictionaryCount - in: query - description: Maximum dictionary count - required: false - type: integer - format: int32 - - name: minLength - in: query - description: Minimum word length - required: false - type: integer - format: int32 - - name: maxLength - in: query - description: Maximum word length - required: false - type: integer - format: int32 - - name: sortBy - in: query - description: Attribute to sort by - required: false - type: string - - name: sortOrder - in: query - description: Sort direction - required: false - type: string - - name: limit - in: query - description: Maximum number of results to return - required: false - type: integer - format: int32 - responses: - '200': - description: success - schema: - type: array - items: - $ref: '#/definitions/WordObject' - '400': - description: Invalid term supplied. - '404': - description: No results. - /account.json/wordLists: - get: - tags: - - account - summary: Fetches WordList objects for the logged-in user. - operationId: getWordListsForLoggedInUser - parameters: - - name: auth_token - in: header - description: auth_token of logged-in user - required: true - type: string - - name: skip - in: query - description: Results to skip - required: false - type: integer - format: int32 - - name: limit - in: query - description: Maximum number of results to return - required: false - type: integer - format: int32 - responses: - '200': - description: success - schema: - type: array - items: - $ref: '#/definitions/WordList' - '403': - description: Not authenticated. - '404': - description: User account not found. - '/word.json/{word}/phrases': - get: - tags: - - word - summary: Fetches bi-gram phrases for a word - operationId: getPhrases - parameters: - - name: word - in: path - description: Word to fetch phrases for - required: true - type: string - - name: limit - in: query - description: Maximum number of results to return - required: false - type: integer - format: int32 - - name: wlmi - in: query - description: Minimum WLMI for the phrase - required: false - type: integer - format: int32 - - name: useCanonical - in: query - description: "If true will try to return the correct word root ('cats' -> 'cat'). If false returns exactly what was requested." - required: false - type: string - responses: - '200': - description: success - schema: - type: array - items: - $ref: '#/definitions/Bigram' - '400': - description: Invalid word supplied. - '/word.json/{word}/frequency': - get: - tags: - - word - summary: Returns word usage over time - operationId: getWordFrequency - parameters: - - name: word - in: path - description: Word to return - required: true - type: string - - name: useCanonical - in: query - description: "If true will try to return the correct word root ('cats' -> 'cat'). If false returns exactly what was requested." - required: false - type: string - - name: startYear - in: query - description: Starting Year - required: false - type: integer - format: int32 - - name: endYear - in: query - description: Ending Year - required: false - type: integer - format: int32 - responses: - '200': - description: success - schema: - $ref: '#/definitions/FrequencySummary' - '400': - description: Invalid word supplied. - '404': - description: No results. - '/wordList.json/{permalink}/words': - get: - tags: - - wordList - summary: Fetches words in a WordList - operationId: getWordListWords - parameters: - - name: permalink - in: path - description: ID of WordList to use - required: true - type: string - - name: sortBy - in: query - description: Field to sort by - required: false - type: string - - name: sortOrder - in: query - description: Direction to sort - required: false - type: string - - name: skip - in: query - description: Results to skip - required: false - type: integer - format: int32 - - name: limit - in: query - description: Maximum number of results to return - required: false - type: integer - format: int32 - - name: auth_token - in: header - description: 'The auth token of the logged-in user, obtained by calling /account.json/authenticate/{username} (described above)' - required: true - type: string - responses: - '200': - description: success - schema: - type: array - items: - $ref: '#/definitions/WordListWord' - '400': - description: Invalid ID supplied - '403': - description: Not Authorized to access WordList - '404': - description: WordList not found - post: - tags: - - wordList - summary: Adds words to a WordList - operationId: addWordsToWordList - parameters: - - name: permalink - in: path - description: permalink of WordList to user - required: true - type: string - - in: body - name: body - description: Array of words to add to WordList - required: false - schema: - type: array - items: - $ref: '#/definitions/StringValue' - - name: auth_token - in: header - description: 'The auth token of the logged-in user, obtained by calling /account.json/authenticate/{username} (described above)' - required: true - type: string - responses: - '200': - description: success - '400': - description: Invalid permalink supplied - '403': - description: Not Authorized to access WordList - '404': - description: WordList not found - /wordLists.json: - post: - tags: - - wordLists - summary: Creates a WordList. - operationId: createWordList - parameters: - - in: body - name: body - description: WordList to create - required: false - schema: - $ref: '#/definitions/WordList' - - name: auth_token - in: header - description: 'The auth token of the logged-in user, obtained by calling /account.json/authenticate/{username} (described above)' - required: true - type: string - responses: - '200': - description: success - schema: - $ref: '#/definitions/WordList' - '400': - description: Invalid WordList supplied or mandatory fields are missing - '403': - description: Not authenticated - '404': - description: WordList owner not found - '/word.json/{word}/etymologies': - get: - tags: - - word - summary: Fetches etymology data - operationId: getEtymologies - parameters: - - name: word - in: path - description: Word to return - required: true - type: string - - name: useCanonical - in: query - description: "If true will try to return the correct word root ('cats' -> 'cat'). If false returns exactly what was requested." - required: false - type: string - responses: - '200': - description: success - schema: - type: array - items: - type: string - '400': - description: Invalid word supplied. - '404': - description: No definitions found. - '/word.json/{word}/topExample': - get: - tags: - - word - summary: Returns a top example for a word - operationId: getTopExample - parameters: - - name: word - in: path - description: Word to fetch examples for - required: true - type: string - - name: useCanonical - in: query - description: "If true will try to return the correct word root ('cats' -> 'cat'). If false returns exactly what was requested." - required: false - type: string - responses: - '200': - description: success - schema: - $ref: '#/definitions/Example' - '400': - description: Invalid word supplied. - '/word.json/{word}/definitions': - get: - tags: - - word - summary: Return definitions for a word - operationId: getDefinitions - parameters: - - name: word - in: path - description: Word to return definitions for - required: true - type: string - - name: limit - in: query - description: Maximum number of results to return - required: false - type: integer - format: int32 - - name: partOfSpeech - in: query - description: CSV list of part-of-speech types - required: false - type: string - - name: includeRelated - in: query - description: Return related words with definitions - required: false - type: string - - name: sourceDictionaries - in: query - description: "Source dictionary to return definitions from. If 'all' is received, results are returned from all sources. If multiple values are received (e.g. 'century,wiktionary'), results are returned from the first specified dictionary that has definitions. If left blank, results are returned from the first dictionary that has definitions. By default, dictionaries are searched in this order: ahd, wiktionary, webster, century, wordnet" - required: false - type: array - items: - type: string - collectionFormat: csv - - name: useCanonical - in: query - description: "If true will try to return the correct word root ('cats' -> 'cat'). If false returns exactly what was requested." - required: false - type: string - - name: includeTags - in: query - description: Return a closed set of XML tags in response - required: false - type: string - responses: - '200': - description: success - schema: - type: array - items: - $ref: '#/definitions/Definition' - '400': - description: Invalid word supplied. - '404': - description: No definitions found. - '/words.json/search/{query}': - get: - tags: - - words - summary: Searches words - operationId: searchWords - parameters: - - name: query - in: path - description: Search query - required: true - type: string - - name: caseSensitive - in: query - description: Search case sensitive - required: false - type: string - - name: includePartOfSpeech - in: query - description: Only include these comma-delimited parts of speech - required: false - type: string - - name: excludePartOfSpeech - in: query - description: Exclude these comma-delimited parts of speech - required: false - type: string - - name: minCorpusCount - in: query - description: Minimum corpus frequency for terms - required: false - type: integer - format: int32 - - name: maxCorpusCount - in: query - description: Maximum corpus frequency for terms - required: false - type: integer - format: int32 - - name: minDictionaryCount - in: query - description: Minimum number of dictionary entries for words returned - required: false - type: integer - format: int32 - - name: maxDictionaryCount - in: query - description: Maximum dictionary definition count - required: false - type: integer - format: int32 - - name: minLength - in: query - description: Minimum word length - required: false - type: integer - format: int32 - - name: maxLength - in: query - description: Maximum word length - required: false - type: integer - format: int32 - - name: skip - in: query - description: Results to skip - required: false - type: integer - format: int32 - - name: limit - in: query - description: Maximum number of results to return - required: false - type: integer - format: int32 - responses: - '200': - description: success - schema: - $ref: '#/definitions/WordSearchResults' - '400': - description: Invalid query supplied. - '/wordList.json/{permalink}': - get: - tags: - - wordList - summary: Fetches a WordList by ID - operationId: getWordListByPermalink - parameters: - - name: permalink - in: path - description: permalink of WordList to fetch - required: true - type: string - - name: auth_token - in: header - description: 'The auth token of the logged-in user, obtained by calling /account.json/authenticate/{username} (described above)' - required: true - type: string - responses: - '200': - description: success - schema: - $ref: '#/definitions/WordList' - '400': - description: Invalid ID supplied - '403': - description: Not Authorized to access WordList - '404': - description: WordList not found - put: - tags: - - wordList - summary: Updates an existing WordList - operationId: updateWordList - parameters: - - name: permalink - in: path - description: permalink of WordList to update - required: true - type: string - - in: body - name: body - description: Updated WordList - required: false - schema: - $ref: '#/definitions/WordList' - - name: auth_token - in: header - description: 'The auth token of the logged-in user, obtained by calling /account.json/authenticate/{username} (described above)' - required: true - type: string - responses: - '200': - description: success - '400': - description: Invalid ID supplied - '403': - description: Not Authorized to update WordList - '404': - description: WordList not found - delete: - tags: - - wordList - summary: Deletes an existing WordList - operationId: deleteWordList - parameters: - - name: permalink - in: path - description: ID of WordList to delete - required: true - type: string - - name: auth_token - in: header - description: 'The auth token of the logged-in user, obtained by calling /account.json/authenticate/{username} (described above)' - required: true - type: string - responses: - '200': - description: success - '400': - description: Invalid ID supplied - '403': - description: Not Authorized to delete WordList - '404': - description: WordList not found - '/word.json/{word}/hyphenation': - get: - tags: - - word - summary: Returns syllable information for a word - operationId: getHyphenation - parameters: - - name: word - in: path - description: Word to get syllables for - required: true - type: string - - name: useCanonical - in: query - description: "If true will try to return a correct word root ('cats' -> 'cat'). If false returns exactly what was requested." - required: false - type: string - - name: sourceDictionary - in: query - description: 'Get from a single dictionary. Valid options: ahd, century, wiktionary, webster, and wordnet.' - required: false - type: string - - name: limit - in: query - description: Maximum number of results to return - required: false - type: integer - format: int32 - responses: - '200': - description: success - schema: - type: array - items: - $ref: '#/definitions/Syllable' - '400': - description: Invalid word supplied. - /words.json/wordOfTheDay: - get: - tags: - - words - summary: Returns a specific WordOfTheDay - operationId: getWordOfTheDay - parameters: - - name: date - in: query - description: Fetches by date in yyyy-MM-dd - required: false - type: string - responses: - default: - description: success - schema: - $ref: '#/definitions/WordOfTheDay' -definitions: - Syllable: - properties: - text: - type: string - seq: - type: integer - format: int32 - type: - type: string - StringValue: - properties: - word: - type: string - AuthenticationToken: - properties: - token: - type: string - userId: - type: integer - format: int64 - userSignature: - type: string - Sentence: - properties: - hasScoredWords: - type: boolean - id: - type: integer - format: int64 - scoredWords: - type: array - items: - $ref: '#/definitions/ScoredWord' - display: - type: string - rating: - type: integer - format: int32 - documentMetadataId: - type: integer - format: int64 - ExampleSearchResults: - properties: - facets: - type: array - items: - $ref: '#/definitions/Facet' - examples: - type: array - items: - $ref: '#/definitions/Example' - WordSearchResults: - properties: - searchResults: - type: array - items: - $ref: '#/definitions/WordSearchResult' - totalResults: - type: integer - format: int32 - SimpleDefinition: - properties: - text: - type: string - source: - type: string - note: - type: string - partOfSpeech: - type: string - Citation: - properties: - cite: - type: string - source: - type: string - WordList: - properties: - numberWordsInList: - type: integer - format: int64 - userId: - type: integer - format: int64 - name: - type: string - permalink: - type: string - updatedAt: - type: string - format: date-time - username: - type: string - lastActivityAt: - type: string - format: date-time - type: - type: string - id: - type: integer - format: int64 - createdAt: - type: string - format: date-time - description: - type: string - WordObject: - properties: - id: - type: integer - format: int64 - word: - type: string - originalWord: - type: string - suggestions: - type: array - items: - type: string - canonicalForm: - type: string - vulgar: - type: string - Example: - properties: - sentence: - $ref: '#/definitions/Sentence' - exampleId: - type: integer - format: int64 - word: - type: string - text: - type: string - url: - type: string - provider: - $ref: '#/definitions/ContentProvider' - score: - $ref: '#/definitions/ScoredWord' - documentId: - type: integer - format: int64 - title: - type: string - id: - type: integer - format: int64 - year: - type: integer - format: int32 - rating: - type: number - format: float - ContentProvider: - properties: - id: - type: integer - format: int32 - name: - type: string - FrequencySummary: - properties: - unknownYearCount: - type: integer - format: int32 - totalCount: - type: integer - format: int64 - frequencyString: - type: string - word: - type: string - frequency: - type: array - items: - $ref: '#/definitions/Frequency' - Related: - properties: - label1: - type: string - relationshipType: - type: string - label2: - type: string - label3: - type: string - words: - type: array - items: - type: string - gram: - type: string - label4: - type: string - User: - properties: - id: - type: integer - format: int64 - username: - type: string - email: - type: string - status: - type: integer - format: int32 - faceBookId: - type: string - userName: - type: string - displayName: - type: string - password: - type: string - WordOfTheDay: - properties: - definitions: - type: array - items: - $ref: '#/definitions/SimpleDefinition' - htmlExtra: - type: string - parentId: - type: string - examples: - type: array - items: - $ref: '#/definitions/SimpleExample' - contentProvider: - $ref: '#/definitions/ContentProvider' - word: - type: string - note: - type: string - id: - type: integer - format: int64 - createdAt: - type: string - format: date-time - publishDate: - type: string - format: date-time - category: - type: string - createdBy: - type: string - TextPron: - properties: - raw: - type: string - seq: - type: integer - format: int32 - rawType: - type: string - WordSearchResult: - properties: - count: - type: integer - format: int64 - lexicality: - type: number - format: double - word: - type: string - ApiTokenStatus: - properties: - valid: - type: boolean - token: - type: string - resetsInMillis: - type: integer - format: int64 - remainingCalls: - type: integer - format: int64 - expiresInMillis: - type: integer - format: int64 - totalRequests: - type: integer - format: int64 - Note: - properties: - noteType: - type: string - appliesTo: - type: array - items: - type: string - value: - type: string - pos: - type: integer - format: int32 - WordListWord: - properties: - id: - type: integer - format: int64 - word: - type: string - username: - type: string - userId: - type: integer - format: int64 - createdAt: - type: string - format: date-time - numberCommentsOnWord: - type: integer - format: int64 - numberLists: - type: integer - format: int64 - AudioFile: - properties: - voteCount: - type: integer - format: int32 - word: - type: string - attributionText: - type: string - audioType: - type: string - attributionUrl: - type: string - commentCount: - type: integer - format: int32 - fileUrl: - type: string - voteAverage: - type: number - format: float - duration: - type: number - format: double - id: - type: integer - format: int64 - createdAt: - type: string - format: date-time - voteWeightedAverage: - type: number - format: float - description: - type: string - createdBy: - type: string - Definition: - properties: - notes: - type: array - items: - $ref: '#/definitions/Note' - sequence: - type: string - textProns: - type: array - items: - $ref: '#/definitions/TextPron' - extendedText: - type: string - word: - type: string - attributionText: - type: string - citations: - type: array - items: - $ref: '#/definitions/Citation' - partOfSpeech: - type: string - text: - type: string - attributionUrl: - type: string - seqString: - type: string - sourceDictionary: - type: string - score: - type: number - format: float - exampleUses: - type: array - items: - $ref: '#/definitions/ExampleUsage' - relatedWords: - type: array - items: - $ref: '#/definitions/Related' - labels: - type: array - items: - $ref: '#/definitions/Label' - Label: - properties: - text: - type: string - type: - type: string - Facet: - properties: - facetValues: - type: array - items: - $ref: '#/definitions/FacetValue' - name: - type: string - ExampleUsage: - properties: - text: - type: string - SimpleExample: - properties: - id: - type: integer - format: int64 - title: - type: string - text: - type: string - url: - type: string - FacetValue: - properties: - count: - type: integer - format: int64 - value: - type: string - DefinitionSearchResults: - properties: - results: - type: array - items: - $ref: '#/definitions/Definition' - totalResults: - type: integer - format: int32 - Frequency: - properties: - count: - type: integer - format: int64 - year: - type: integer - format: int32 - ScoredWord: - properties: - wordType: - type: string - lemma: - type: string - position: - type: integer - format: int32 - word: - type: string - docTermCount: - type: integer - format: int32 - stopword: - type: boolean - partOfSpeech: - type: string - score: - type: number - format: float - baseWordScore: - type: number - format: double - id: - type: integer - format: int64 - sentenceId: - type: integer - format: int64 - Bigram: - properties: - count: - type: integer - format: int64 - gram2: - type: string - gram1: - type: string - wlmi: - type: number - format: double - mi: - type: number - format: double diff --git a/modules/openapi-generator/src/test/resources/3_0/ada/petstore.yaml b/modules/openapi-generator/src/test/resources/3_0/ada/petstore.yaml index 7e7b74ba4189..4392e82a6581 100644 --- a/modules/openapi-generator/src/test/resources/3_0/ada/petstore.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/ada/petstore.yaml @@ -702,6 +702,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/aspnetcore/petstore.yaml b/modules/openapi-generator/src/test/resources/3_0/aspnetcore/petstore.yaml index 065598b9f743..a0a63b61cca1 100644 --- a/modules/openapi-generator/src/test/resources/3_0/aspnetcore/petstore.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/aspnetcore/petstore.yaml @@ -719,6 +719,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/avro-schema/petstore.yaml b/modules/openapi-generator/src/test/resources/3_0/avro-schema/petstore.yaml index 65cc9bd313b1..1dd546cce81b 100644 --- a/modules/openapi-generator/src/test/resources/3_0/avro-schema/petstore.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/avro-schema/petstore.yaml @@ -664,6 +664,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/cpp-httplib-server/petstore.json b/modules/openapi-generator/src/test/resources/3_0/cpp-httplib-server/petstore.json index cd38233806cc..d0765367e99a 100644 --- a/modules/openapi-generator/src/test/resources/3_0/cpp-httplib-server/petstore.json +++ b/modules/openapi-generator/src/test/resources/3_0/cpp-httplib-server/petstore.json @@ -260,7 +260,7 @@ "firstName": { "type": "string" }, "lastName": { "type": "string" }, "email": { "type": "string", "format": "email" }, - "password": { "type": "string" }, + "password": { "type": "string", "format": "password" }, "phone": { "type": "string" }, "userStatus": { "type": "integer", "format": "int32", "enum": [0, 1, 2], "description": "User status (0=inactive, 1=active, 2=admin)" } } diff --git a/modules/openapi-generator/src/test/resources/3_0/cpp-oatpp-client/petstore.yaml b/modules/openapi-generator/src/test/resources/3_0/cpp-oatpp-client/petstore.yaml index a8f9809a1249..d2451b8fde66 100644 --- a/modules/openapi-generator/src/test/resources/3_0/cpp-oatpp-client/petstore.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/cpp-oatpp-client/petstore.yaml @@ -667,6 +667,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/cpp-oatpp-server/petstore.yaml b/modules/openapi-generator/src/test/resources/3_0/cpp-oatpp-server/petstore.yaml index a8f9809a1249..d2451b8fde66 100644 --- a/modules/openapi-generator/src/test/resources/3_0/cpp-oatpp-server/petstore.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/cpp-oatpp-server/petstore.yaml @@ -667,6 +667,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/cpp-qt/petstore.yaml b/modules/openapi-generator/src/test/resources/3_0/cpp-qt/petstore.yaml index d5022849ce5c..8f68abd60a77 100644 --- a/modules/openapi-generator/src/test/resources/3_0/cpp-qt/petstore.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/cpp-qt/petstore.yaml @@ -705,6 +705,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/cpp-restsdk/petstore.yaml b/modules/openapi-generator/src/test/resources/3_0/cpp-restsdk/petstore.yaml index de3c4640eb23..52188dabb797 100644 --- a/modules/openapi-generator/src/test/resources/3_0/cpp-restsdk/petstore.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/cpp-restsdk/petstore.yaml @@ -740,6 +740,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/csharp/petstore-with-fake-endpoints-models-for-testing-with-http-signature-oneof-primitive-types-localhost.yaml b/modules/openapi-generator/src/test/resources/3_0/csharp/petstore-with-fake-endpoints-models-for-testing-with-http-signature-oneof-primitive-types-localhost.yaml index 2f553acba688..f860d43b91bd 100644 --- a/modules/openapi-generator/src/test/resources/3_0/csharp/petstore-with-fake-endpoints-models-for-testing-with-http-signature-oneof-primitive-types-localhost.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/csharp/petstore-with-fake-endpoints-models-for-testing-with-http-signature-oneof-primitive-types-localhost.yaml @@ -1480,6 +1480,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/csharp/petstore-with-fake-endpoints-models-for-testing-with-http-signature-oneof-primitive-types.yaml b/modules/openapi-generator/src/test/resources/3_0/csharp/petstore-with-fake-endpoints-models-for-testing-with-http-signature-oneof-primitive-types.yaml index a9b5c4924a67..0b030b975d4b 100644 --- a/modules/openapi-generator/src/test/resources/3_0/csharp/petstore-with-fake-endpoints-models-for-testing-with-http-signature-oneof-primitive-types.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/csharp/petstore-with-fake-endpoints-models-for-testing-with-http-signature-oneof-primitive-types.yaml @@ -1478,6 +1478,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/csharp/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml b/modules/openapi-generator/src/test/resources/3_0/csharp/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml index f1a98bf6c6e2..ed2899c77e29 100644 --- a/modules/openapi-generator/src/test/resources/3_0/csharp/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/csharp/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml @@ -1565,6 +1565,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/dart/petstore-with-fake-endpoints-models-for-testing.yaml b/modules/openapi-generator/src/test/resources/3_0/dart/petstore-with-fake-endpoints-models-for-testing.yaml index 37f3f94fbcd8..4b27026e38e3 100644 --- a/modules/openapi-generator/src/test/resources/3_0/dart/petstore-with-fake-endpoints-models-for-testing.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/dart/petstore-with-fake-endpoints-models-for-testing.yaml @@ -1482,6 +1482,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/elixir/petstore-with-fake-endpoints-models-for-testing.yaml b/modules/openapi-generator/src/test/resources/3_0/elixir/petstore-with-fake-endpoints-models-for-testing.yaml index 7af5e66e193f..f32207c4f989 100644 --- a/modules/openapi-generator/src/test/resources/3_0/elixir/petstore-with-fake-endpoints-models-for-testing.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/elixir/petstore-with-fake-endpoints-models-for-testing.yaml @@ -1509,6 +1509,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/gdscript/petstore.yaml b/modules/openapi-generator/src/test/resources/3_0/gdscript/petstore.yaml index 41861771aadd..a4bd7d96f056 100644 --- a/modules/openapi-generator/src/test/resources/3_0/gdscript/petstore.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/gdscript/petstore.yaml @@ -722,6 +722,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/go-server/petstore.yaml b/modules/openapi-generator/src/test/resources/3_0/go-server/petstore.yaml index 2339f22c6aec..e040924ac06a 100644 --- a/modules/openapi-generator/src/test/resources/3_0/go-server/petstore.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/go-server/petstore.yaml @@ -1029,6 +1029,7 @@ components: type: string password: type: string + format: password phone: type: string nullable: true @@ -1089,6 +1090,7 @@ components: type: string password: type: string + format: password phone: type: string nullable: true diff --git a/modules/openapi-generator/src/test/resources/3_0/go-server/petstore_with_test_endpoint.yaml b/modules/openapi-generator/src/test/resources/3_0/go-server/petstore_with_test_endpoint.yaml index c91ce4165a80..93f8088438fb 100644 --- a/modules/openapi-generator/src/test/resources/3_0/go-server/petstore_with_test_endpoint.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/go-server/petstore_with_test_endpoint.yaml @@ -742,6 +742,7 @@ components: type: string password: type: string + format: password phone: type: string nullable: true diff --git a/modules/openapi-generator/src/test/resources/3_0/go/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml b/modules/openapi-generator/src/test/resources/3_0/go/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml index 0b49cbf63855..98a34f6dc52b 100644 --- a/modules/openapi-generator/src/test/resources/3_0/go/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/go/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml @@ -1537,6 +1537,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/groovy/petstore.yaml b/modules/openapi-generator/src/test/resources/3_0/groovy/petstore.yaml index e548a7399849..0d5a02869125 100644 --- a/modules/openapi-generator/src/test/resources/3_0/groovy/petstore.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/groovy/petstore.yaml @@ -667,6 +667,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/haskell-http-client/petstore-with-fake-endpoints-models-for-testing.yaml b/modules/openapi-generator/src/test/resources/3_0/haskell-http-client/petstore-with-fake-endpoints-models-for-testing.yaml index 2e32dd9a38b8..187b3f852904 100644 --- a/modules/openapi-generator/src/test/resources/3_0/haskell-http-client/petstore-with-fake-endpoints-models-for-testing.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/haskell-http-client/petstore-with-fake-endpoints-models-for-testing.yaml @@ -1206,6 +1206,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/haskell/petstore.yaml b/modules/openapi-generator/src/test/resources/3_0/haskell/petstore.yaml index 00d4c3192734..b4484ef84485 100644 --- a/modules/openapi-generator/src/test/resources/3_0/haskell/petstore.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/haskell/petstore.yaml @@ -701,6 +701,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/issues-anytype-object-set-petstore-everything.yaml b/modules/openapi-generator/src/test/resources/3_0/issues-anytype-object-set-petstore-everything.yaml index da9323c15127..8ce88de68772 100644 --- a/modules/openapi-generator/src/test/resources/3_0/issues-anytype-object-set-petstore-everything.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/issues-anytype-object-set-petstore-everything.yaml @@ -695,6 +695,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/java/native/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml b/modules/openapi-generator/src/test/resources/3_0/java/native/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml index 8f758bf5f5f5..697eefa09be5 100644 --- a/modules/openapi-generator/src/test/resources/3_0/java/native/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/java/native/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml @@ -1358,6 +1358,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/java/petstore-group-parameter.yaml b/modules/openapi-generator/src/test/resources/3_0/java/petstore-group-parameter.yaml index 516b565fb38e..65de2d92244d 100644 --- a/modules/openapi-generator/src/test/resources/3_0/java/petstore-group-parameter.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/java/petstore-group-parameter.yaml @@ -382,6 +382,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/java/petstore-with-fake-endpoints-models-for-testing-okhttp-gson.yaml b/modules/openapi-generator/src/test/resources/3_0/java/petstore-with-fake-endpoints-models-for-testing-okhttp-gson.yaml index 46b1c7d55052..454371892fc3 100644 --- a/modules/openapi-generator/src/test/resources/3_0/java/petstore-with-fake-endpoints-models-for-testing-okhttp-gson.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/java/petstore-with-fake-endpoints-models-for-testing-okhttp-gson.yaml @@ -1571,6 +1571,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/java/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml b/modules/openapi-generator/src/test/resources/3_0/java/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml index 6b8bbc75b1df..e6c724227d78 100644 --- a/modules/openapi-generator/src/test/resources/3_0/java/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/java/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml @@ -1342,6 +1342,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/javascript/petstore-with-fake-endpoints-models-for-testing.yaml b/modules/openapi-generator/src/test/resources/3_0/javascript/petstore-with-fake-endpoints-models-for-testing.yaml index 51690ea164e9..d9a26e216b83 100644 --- a/modules/openapi-generator/src/test/resources/3_0/javascript/petstore-with-fake-endpoints-models-for-testing.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/javascript/petstore-with-fake-endpoints-models-for-testing.yaml @@ -1396,6 +1396,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/jaxrs-spec/petstore-with-fake-endpoints-models-for-testing.yaml b/modules/openapi-generator/src/test/resources/3_0/jaxrs-spec/petstore-with-fake-endpoints-models-for-testing.yaml index ab021b4b5287..f4bf094d9bda 100644 --- a/modules/openapi-generator/src/test/resources/3_0/jaxrs-spec/petstore-with-fake-endpoints-models-for-testing.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/jaxrs-spec/petstore-with-fake-endpoints-models-for-testing.yaml @@ -1481,6 +1481,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/jaxrs/petstore.yaml b/modules/openapi-generator/src/test/resources/3_0/jaxrs/petstore.yaml index dc025556747e..cbe971d17052 100644 --- a/modules/openapi-generator/src/test/resources/3_0/jaxrs/petstore.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/jaxrs/petstore.yaml @@ -700,6 +700,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/jetbrains/ManagementService-v3.json b/modules/openapi-generator/src/test/resources/3_0/jetbrains/ManagementService-v3.json index 74b530588bdb..6353bfe45d37 100644 --- a/modules/openapi-generator/src/test/resources/3_0/jetbrains/ManagementService-v3.json +++ b/modules/openapi-generator/src/test/resources/3_0/jetbrains/ManagementService-v3.json @@ -16028,7 +16028,8 @@ }, "password" : { "description" : "The password for the API credential that was created.", - "type" : "string" + "type" : "string", + "format" : "password" }, "roles" : { "description" : "List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential.", @@ -16134,7 +16135,8 @@ }, "password" : { "description" : "The password for the API credential that was created.", - "type" : "string" + "type" : "string", + "format" : "password" }, "roles" : { "description" : "List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential.", @@ -16355,7 +16357,8 @@ }, "password" : { "description" : "Password to access the webhook URL.", - "type" : "string" + "type" : "string", + "format" : "password" }, "populateSoapActionHeader" : { "description" : "Indicates if the SOAP action header needs to be populated. Default value: **false**.\n\nOnly applies if `communicationFormat`: **soap**.", @@ -16584,7 +16587,8 @@ }, "password" : { "description" : "Password to access the webhook URL.", - "type" : "string" + "type" : "string", + "format" : "password" }, "populateSoapActionHeader" : { "description" : "Indicates if the SOAP action header needs to be populated. Default value: **false**.\n\nOnly applies if `communicationFormat`: **soap**.", @@ -20193,7 +20197,8 @@ }, "password" : { "description" : "Password to access the webhook URL.", - "type" : "string" + "type" : "string", + "format" : "password" }, "populateSoapActionHeader" : { "description" : "Indicates if the SOAP action header needs to be populated. Default value: **false**.\n\nOnly applies if `communicationFormat`: **soap**.", @@ -20333,7 +20338,8 @@ }, "password" : { "description" : "Password to access the webhook URL.", - "type" : "string" + "type" : "string", + "format" : "password" }, "populateSoapActionHeader" : { "description" : "Indicates if the SOAP action header needs to be populated. Default value: **false**.\n\nOnly applies if `communicationFormat`: **soap**.", @@ -20665,7 +20671,8 @@ }, "password" : { "description" : "The password for authentication of the notifications.", - "type" : "string" + "type" : "string", + "format" : "password" }, "url" : { "description" : "The URL in the format: http(s)://domain.com.", diff --git a/modules/openapi-generator/src/test/resources/3_0/jetbrains/MgmtApi.json b/modules/openapi-generator/src/test/resources/3_0/jetbrains/MgmtApi.json index 3b8a3c9e03fa..d642880efa3e 100644 --- a/modules/openapi-generator/src/test/resources/3_0/jetbrains/MgmtApi.json +++ b/modules/openapi-generator/src/test/resources/3_0/jetbrains/MgmtApi.json @@ -16118,7 +16118,8 @@ }, "password" : { "description" : "The password for the API credential that was created.", - "type" : "string" + "type" : "string", + "format" : "password" }, "roles" : { "description" : "List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential.", @@ -16224,7 +16225,8 @@ }, "password" : { "description" : "The password for the API credential that was created.", - "type" : "string" + "type" : "string", + "format" : "password" }, "roles" : { "description" : "List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential.", @@ -16445,7 +16447,8 @@ }, "password" : { "description" : "Password to access the webhook URL.", - "type" : "string" + "type" : "string", + "format" : "password" }, "populateSoapActionHeader" : { "description" : "Indicates if the SOAP action header needs to be populated. Default value: **false**.\n\nOnly applies if `communicationFormat`: **soap**.", @@ -16674,7 +16677,8 @@ }, "password" : { "description" : "Password to access the webhook URL.", - "type" : "string" + "type" : "string", + "format" : "password" }, "populateSoapActionHeader" : { "description" : "Indicates if the SOAP action header needs to be populated. Default value: **false**.\n\nOnly applies if `communicationFormat`: **soap**.", @@ -20184,7 +20188,8 @@ }, "password" : { "description" : "Password to access the webhook URL.", - "type" : "string" + "type" : "string", + "format" : "password" }, "populateSoapActionHeader" : { "description" : "Indicates if the SOAP action header needs to be populated. Default value: **false**.\n\nOnly applies if `communicationFormat`: **soap**.", @@ -20324,7 +20329,8 @@ }, "password" : { "description" : "Password to access the webhook URL.", - "type" : "string" + "type" : "string", + "format" : "password" }, "populateSoapActionHeader" : { "description" : "Indicates if the SOAP action header needs to be populated. Default value: **false**.\n\nOnly applies if `communicationFormat`: **soap**.", @@ -20645,7 +20651,8 @@ }, "password" : { "description" : "The password for authentication of the notifications.", - "type" : "string" + "type" : "string", + "format" : "password" }, "url" : { "description" : "The URL in the format: http(s)://domain.com.", diff --git a/modules/openapi-generator/src/test/resources/3_0/jmeter/petstore.yaml b/modules/openapi-generator/src/test/resources/3_0/jmeter/petstore.yaml index 0876844df34d..b160e3cfcd51 100644 --- a/modules/openapi-generator/src/test/resources/3_0/jmeter/petstore.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/jmeter/petstore.yaml @@ -677,6 +677,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/julia/petstore.yaml b/modules/openapi-generator/src/test/resources/3_0/julia/petstore.yaml index 826074f7a374..7fba3aee5143 100644 --- a/modules/openapi-generator/src/test/resources/3_0/julia/petstore.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/julia/petstore.yaml @@ -687,6 +687,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/k6/petstore-with-fake-endpoints-models-for-testing.yaml b/modules/openapi-generator/src/test/resources/3_0/k6/petstore-with-fake-endpoints-models-for-testing.yaml index bf110e9b9b2f..8d0b631c726f 100644 --- a/modules/openapi-generator/src/test/resources/3_0/k6/petstore-with-fake-endpoints-models-for-testing.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/k6/petstore-with-fake-endpoints-models-for-testing.yaml @@ -1460,6 +1460,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/kotlin/petstore-with-fake-endpoints-for-testing-with-cookie.yaml b/modules/openapi-generator/src/test/resources/3_0/kotlin/petstore-with-fake-endpoints-for-testing-with-cookie.yaml index 883c3044f706..effc2edd8ea9 100644 --- a/modules/openapi-generator/src/test/resources/3_0/kotlin/petstore-with-fake-endpoints-for-testing-with-cookie.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/kotlin/petstore-with-fake-endpoints-for-testing-with-cookie.yaml @@ -756,6 +756,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/kotlin/petstore-with-tags.yaml b/modules/openapi-generator/src/test/resources/3_0/kotlin/petstore-with-tags.yaml index fac95745cc30..4a1bf22d2135 100644 --- a/modules/openapi-generator/src/test/resources/3_0/kotlin/petstore-with-tags.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/kotlin/petstore-with-tags.yaml @@ -710,6 +710,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/kotlin/petstore-with-x-kotlin-implements.yaml b/modules/openapi-generator/src/test/resources/3_0/kotlin/petstore-with-x-kotlin-implements.yaml index e3a8f414e755..aa1fbfbf0c5e 100644 --- a/modules/openapi-generator/src/test/resources/3_0/kotlin/petstore-with-x-kotlin-implements.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/kotlin/petstore-with-x-kotlin-implements.yaml @@ -1023,6 +1023,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/kotlin/petstore.yaml b/modules/openapi-generator/src/test/resources/3_0/kotlin/petstore.yaml index 0c85127b68c6..409e9a37c213 100644 --- a/modules/openapi-generator/src/test/resources/3_0/kotlin/petstore.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/kotlin/petstore.yaml @@ -722,6 +722,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/nim/petstore.yaml b/modules/openapi-generator/src/test/resources/3_0/nim/petstore.yaml index 6df5edfcc430..ecb42eb7a8f4 100644 --- a/modules/openapi-generator/src/test/resources/3_0/nim/petstore.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/nim/petstore.yaml @@ -823,6 +823,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/perl/petstore-with-fake-endpoints-models-for-testing.yaml b/modules/openapi-generator/src/test/resources/3_0/perl/petstore-with-fake-endpoints-models-for-testing.yaml index eb766ee7870b..d95f9cabd02e 100644 --- a/modules/openapi-generator/src/test/resources/3_0/perl/petstore-with-fake-endpoints-models-for-testing.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/perl/petstore-with-fake-endpoints-models-for-testing.yaml @@ -1432,6 +1432,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/petstore-multiple-2xx-responses.yaml b/modules/openapi-generator/src/test/resources/3_0/petstore-multiple-2xx-responses.yaml index dbe18bd8b046..b62ebeab9df2 100644 --- a/modules/openapi-generator/src/test/resources/3_0/petstore-multiple-2xx-responses.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/petstore-multiple-2xx-responses.yaml @@ -680,6 +680,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/petstore-with-complex-headers.yaml b/modules/openapi-generator/src/test/resources/3_0/petstore-with-complex-headers.yaml index 71d5ff0511ea..57741d098487 100644 --- a/modules/openapi-generator/src/test/resources/3_0/petstore-with-complex-headers.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/petstore-with-complex-headers.yaml @@ -651,6 +651,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/petstore-with-deprecated-fields.yaml b/modules/openapi-generator/src/test/resources/3_0/petstore-with-deprecated-fields.yaml index 89ef9d88cec7..e7c819caec93 100644 --- a/modules/openapi-generator/src/test/resources/3_0/petstore-with-deprecated-fields.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/petstore-with-deprecated-fields.yaml @@ -652,6 +652,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml b/modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml index b3727634f1bb..7e8019c2152f 100644 --- a/modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml @@ -1353,6 +1353,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml b/modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml index e4957b4e19d1..e87fe0cb55b8 100644 --- a/modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml @@ -471,6 +471,7 @@ paths: required: true schema: type: string + format: password responses: '200': description: successful operation @@ -1449,6 +1450,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/petstore-with-nullable-required.yaml b/modules/openapi-generator/src/test/resources/3_0/petstore-with-nullable-required.yaml index f01e0a1af7cc..f1c758d19e8e 100644 --- a/modules/openapi-generator/src/test/resources/3_0/petstore-with-nullable-required.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/petstore-with-nullable-required.yaml @@ -649,6 +649,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/petstore-with-object-as-parameter.yaml b/modules/openapi-generator/src/test/resources/3_0/petstore-with-object-as-parameter.yaml index 5020c07cede2..7d9ff089ff1c 100644 --- a/modules/openapi-generator/src/test/resources/3_0/petstore-with-object-as-parameter.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/petstore-with-object-as-parameter.yaml @@ -673,6 +673,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/petstore.json b/modules/openapi-generator/src/test/resources/3_0/petstore.json index 7d07119f535f..b3a2aa7a94d9 100644 --- a/modules/openapi-generator/src/test/resources/3_0/petstore.json +++ b/modules/openapi-generator/src/test/resources/3_0/petstore.json @@ -867,7 +867,8 @@ "type": "string" }, "password": { - "type": "string" + "type": "string", + "format": "password" }, "phone": { "type": "string" diff --git a/modules/openapi-generator/src/test/resources/3_0/petstore.yaml b/modules/openapi-generator/src/test/resources/3_0/petstore.yaml index 50cde3f1f12c..20911c875bb8 100644 --- a/modules/openapi-generator/src/test/resources/3_0/petstore.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/petstore.yaml @@ -667,6 +667,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/php-laravel/petstore-with-fake-endpoints-models-for-testing.yaml b/modules/openapi-generator/src/test/resources/3_0/php-laravel/petstore-with-fake-endpoints-models-for-testing.yaml index 6a30b91c864f..8ff70370b552 100644 --- a/modules/openapi-generator/src/test/resources/3_0/php-laravel/petstore-with-fake-endpoints-models-for-testing.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/php-laravel/petstore-with-fake-endpoints-models-for-testing.yaml @@ -1492,6 +1492,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/php-nextgen/petstore-with-fake-endpoints-models-for-testing.yaml b/modules/openapi-generator/src/test/resources/3_0/php-nextgen/petstore-with-fake-endpoints-models-for-testing.yaml index 8de20de092c1..d1c3279a8df4 100644 --- a/modules/openapi-generator/src/test/resources/3_0/php-nextgen/petstore-with-fake-endpoints-models-for-testing.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/php-nextgen/petstore-with-fake-endpoints-models-for-testing.yaml @@ -1656,6 +1656,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/php-symfony/petstore.yaml b/modules/openapi-generator/src/test/resources/3_0/php-symfony/petstore.yaml index c0a1cd8a63d1..dcdf25b2ee95 100644 --- a/modules/openapi-generator/src/test/resources/3_0/php-symfony/petstore.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/php-symfony/petstore.yaml @@ -732,6 +732,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/php/petstore-with-fake-endpoints-models-for-testing.yaml b/modules/openapi-generator/src/test/resources/3_0/php/petstore-with-fake-endpoints-models-for-testing.yaml index eda138fdef93..ef9c4b069571 100644 --- a/modules/openapi-generator/src/test/resources/3_0/php/petstore-with-fake-endpoints-models-for-testing.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/php/petstore-with-fake-endpoints-models-for-testing.yaml @@ -1680,6 +1680,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/powershell/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml b/modules/openapi-generator/src/test/resources/3_0/powershell/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml index 53b105777132..70c186105ec7 100644 --- a/modules/openapi-generator/src/test/resources/3_0/powershell/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/powershell/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml @@ -1328,6 +1328,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/protobuf/petstore.yaml b/modules/openapi-generator/src/test/resources/3_0/protobuf/petstore.yaml index 1173ca9591ba..b402e1b3e935 100644 --- a/modules/openapi-generator/src/test/resources/3_0/protobuf/petstore.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/protobuf/petstore.yaml @@ -711,6 +711,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/python-fastapi/petstore.yaml b/modules/openapi-generator/src/test/resources/3_0/python-fastapi/petstore.yaml index 7f5f20f5bc7e..8a9b705aee05 100644 --- a/modules/openapi-generator/src/test/resources/3_0/python-fastapi/petstore.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/python-fastapi/petstore.yaml @@ -691,6 +691,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/python-flask/petstore.yaml b/modules/openapi-generator/src/test/resources/3_0/python-flask/petstore.yaml index 49a6c04654bb..609bca36f08b 100644 --- a/modules/openapi-generator/src/test/resources/3_0/python-flask/petstore.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/python-flask/petstore.yaml @@ -691,6 +691,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/python/petstore-with-fake-endpoints-models-for-testing.yaml b/modules/openapi-generator/src/test/resources/3_0/python/petstore-with-fake-endpoints-models-for-testing.yaml index f7fa596f2dc1..7352e9da1e89 100644 --- a/modules/openapi-generator/src/test/resources/3_0/python/petstore-with-fake-endpoints-models-for-testing.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/python/petstore-with-fake-endpoints-models-for-testing.yaml @@ -1773,6 +1773,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/r/petstore.yaml b/modules/openapi-generator/src/test/resources/3_0/r/petstore.yaml index 70497d526ed5..61d49ef22ef5 100644 --- a/modules/openapi-generator/src/test/resources/3_0/r/petstore.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/r/petstore.yaml @@ -898,6 +898,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/ruby/petstore-with-fake-endpoints-models-for-testing.yaml b/modules/openapi-generator/src/test/resources/3_0/ruby/petstore-with-fake-endpoints-models-for-testing.yaml index c269fb4ee300..29fe942bddca 100644 --- a/modules/openapi-generator/src/test/resources/3_0/ruby/petstore-with-fake-endpoints-models-for-testing.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/ruby/petstore-with-fake-endpoints-models-for-testing.yaml @@ -1512,6 +1512,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/rust/petstore.yaml b/modules/openapi-generator/src/test/resources/3_0/rust/petstore.yaml index 984954994b4a..c0f81038ee58 100644 --- a/modules/openapi-generator/src/test/resources/3_0/rust/petstore.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/rust/petstore.yaml @@ -867,6 +867,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/scala-akka/petstore.yaml b/modules/openapi-generator/src/test/resources/3_0/scala-akka/petstore.yaml index 261eafdaac24..0ab1574838f0 100644 --- a/modules/openapi-generator/src/test/resources/3_0/scala-akka/petstore.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/scala-akka/petstore.yaml @@ -669,6 +669,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/scala-cask/petstore.yaml b/modules/openapi-generator/src/test/resources/3_0/scala-cask/petstore.yaml index 2249f5342c8e..f4c3caa093db 100644 --- a/modules/openapi-generator/src/test/resources/3_0/scala-cask/petstore.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/scala-cask/petstore.yaml @@ -690,6 +690,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/scala-http4s-server/petstore.yaml b/modules/openapi-generator/src/test/resources/3_0/scala-http4s-server/petstore.yaml index a387f59ac47b..52a33fdf44e4 100644 --- a/modules/openapi-generator/src/test/resources/3_0/scala-http4s-server/petstore.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/scala-http4s-server/petstore.yaml @@ -693,6 +693,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/scala-http4s/petstore.yaml b/modules/openapi-generator/src/test/resources/3_0/scala-http4s/petstore.yaml index 947376fc0082..9a022f779735 100644 --- a/modules/openapi-generator/src/test/resources/3_0/scala-http4s/petstore.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/scala-http4s/petstore.yaml @@ -669,6 +669,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/scala-pekko/petstore.yaml b/modules/openapi-generator/src/test/resources/3_0/scala-pekko/petstore.yaml index 947376fc0082..9a022f779735 100644 --- a/modules/openapi-generator/src/test/resources/3_0/scala-pekko/petstore.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/scala-pekko/petstore.yaml @@ -669,6 +669,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/scala-sttp-circe/petstore.yaml b/modules/openapi-generator/src/test/resources/3_0/scala-sttp-circe/petstore.yaml index ea571731a106..117920b22fcd 100644 --- a/modules/openapi-generator/src/test/resources/3_0/scala-sttp-circe/petstore.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/scala-sttp-circe/petstore.yaml @@ -715,6 +715,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/scala/petstore.yaml b/modules/openapi-generator/src/test/resources/3_0/scala/petstore.yaml index cfd47219f210..3ae30a61e6f7 100644 --- a/modules/openapi-generator/src/test/resources/3_0/scala/petstore.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/scala/petstore.yaml @@ -699,6 +699,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/scala/scala-sttp4-jsoniter/petstore.yaml b/modules/openapi-generator/src/test/resources/3_0/scala/scala-sttp4-jsoniter/petstore.yaml index 47ceec2e135f..c00ed286e9f1 100644 --- a/modules/openapi-generator/src/test/resources/3_0/scala/scala-sttp4-jsoniter/petstore.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/scala/scala-sttp4-jsoniter/petstore.yaml @@ -751,6 +751,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/snakecase-discriminator.yaml b/modules/openapi-generator/src/test/resources/3_0/snakecase-discriminator.yaml index cc4f62fa3972..1e29b0d941c0 100644 --- a/modules/openapi-generator/src/test/resources/3_0/snakecase-discriminator.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/snakecase-discriminator.yaml @@ -471,6 +471,7 @@ paths: required: true schema: type: string + format: password responses: "200": description: successful operation @@ -1377,6 +1378,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/spring/petstore-with-fake-endpoints-models-for-testing-with-spring-pageable.yaml b/modules/openapi-generator/src/test/resources/3_0/spring/petstore-with-fake-endpoints-models-for-testing-with-spring-pageable.yaml index ba52d9622c0b..3b857108b6c4 100644 --- a/modules/openapi-generator/src/test/resources/3_0/spring/petstore-with-fake-endpoints-models-for-testing-with-spring-pageable.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/spring/petstore-with-fake-endpoints-models-for-testing-with-spring-pageable.yaml @@ -1435,6 +1435,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/spring/petstore-with-fake-endpoints-models-for-testing-x-implements.yaml b/modules/openapi-generator/src/test/resources/3_0/spring/petstore-with-fake-endpoints-models-for-testing-x-implements.yaml index 257225df5d1a..fc3971ccb03c 100644 --- a/modules/openapi-generator/src/test/resources/3_0/spring/petstore-with-fake-endpoints-models-for-testing-x-implements.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/spring/petstore-with-fake-endpoints-models-for-testing-x-implements.yaml @@ -1449,6 +1449,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/spring/petstore-with-fake-endpoints-models-for-testing.yaml b/modules/openapi-generator/src/test/resources/3_0/spring/petstore-with-fake-endpoints-models-for-testing.yaml index 29aa9b9a1056..2ebf52cc2ec9 100644 --- a/modules/openapi-generator/src/test/resources/3_0/spring/petstore-with-fake-endpoints-models-for-testing.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/spring/petstore-with-fake-endpoints-models-for-testing.yaml @@ -1250,6 +1250,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/spring/petstore-with-spring-pageable.yaml b/modules/openapi-generator/src/test/resources/3_0/spring/petstore-with-spring-pageable.yaml index 5b37c7e65a73..8fa0adca0901 100644 --- a/modules/openapi-generator/src/test/resources/3_0/spring/petstore-with-spring-pageable.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/spring/petstore-with-spring-pageable.yaml @@ -733,6 +733,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/spring/petstore-with-spring-provide-args.yaml b/modules/openapi-generator/src/test/resources/3_0/spring/petstore-with-spring-provide-args.yaml index b425f5b1325e..98aa0588a84f 100644 --- a/modules/openapi-generator/src/test/resources/3_0/spring/petstore-with-spring-provide-args.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/spring/petstore-with-spring-provide-args.yaml @@ -216,6 +216,7 @@ definitions: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/spring/petstore-with-tags.yaml b/modules/openapi-generator/src/test/resources/3_0/spring/petstore-with-tags.yaml index 6a7f437a5313..829e734f7cab 100644 --- a/modules/openapi-generator/src/test/resources/3_0/spring/petstore-with-tags.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/spring/petstore-with-tags.yaml @@ -645,6 +645,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/spring/petstore_with_api_response_examples.yaml b/modules/openapi-generator/src/test/resources/3_0/spring/petstore_with_api_response_examples.yaml index 629da5c497cb..a60ff4992a90 100644 --- a/modules/openapi-generator/src/test/resources/3_0/spring/petstore_with_api_response_examples.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/spring/petstore_with_api_response_examples.yaml @@ -680,6 +680,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_0/typescript-fetch/validation-attributes.yaml b/modules/openapi-generator/src/test/resources/3_0/typescript-fetch/validation-attributes.yaml index 76eb1bb9885c..f612376a1b3d 100644 --- a/modules/openapi-generator/src/test/resources/3_0/typescript-fetch/validation-attributes.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/typescript-fetch/validation-attributes.yaml @@ -671,6 +671,7 @@ components: type: string password: type: string + format: password minLength: 8 maxLength: 256 phone: diff --git a/modules/openapi-generator/src/test/resources/3_0/wsdl/petstore.yaml b/modules/openapi-generator/src/test/resources/3_0/wsdl/petstore.yaml index 85482061ee3d..11d9ca2a5d56 100644 --- a/modules/openapi-generator/src/test/resources/3_0/wsdl/petstore.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/wsdl/petstore.yaml @@ -648,6 +648,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_1/java/petstore.yaml b/modules/openapi-generator/src/test/resources/3_1/java/petstore.yaml index cd449d9484a8..78466d2a093c 100644 --- a/modules/openapi-generator/src/test/resources/3_1/java/petstore.yaml +++ b/modules/openapi-generator/src/test/resources/3_1/java/petstore.yaml @@ -907,6 +907,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/3_1/petstore.yaml b/modules/openapi-generator/src/test/resources/3_1/petstore.yaml index 1e95bca01600..097041eec68e 100644 --- a/modules/openapi-generator/src/test/resources/3_1/petstore.yaml +++ b/modules/openapi-generator/src/test/resources/3_1/petstore.yaml @@ -667,6 +667,7 @@ components: type: string password: type: string + format: password phone: type: string userStatus: diff --git a/modules/openapi-generator/src/test/resources/petstore.json b/modules/openapi-generator/src/test/resources/petstore.json index ad5523181b6a..1f159bffac96 100644 --- a/modules/openapi-generator/src/test/resources/petstore.json +++ b/modules/openapi-generator/src/test/resources/petstore.json @@ -652,7 +652,8 @@ "in": "query", "description": "The password for login in clear text", "required": false, - "type": "string" + "type": "string", + "format": "password" } ], "responses": { @@ -840,7 +841,8 @@ "type": "string" }, "password": { - "type": "string" + "type": "string", + "format": "password" }, "phone": { "type": "string" diff --git a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/api/openapi.yaml b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/api/openapi.yaml index a1efcc2e4d8c..8184f0656589 100644 --- a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/api/openapi.yaml +++ b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/api/openapi.yaml @@ -738,6 +738,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/model/User.java b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/model/User.java index 02ebf8155514..feaec25d282f 100644 --- a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/model/User.java @@ -280,7 +280,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/apex/force-app/main/default/classes/OASUser.cls b/samples/client/petstore/apex/force-app/main/default/classes/OASUser.cls index 7fd06c6d2cb4..e6c1007adefd 100644 --- a/samples/client/petstore/apex/force-app/main/default/classes/OASUser.cls +++ b/samples/client/petstore/apex/force-app/main/default/classes/OASUser.cls @@ -69,7 +69,7 @@ public class OASUser { user.firstName = ''; user.lastName = ''; user.email = ''; - user.password = ''; + user.password = 'password123'; user.phone = ''; user.userStatus = 0; return user; diff --git a/samples/client/petstore/cpp-boost-beast/generated/model/schema_ir.generated.cpp b/samples/client/petstore/cpp-boost-beast/generated/model/schema_ir.generated.cpp index c1eaa8fc62b1..c01c23245fb5 100644 --- a/samples/client/petstore/cpp-boost-beast/generated/model/schema_ir.generated.cpp +++ b/samples/client/petstore/cpp-boost-beast/generated/model/schema_ir.generated.cpp @@ -280,6 +280,7 @@ SchemaResourceRegistry buildRegistry() { SchemaNode n; n.resourceIdentity = 0; n.typeFlags = 8u; + n.annFormat = "\"password\""; n.sourceName = "User_component_prop5"; n.schemaPath = "#/components/schemas/User/properties/password"; n.absSchemaUri = "urn:openapi-generator:cpp-boost-beast:schema#/components/schemas/User/properties/password"; diff --git a/samples/client/petstore/csharp/generichost/latest/UseDateTimeOffset/api/openapi.yaml b/samples/client/petstore/csharp/generichost/latest/UseDateTimeOffset/api/openapi.yaml index c690f13ee0aa..45b9b48c534f 100644 --- a/samples/client/petstore/csharp/generichost/latest/UseDateTimeOffset/api/openapi.yaml +++ b/samples/client/petstore/csharp/generichost/latest/UseDateTimeOffset/api/openapi.yaml @@ -1477,6 +1477,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/csharp/generichost/net10/FormModels/api/openapi.yaml b/samples/client/petstore/csharp/generichost/net10/FormModels/api/openapi.yaml index ee3af221459f..1ffd43147393 100644 --- a/samples/client/petstore/csharp/generichost/net10/FormModels/api/openapi.yaml +++ b/samples/client/petstore/csharp/generichost/net10/FormModels/api/openapi.yaml @@ -1441,6 +1441,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/csharp/generichost/net10/NullReferenceTypes/api/openapi.yaml b/samples/client/petstore/csharp/generichost/net10/NullReferenceTypes/api/openapi.yaml index c690f13ee0aa..45b9b48c534f 100644 --- a/samples/client/petstore/csharp/generichost/net10/NullReferenceTypes/api/openapi.yaml +++ b/samples/client/petstore/csharp/generichost/net10/NullReferenceTypes/api/openapi.yaml @@ -1477,6 +1477,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/csharp/generichost/net10/Petstore/api/openapi.yaml b/samples/client/petstore/csharp/generichost/net10/Petstore/api/openapi.yaml index c690f13ee0aa..45b9b48c534f 100644 --- a/samples/client/petstore/csharp/generichost/net10/Petstore/api/openapi.yaml +++ b/samples/client/petstore/csharp/generichost/net10/Petstore/api/openapi.yaml @@ -1477,6 +1477,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/csharp/generichost/net10/SourceGeneration/api/openapi.yaml b/samples/client/petstore/csharp/generichost/net10/SourceGeneration/api/openapi.yaml index c690f13ee0aa..45b9b48c534f 100644 --- a/samples/client/petstore/csharp/generichost/net10/SourceGeneration/api/openapi.yaml +++ b/samples/client/petstore/csharp/generichost/net10/SourceGeneration/api/openapi.yaml @@ -1477,6 +1477,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/api/openapi.yaml b/samples/client/petstore/csharp/generichost/net4.7/FormModels/api/openapi.yaml index ee3af221459f..1ffd43147393 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/api/openapi.yaml +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/api/openapi.yaml @@ -1441,6 +1441,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/api/openapi.yaml b/samples/client/petstore/csharp/generichost/net4.7/Petstore/api/openapi.yaml index c690f13ee0aa..45b9b48c534f 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/api/openapi.yaml +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/api/openapi.yaml @@ -1477,6 +1477,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/api/openapi.yaml b/samples/client/petstore/csharp/generichost/net4.8/FormModels/api/openapi.yaml index ee3af221459f..1ffd43147393 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/api/openapi.yaml +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/api/openapi.yaml @@ -1441,6 +1441,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/api/openapi.yaml b/samples/client/petstore/csharp/generichost/net4.8/Petstore/api/openapi.yaml index c690f13ee0aa..45b9b48c534f 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/api/openapi.yaml +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/api/openapi.yaml @@ -1477,6 +1477,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/api/openapi.yaml b/samples/client/petstore/csharp/generichost/net8/FormModels/api/openapi.yaml index ee3af221459f..1ffd43147393 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/api/openapi.yaml +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/api/openapi.yaml @@ -1441,6 +1441,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/api/openapi.yaml b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/api/openapi.yaml index c690f13ee0aa..45b9b48c534f 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/api/openapi.yaml +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/api/openapi.yaml @@ -1477,6 +1477,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/api/openapi.yaml b/samples/client/petstore/csharp/generichost/net8/Petstore/api/openapi.yaml index c690f13ee0aa..45b9b48c534f 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/api/openapi.yaml +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/api/openapi.yaml @@ -1477,6 +1477,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/api/openapi.yaml b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/api/openapi.yaml index c690f13ee0aa..45b9b48c534f 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/api/openapi.yaml +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/api/openapi.yaml @@ -1477,6 +1477,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/csharp/generichost/net9/FormModels/api/openapi.yaml b/samples/client/petstore/csharp/generichost/net9/FormModels/api/openapi.yaml index ee3af221459f..1ffd43147393 100644 --- a/samples/client/petstore/csharp/generichost/net9/FormModels/api/openapi.yaml +++ b/samples/client/petstore/csharp/generichost/net9/FormModels/api/openapi.yaml @@ -1441,6 +1441,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/csharp/generichost/net9/NullReferenceTypes/api/openapi.yaml b/samples/client/petstore/csharp/generichost/net9/NullReferenceTypes/api/openapi.yaml index c690f13ee0aa..45b9b48c534f 100644 --- a/samples/client/petstore/csharp/generichost/net9/NullReferenceTypes/api/openapi.yaml +++ b/samples/client/petstore/csharp/generichost/net9/NullReferenceTypes/api/openapi.yaml @@ -1477,6 +1477,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/csharp/generichost/net9/Petstore/api/openapi.yaml b/samples/client/petstore/csharp/generichost/net9/Petstore/api/openapi.yaml index c690f13ee0aa..45b9b48c534f 100644 --- a/samples/client/petstore/csharp/generichost/net9/Petstore/api/openapi.yaml +++ b/samples/client/petstore/csharp/generichost/net9/Petstore/api/openapi.yaml @@ -1477,6 +1477,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/csharp/generichost/net9/SourceGeneration/api/openapi.yaml b/samples/client/petstore/csharp/generichost/net9/SourceGeneration/api/openapi.yaml index c690f13ee0aa..45b9b48c534f 100644 --- a/samples/client/petstore/csharp/generichost/net9/SourceGeneration/api/openapi.yaml +++ b/samples/client/petstore/csharp/generichost/net9/SourceGeneration/api/openapi.yaml @@ -1477,6 +1477,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/api/openapi.yaml b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/api/openapi.yaml index c690f13ee0aa..45b9b48c534f 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/api/openapi.yaml +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/api/openapi.yaml @@ -1477,6 +1477,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/csharp/httpclient/net10/Petstore/api/openapi.yaml b/samples/client/petstore/csharp/httpclient/net10/Petstore/api/openapi.yaml index c690f13ee0aa..45b9b48c534f 100644 --- a/samples/client/petstore/csharp/httpclient/net10/Petstore/api/openapi.yaml +++ b/samples/client/petstore/csharp/httpclient/net10/Petstore/api/openapi.yaml @@ -1477,6 +1477,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/csharp/httpclient/net9/Petstore/api/openapi.yaml b/samples/client/petstore/csharp/httpclient/net9/Petstore/api/openapi.yaml index c690f13ee0aa..45b9b48c534f 100644 --- a/samples/client/petstore/csharp/httpclient/net9/Petstore/api/openapi.yaml +++ b/samples/client/petstore/csharp/httpclient/net9/Petstore/api/openapi.yaml @@ -1477,6 +1477,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/api/openapi.yaml b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/api/openapi.yaml index c690f13ee0aa..45b9b48c534f 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/api/openapi.yaml +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/api/openapi.yaml @@ -1477,6 +1477,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/csharp/restsharp/net10/EnumMappings/api/openapi.yaml b/samples/client/petstore/csharp/restsharp/net10/EnumMappings/api/openapi.yaml index 8b117e1ca006..7a08e3540c96 100644 --- a/samples/client/petstore/csharp/restsharp/net10/EnumMappings/api/openapi.yaml +++ b/samples/client/petstore/csharp/restsharp/net10/EnumMappings/api/openapi.yaml @@ -680,6 +680,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/csharp/restsharp/net10/Petstore/api/openapi.yaml b/samples/client/petstore/csharp/restsharp/net10/Petstore/api/openapi.yaml index 5e37e53ba7dc..e762c2b5e1c7 100644 --- a/samples/client/petstore/csharp/restsharp/net10/Petstore/api/openapi.yaml +++ b/samples/client/petstore/csharp/restsharp/net10/Petstore/api/openapi.yaml @@ -1407,6 +1407,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/api/openapi.yaml b/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/api/openapi.yaml index 8b117e1ca006..7a08e3540c96 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/api/openapi.yaml +++ b/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/api/openapi.yaml @@ -680,6 +680,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/api/openapi.yaml b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/api/openapi.yaml index aad15d537c32..e4532729db39 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/api/openapi.yaml +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/api/openapi.yaml @@ -1405,6 +1405,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/api/openapi.yaml b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/api/openapi.yaml index aad15d537c32..e4532729db39 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/api/openapi.yaml +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/api/openapi.yaml @@ -1405,6 +1405,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/csharp/restsharp/net8/EnumMappings/api/openapi.yaml b/samples/client/petstore/csharp/restsharp/net8/EnumMappings/api/openapi.yaml index aad15d537c32..e4532729db39 100644 --- a/samples/client/petstore/csharp/restsharp/net8/EnumMappings/api/openapi.yaml +++ b/samples/client/petstore/csharp/restsharp/net8/EnumMappings/api/openapi.yaml @@ -1405,6 +1405,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/csharp/restsharp/net8/Petstore/api/openapi.yaml b/samples/client/petstore/csharp/restsharp/net8/Petstore/api/openapi.yaml index c690f13ee0aa..45b9b48c534f 100644 --- a/samples/client/petstore/csharp/restsharp/net8/Petstore/api/openapi.yaml +++ b/samples/client/petstore/csharp/restsharp/net8/Petstore/api/openapi.yaml @@ -1477,6 +1477,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/csharp/restsharp/net9/EnumMappings/api/openapi.yaml b/samples/client/petstore/csharp/restsharp/net9/EnumMappings/api/openapi.yaml index aad15d537c32..e4532729db39 100644 --- a/samples/client/petstore/csharp/restsharp/net9/EnumMappings/api/openapi.yaml +++ b/samples/client/petstore/csharp/restsharp/net9/EnumMappings/api/openapi.yaml @@ -1405,6 +1405,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/api/openapi.yaml b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/api/openapi.yaml index c690f13ee0aa..45b9b48c534f 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/api/openapi.yaml +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/api/openapi.yaml @@ -1477,6 +1477,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/api/openapi.yaml b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/api/openapi.yaml index 5e37e53ba7dc..e762c2b5e1c7 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/api/openapi.yaml +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/api/openapi.yaml @@ -1407,6 +1407,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/csharp/unityWebRequest/net10/Petstore/api/openapi.yaml b/samples/client/petstore/csharp/unityWebRequest/net10/Petstore/api/openapi.yaml index c690f13ee0aa..45b9b48c534f 100644 --- a/samples/client/petstore/csharp/unityWebRequest/net10/Petstore/api/openapi.yaml +++ b/samples/client/petstore/csharp/unityWebRequest/net10/Petstore/api/openapi.yaml @@ -1477,6 +1477,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/csharp/unityWebRequest/net9/Petstore/api/openapi.yaml b/samples/client/petstore/csharp/unityWebRequest/net9/Petstore/api/openapi.yaml index c690f13ee0aa..45b9b48c534f 100644 --- a/samples/client/petstore/csharp/unityWebRequest/net9/Petstore/api/openapi.yaml +++ b/samples/client/petstore/csharp/unityWebRequest/net9/Petstore/api/openapi.yaml @@ -1477,6 +1477,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/api/openapi.yaml b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/api/openapi.yaml index c690f13ee0aa..45b9b48c534f 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/api/openapi.yaml +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/api/openapi.yaml @@ -1477,6 +1477,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/gdscript/addons/oas.petstore.client/models/DemoUserModel.gd b/samples/client/petstore/gdscript/addons/oas.petstore.client/models/DemoUserModel.gd index 8fb9a0241505..2959ae8ccbfb 100644 --- a/samples/client/petstore/gdscript/addons/oas.petstore.client/models/DemoUserModel.gd +++ b/samples/client/petstore/gdscript/addons/oas.petstore.client/models/DemoUserModel.gd @@ -53,7 +53,7 @@ var __email__was__set := false # Required: False # isArray: false -@export var password: String = "": +@export var password: String: set(value): __password__was__set = true password = value diff --git a/samples/client/petstore/go/go-petstore/api/openapi.yaml b/samples/client/petstore/go/go-petstore/api/openapi.yaml index 0c537a5ee3f9..8a3c83af56be 100644 --- a/samples/client/petstore/go/go-petstore/api/openapi.yaml +++ b/samples/client/petstore/go/go-petstore/api/openapi.yaml @@ -1163,6 +1163,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/haskell-http-client/openapi.yaml b/samples/client/petstore/haskell-http-client/openapi.yaml index dfe2c77f2f2a..8886afa18946 100644 --- a/samples/client/petstore/haskell-http-client/openapi.yaml +++ b/samples/client/petstore/haskell-http-client/openapi.yaml @@ -1272,6 +1272,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/User.java index 4ec14b22a173..b1d391dca84b 100644 --- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/User.java @@ -216,7 +216,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/User.java index 4ec14b22a173..b1d391dca84b 100644 --- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/User.java @@ -216,7 +216,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/User.java index 4ec14b22a173..b1d391dca84b 100644 --- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/User.java @@ -216,7 +216,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/User.java index 4ec14b22a173..b1d391dca84b 100644 --- a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/User.java @@ -216,7 +216,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/User.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/User.java index c7810abff63a..68eb6d659191 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/User.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/User.java @@ -273,7 +273,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/java/apache-httpclient-jackson3/api/openapi.yaml b/samples/client/petstore/java/apache-httpclient-jackson3/api/openapi.yaml index 9a74972a7401..fafd8a0c6db1 100644 --- a/samples/client/petstore/java/apache-httpclient-jackson3/api/openapi.yaml +++ b/samples/client/petstore/java/apache-httpclient-jackson3/api/openapi.yaml @@ -532,6 +532,7 @@ paths: name: password required: true schema: + format: password type: string style: form responses: @@ -1508,6 +1509,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/java/apache-httpclient-jackson3/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/apache-httpclient-jackson3/src/main/java/org/openapitools/client/model/User.java index e98194d4e867..fff7723ead7f 100644 --- a/samples/client/petstore/java/apache-httpclient-jackson3/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/apache-httpclient-jackson3/src/main/java/org/openapitools/client/model/User.java @@ -309,7 +309,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/java/apache-httpclient/api/openapi.yaml b/samples/client/petstore/java/apache-httpclient/api/openapi.yaml index 9a74972a7401..fafd8a0c6db1 100644 --- a/samples/client/petstore/java/apache-httpclient/api/openapi.yaml +++ b/samples/client/petstore/java/apache-httpclient/api/openapi.yaml @@ -532,6 +532,7 @@ paths: name: password required: true schema: + format: password type: string style: form responses: @@ -1508,6 +1509,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/User.java index ee3cfbec7e70..4ac07773bb2e 100644 --- a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/User.java @@ -310,7 +310,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/java/feign-hc5/api/openapi.yaml b/samples/client/petstore/java/feign-hc5/api/openapi.yaml index 9a74972a7401..fafd8a0c6db1 100644 --- a/samples/client/petstore/java/feign-hc5/api/openapi.yaml +++ b/samples/client/petstore/java/feign-hc5/api/openapi.yaml @@ -532,6 +532,7 @@ paths: name: password required: true schema: + format: password type: string style: form responses: @@ -1508,6 +1509,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/java/feign-hc5/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/feign-hc5/src/main/java/org/openapitools/client/model/User.java index 9f8b24e5e149..db6116154a59 100644 --- a/samples/client/petstore/java/feign-hc5/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/feign-hc5/src/main/java/org/openapitools/client/model/User.java @@ -314,7 +314,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/java/feign-no-nullable/api/openapi.yaml b/samples/client/petstore/java/feign-no-nullable/api/openapi.yaml index 426145d1685a..0b0987304ad1 100644 --- a/samples/client/petstore/java/feign-no-nullable/api/openapi.yaml +++ b/samples/client/petstore/java/feign-no-nullable/api/openapi.yaml @@ -1268,6 +1268,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/User.java index 1ca7cac6f5f6..371ef7fbe7fb 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/User.java @@ -313,7 +313,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/java/feign/api/openapi.yaml b/samples/client/petstore/java/feign/api/openapi.yaml index 9a74972a7401..fafd8a0c6db1 100644 --- a/samples/client/petstore/java/feign/api/openapi.yaml +++ b/samples/client/petstore/java/feign/api/openapi.yaml @@ -532,6 +532,7 @@ paths: name: password required: true schema: + format: password type: string style: form responses: @@ -1508,6 +1509,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/User.java index 9f8b24e5e149..db6116154a59 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/User.java @@ -314,7 +314,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/java/google-api-client/api/openapi.yaml b/samples/client/petstore/java/google-api-client/api/openapi.yaml index 426145d1685a..0b0987304ad1 100644 --- a/samples/client/petstore/java/google-api-client/api/openapi.yaml +++ b/samples/client/petstore/java/google-api-client/api/openapi.yaml @@ -1268,6 +1268,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/User.java index a612731ef7de..e666be0ca850 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/User.java @@ -307,7 +307,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/api/openapi.yaml b/samples/client/petstore/java/jersey2-java8-localdatetime/api/openapi.yaml index 426145d1685a..0b0987304ad1 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/api/openapi.yaml +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/api/openapi.yaml @@ -1268,6 +1268,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/User.java index d9ec111581be..03e9ced9ebc5 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/User.java @@ -312,7 +312,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/java/jersey2-java8/api/openapi.yaml b/samples/client/petstore/java/jersey2-java8/api/openapi.yaml index 426145d1685a..0b0987304ad1 100644 --- a/samples/client/petstore/java/jersey2-java8/api/openapi.yaml +++ b/samples/client/petstore/java/jersey2-java8/api/openapi.yaml @@ -1268,6 +1268,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/User.java index d9ec111581be..03e9ced9ebc5 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/User.java @@ -312,7 +312,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/java/jersey3-jackson3/api/openapi.yaml b/samples/client/petstore/java/jersey3-jackson3/api/openapi.yaml index bb867da57d51..ba150fd8ea35 100644 --- a/samples/client/petstore/java/jersey3-jackson3/api/openapi.yaml +++ b/samples/client/petstore/java/jersey3-jackson3/api/openapi.yaml @@ -1388,6 +1388,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/java/jersey3-jackson3/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/jersey3-jackson3/src/main/java/org/openapitools/client/model/User.java index ed4211985a22..b155c584d40b 100644 --- a/samples/client/petstore/java/jersey3-jackson3/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/jersey3-jackson3/src/main/java/org/openapitools/client/model/User.java @@ -469,7 +469,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append(" objectWithNoDeclaredProps: ").append(toIndentedString(objectWithNoDeclaredProps)).append("\n"); diff --git a/samples/client/petstore/java/jersey3/api/openapi.yaml b/samples/client/petstore/java/jersey3/api/openapi.yaml index bb867da57d51..ba150fd8ea35 100644 --- a/samples/client/petstore/java/jersey3/api/openapi.yaml +++ b/samples/client/petstore/java/jersey3/api/openapi.yaml @@ -1388,6 +1388,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/User.java index 3f9bfadf6c97..fb3659cf8db5 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/User.java @@ -470,7 +470,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append(" objectWithNoDeclaredProps: ").append(toIndentedString(objectWithNoDeclaredProps)).append("\n"); diff --git a/samples/client/petstore/java/microprofile-rest-client-3.0-jackson-mutiny/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/microprofile-rest-client-3.0-jackson-mutiny/src/main/java/org/openapitools/client/model/User.java index 9a8a80852d17..73966bce48ee 100644 --- a/samples/client/petstore/java/microprofile-rest-client-3.0-jackson-mutiny/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/microprofile-rest-client-3.0-jackson-mutiny/src/main/java/org/openapitools/client/model/User.java @@ -305,7 +305,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/java/microprofile-rest-client-3.0-jackson-with-xml/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/microprofile-rest-client-3.0-jackson-with-xml/src/main/java/org/openapitools/client/model/User.java index d573cf4c1792..5c69f3c436e3 100644 --- a/samples/client/petstore/java/microprofile-rest-client-3.0-jackson-with-xml/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/microprofile-rest-client-3.0-jackson-with-xml/src/main/java/org/openapitools/client/model/User.java @@ -332,7 +332,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/java/microprofile-rest-client-3.0-jackson/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/microprofile-rest-client-3.0-jackson/src/main/java/org/openapitools/client/model/User.java index 72950a8e4316..5c8833f847dd 100644 --- a/samples/client/petstore/java/microprofile-rest-client-3.0-jackson/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/microprofile-rest-client-3.0-jackson/src/main/java/org/openapitools/client/model/User.java @@ -290,7 +290,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/java/microprofile-rest-client-3.0-mutiny/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/microprofile-rest-client-3.0-mutiny/src/main/java/org/openapitools/client/model/User.java index 085d636b9c13..765cb84afc95 100644 --- a/samples/client/petstore/java/microprofile-rest-client-3.0-mutiny/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/microprofile-rest-client-3.0-mutiny/src/main/java/org/openapitools/client/model/User.java @@ -262,7 +262,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/java/microprofile-rest-client-3.0/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/microprofile-rest-client-3.0/src/main/java/org/openapitools/client/model/User.java index 318cdc4f6fae..2f89381adcf4 100644 --- a/samples/client/petstore/java/microprofile-rest-client-3.0/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/microprofile-rest-client-3.0/src/main/java/org/openapitools/client/model/User.java @@ -259,7 +259,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/java/microprofile-rest-client-mutiny/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/microprofile-rest-client-mutiny/src/main/java/org/openapitools/client/model/User.java index dac59c28c273..6154f5469b47 100644 --- a/samples/client/petstore/java/microprofile-rest-client-mutiny/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/microprofile-rest-client-mutiny/src/main/java/org/openapitools/client/model/User.java @@ -259,7 +259,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/java/microprofile-rest-client-with-useSingleRequestParameter/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/microprofile-rest-client-with-useSingleRequestParameter/src/main/java/org/openapitools/client/model/User.java index 085d636b9c13..765cb84afc95 100644 --- a/samples/client/petstore/java/microprofile-rest-client-with-useSingleRequestParameter/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/microprofile-rest-client-with-useSingleRequestParameter/src/main/java/org/openapitools/client/model/User.java @@ -262,7 +262,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/java/microprofile-rest-client/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/microprofile-rest-client/src/main/java/org/openapitools/client/model/User.java index 2efd9f6bcc8a..f076a5733a16 100644 --- a/samples/client/petstore/java/microprofile-rest-client/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/microprofile-rest-client/src/main/java/org/openapitools/client/model/User.java @@ -256,7 +256,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/java/native-async/api/openapi.yaml b/samples/client/petstore/java/native-async/api/openapi.yaml index 9ecb24b21d31..6aa6a5aebab7 100644 --- a/samples/client/petstore/java/native-async/api/openapi.yaml +++ b/samples/client/petstore/java/native-async/api/openapi.yaml @@ -1399,6 +1399,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/User.java index 0867c08538e8..935c23065b61 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/User.java @@ -463,7 +463,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append(" objectWithNoDeclaredProps: ").append(toIndentedString(objectWithNoDeclaredProps)).append("\n"); diff --git a/samples/client/petstore/java/native-jackson3/api/openapi.yaml b/samples/client/petstore/java/native-jackson3/api/openapi.yaml index 9ecb24b21d31..6aa6a5aebab7 100644 --- a/samples/client/petstore/java/native-jackson3/api/openapi.yaml +++ b/samples/client/petstore/java/native-jackson3/api/openapi.yaml @@ -1399,6 +1399,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/java/native-jackson3/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/native-jackson3/src/main/java/org/openapitools/client/model/User.java index 88d41f6a3911..5274f043c464 100644 --- a/samples/client/petstore/java/native-jackson3/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/native-jackson3/src/main/java/org/openapitools/client/model/User.java @@ -410,7 +410,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append(" objectWithNoDeclaredProps: ").append(toIndentedString(objectWithNoDeclaredProps)).append("\n"); diff --git a/samples/client/petstore/java/native-jakarta/api/openapi.yaml b/samples/client/petstore/java/native-jakarta/api/openapi.yaml index a1efcc2e4d8c..8184f0656589 100644 --- a/samples/client/petstore/java/native-jakarta/api/openapi.yaml +++ b/samples/client/petstore/java/native-jakarta/api/openapi.yaml @@ -738,6 +738,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/model/User.java index 08addc0c2c3d..cfa1cc4d7ee9 100644 --- a/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/model/User.java @@ -307,7 +307,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/java/native/api/openapi.yaml b/samples/client/petstore/java/native/api/openapi.yaml index 9ecb24b21d31..6aa6a5aebab7 100644 --- a/samples/client/petstore/java/native/api/openapi.yaml +++ b/samples/client/petstore/java/native/api/openapi.yaml @@ -1399,6 +1399,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/User.java index 6e162edb7480..3473acda8b7c 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/User.java @@ -447,7 +447,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append(" objectWithNoDeclaredProps: ").append(toIndentedString(objectWithNoDeclaredProps)).append("\n"); diff --git a/samples/client/petstore/java/okhttp-gson-3.1/api/openapi.yaml b/samples/client/petstore/java/okhttp-gson-3.1/api/openapi.yaml index 6160e26ce01d..e50082df3506 100644 --- a/samples/client/petstore/java/okhttp-gson-3.1/api/openapi.yaml +++ b/samples/client/petstore/java/okhttp-gson-3.1/api/openapi.yaml @@ -983,6 +983,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/User.java index 96d74750ccfb..41d829dbdbfa 100644 --- a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/User.java @@ -325,7 +325,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); diff --git a/samples/client/petstore/java/okhttp-gson-awsv4signature/api/openapi.yaml b/samples/client/petstore/java/okhttp-gson-awsv4signature/api/openapi.yaml index a1efcc2e4d8c..8184f0656589 100644 --- a/samples/client/petstore/java/okhttp-gson-awsv4signature/api/openapi.yaml +++ b/samples/client/petstore/java/okhttp-gson-awsv4signature/api/openapi.yaml @@ -738,6 +738,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/model/User.java index 96d74750ccfb..41d829dbdbfa 100644 --- a/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/model/User.java @@ -325,7 +325,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/User.java index f5708f05d8a2..8b314d44a7df 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/User.java @@ -280,7 +280,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/resources/openapi/openapi.yaml b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/resources/openapi/openapi.yaml index 426145d1685a..0b0987304ad1 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/resources/openapi/openapi.yaml +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/resources/openapi/openapi.yaml @@ -1268,6 +1268,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/java/okhttp-gson-group-parameter/api/openapi.yaml b/samples/client/petstore/java/okhttp-gson-group-parameter/api/openapi.yaml index 80c98f47cea9..8a9f94ace861 100644 --- a/samples/client/petstore/java/okhttp-gson-group-parameter/api/openapi.yaml +++ b/samples/client/petstore/java/okhttp-gson-group-parameter/api/openapi.yaml @@ -387,6 +387,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/model/User.java index 96d74750ccfb..41d829dbdbfa 100644 --- a/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/model/User.java @@ -325,7 +325,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); diff --git a/samples/client/petstore/java/okhttp-gson-nullable-required/api/openapi.yaml b/samples/client/petstore/java/okhttp-gson-nullable-required/api/openapi.yaml index d6e3b97cf3b8..394f625782ca 100644 --- a/samples/client/petstore/java/okhttp-gson-nullable-required/api/openapi.yaml +++ b/samples/client/petstore/java/okhttp-gson-nullable-required/api/openapi.yaml @@ -714,6 +714,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/model/User.java index 96d74750ccfb..41d829dbdbfa 100644 --- a/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/model/User.java @@ -325,7 +325,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/api/openapi.yaml b/samples/client/petstore/java/okhttp-gson-parcelableModel/api/openapi.yaml index 426145d1685a..0b0987304ad1 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/api/openapi.yaml +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/api/openapi.yaml @@ -1268,6 +1268,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/User.java index 1155454eece8..6618894975e4 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/User.java @@ -282,7 +282,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/java/okhttp-gson-swagger1/api/openapi.yaml b/samples/client/petstore/java/okhttp-gson-swagger1/api/openapi.yaml index d45ad9329428..51833f47de3b 100644 --- a/samples/client/petstore/java/okhttp-gson-swagger1/api/openapi.yaml +++ b/samples/client/petstore/java/okhttp-gson-swagger1/api/openapi.yaml @@ -738,6 +738,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/model/User.java index 52a7f227cd0e..296c7197a098 100644 --- a/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/model/User.java @@ -336,7 +336,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); diff --git a/samples/client/petstore/java/okhttp-gson-swagger2/api/openapi.yaml b/samples/client/petstore/java/okhttp-gson-swagger2/api/openapi.yaml index a1efcc2e4d8c..8184f0656589 100644 --- a/samples/client/petstore/java/okhttp-gson-swagger2/api/openapi.yaml +++ b/samples/client/petstore/java/okhttp-gson-swagger2/api/openapi.yaml @@ -738,6 +738,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/model/User.java index e21ebadb45cc..fff329bc9872 100644 --- a/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/model/User.java @@ -335,7 +335,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); diff --git a/samples/client/petstore/java/okhttp-gson/api/openapi.yaml b/samples/client/petstore/java/okhttp-gson/api/openapi.yaml index 55552d3bd480..7beca4c3dc90 100644 --- a/samples/client/petstore/java/okhttp-gson/api/openapi.yaml +++ b/samples/client/petstore/java/okhttp-gson/api/openapi.yaml @@ -1670,6 +1670,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/User.java index 35f8da08a87f..1f8ac1f13128 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/User.java @@ -437,7 +437,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append(" objectWithNoDeclaredProps: ").append(toIndentedString(objectWithNoDeclaredProps)).append("\n"); diff --git a/samples/client/petstore/java/rest-assured-jackson/api/openapi.yaml b/samples/client/petstore/java/rest-assured-jackson/api/openapi.yaml index 426145d1685a..0b0987304ad1 100644 --- a/samples/client/petstore/java/rest-assured-jackson/api/openapi.yaml +++ b/samples/client/petstore/java/rest-assured-jackson/api/openapi.yaml @@ -1268,6 +1268,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/User.java index 4077b103d8da..baca059cc0a1 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/User.java @@ -318,7 +318,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/java/rest-assured/api/openapi.yaml b/samples/client/petstore/java/rest-assured/api/openapi.yaml index 426145d1685a..0b0987304ad1 100644 --- a/samples/client/petstore/java/rest-assured/api/openapi.yaml +++ b/samples/client/petstore/java/rest-assured/api/openapi.yaml @@ -1268,6 +1268,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/User.java index df76338428b0..e1cd18934041 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/User.java @@ -283,7 +283,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/java/restclient-swagger2/api/openapi.yaml b/samples/client/petstore/java/restclient-swagger2/api/openapi.yaml index 9a74972a7401..fafd8a0c6db1 100644 --- a/samples/client/petstore/java/restclient-swagger2/api/openapi.yaml +++ b/samples/client/petstore/java/restclient-swagger2/api/openapi.yaml @@ -532,6 +532,7 @@ paths: name: password required: true schema: + format: password type: string style: form responses: @@ -1508,6 +1509,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/User.java index 7204df6d0eb1..e3f6437d9f0b 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/User.java @@ -317,7 +317,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/api/openapi.yaml b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/api/openapi.yaml index 9a74972a7401..fafd8a0c6db1 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/api/openapi.yaml +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/api/openapi.yaml @@ -532,6 +532,7 @@ paths: name: password required: true schema: + format: password type: string style: form responses: @@ -1508,6 +1509,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/User.java index 5f75bb386801..689166fecf33 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/User.java @@ -308,7 +308,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/api/openapi.yaml b/samples/client/petstore/java/restclient-useSingleRequestParameter/api/openapi.yaml index 9a74972a7401..fafd8a0c6db1 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/api/openapi.yaml +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/api/openapi.yaml @@ -532,6 +532,7 @@ paths: name: password required: true schema: + format: password type: string style: form responses: @@ -1508,6 +1509,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/User.java index 5f75bb386801..689166fecf33 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/User.java @@ -308,7 +308,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/java/restclient/api/openapi.yaml b/samples/client/petstore/java/restclient/api/openapi.yaml index 9a74972a7401..fafd8a0c6db1 100644 --- a/samples/client/petstore/java/restclient/api/openapi.yaml +++ b/samples/client/petstore/java/restclient/api/openapi.yaml @@ -532,6 +532,7 @@ paths: name: password required: true schema: + format: password type: string style: form responses: @@ -1508,6 +1509,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/User.java index 5f75bb386801..689166fecf33 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/User.java @@ -308,7 +308,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/java/resteasy/api/openapi.yaml b/samples/client/petstore/java/resteasy/api/openapi.yaml index 9a74972a7401..fafd8a0c6db1 100644 --- a/samples/client/petstore/java/resteasy/api/openapi.yaml +++ b/samples/client/petstore/java/resteasy/api/openapi.yaml @@ -532,6 +532,7 @@ paths: name: password required: true schema: + format: password type: string style: form responses: @@ -1508,6 +1509,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/User.java index a612731ef7de..e666be0ca850 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/User.java @@ -307,7 +307,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/java/resttemplate-jakarta/api/openapi.yaml b/samples/client/petstore/java/resttemplate-jakarta/api/openapi.yaml index a1efcc2e4d8c..8184f0656589 100644 --- a/samples/client/petstore/java/resttemplate-jakarta/api/openapi.yaml +++ b/samples/client/petstore/java/resttemplate-jakarta/api/openapi.yaml @@ -738,6 +738,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/model/User.java index 8b023d029023..60c42f1d43ab 100644 --- a/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/model/User.java @@ -322,7 +322,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/java/resttemplate-swagger1/api/openapi.yaml b/samples/client/petstore/java/resttemplate-swagger1/api/openapi.yaml index a1efcc2e4d8c..8184f0656589 100644 --- a/samples/client/petstore/java/resttemplate-swagger1/api/openapi.yaml +++ b/samples/client/petstore/java/resttemplate-swagger1/api/openapi.yaml @@ -738,6 +738,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/model/User.java index 4e4054bcece0..c9587fe3a6e6 100644 --- a/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/model/User.java @@ -319,7 +319,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/java/resttemplate-swagger2/api/openapi.yaml b/samples/client/petstore/java/resttemplate-swagger2/api/openapi.yaml index a1efcc2e4d8c..8184f0656589 100644 --- a/samples/client/petstore/java/resttemplate-swagger2/api/openapi.yaml +++ b/samples/client/petstore/java/resttemplate-swagger2/api/openapi.yaml @@ -738,6 +738,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/model/User.java index 4c3e5f3c277c..b37ef7c0e6c9 100644 --- a/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/model/User.java @@ -318,7 +318,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/java/resttemplate-withXml/api/openapi.yaml b/samples/client/petstore/java/resttemplate-withXml/api/openapi.yaml index 9a74972a7401..fafd8a0c6db1 100644 --- a/samples/client/petstore/java/resttemplate-withXml/api/openapi.yaml +++ b/samples/client/petstore/java/resttemplate-withXml/api/openapi.yaml @@ -532,6 +532,7 @@ paths: name: password required: true schema: + format: password type: string style: form responses: @@ -1508,6 +1509,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/User.java index a1706f713b52..c18dd8dd9903 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/User.java @@ -339,7 +339,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/java/resttemplate/api/openapi.yaml b/samples/client/petstore/java/resttemplate/api/openapi.yaml index 9a74972a7401..fafd8a0c6db1 100644 --- a/samples/client/petstore/java/resttemplate/api/openapi.yaml +++ b/samples/client/petstore/java/resttemplate/api/openapi.yaml @@ -532,6 +532,7 @@ paths: name: password required: true schema: + format: password type: string style: form responses: @@ -1508,6 +1509,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/User.java index 962b5fd5bd30..28c8bb3258fb 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/User.java @@ -322,7 +322,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/java/retrofit2-play26/api/openapi.yaml b/samples/client/petstore/java/retrofit2-play26/api/openapi.yaml index 426145d1685a..0b0987304ad1 100644 --- a/samples/client/petstore/java/retrofit2-play26/api/openapi.yaml +++ b/samples/client/petstore/java/retrofit2-play26/api/openapi.yaml @@ -1268,6 +1268,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/User.java index efa61c4a5819..530e58bdd370 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/User.java @@ -317,7 +317,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/java/retrofit2/api/openapi.yaml b/samples/client/petstore/java/retrofit2/api/openapi.yaml index 426145d1685a..0b0987304ad1 100644 --- a/samples/client/petstore/java/retrofit2/api/openapi.yaml +++ b/samples/client/petstore/java/retrofit2/api/openapi.yaml @@ -1268,6 +1268,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/User.java index c06cad452995..7e2e513aede2 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/User.java @@ -272,7 +272,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/java/retrofit2rx2/api/openapi.yaml b/samples/client/petstore/java/retrofit2rx2/api/openapi.yaml index 426145d1685a..0b0987304ad1 100644 --- a/samples/client/petstore/java/retrofit2rx2/api/openapi.yaml +++ b/samples/client/petstore/java/retrofit2rx2/api/openapi.yaml @@ -1268,6 +1268,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/User.java index c06cad452995..7e2e513aede2 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/User.java @@ -272,7 +272,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/java/retrofit2rx3/api/openapi.yaml b/samples/client/petstore/java/retrofit2rx3/api/openapi.yaml index 426145d1685a..0b0987304ad1 100644 --- a/samples/client/petstore/java/retrofit2rx3/api/openapi.yaml +++ b/samples/client/petstore/java/retrofit2rx3/api/openapi.yaml @@ -1268,6 +1268,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/User.java index c06cad452995..7e2e513aede2 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/User.java @@ -272,7 +272,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/java/vertx-no-nullable/api/openapi.yaml b/samples/client/petstore/java/vertx-no-nullable/api/openapi.yaml index 426145d1685a..0b0987304ad1 100644 --- a/samples/client/petstore/java/vertx-no-nullable/api/openapi.yaml +++ b/samples/client/petstore/java/vertx-no-nullable/api/openapi.yaml @@ -1268,6 +1268,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/User.java index a612731ef7de..e666be0ca850 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/User.java @@ -307,7 +307,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/java/vertx-supportVertxFuture/api/openapi.yaml b/samples/client/petstore/java/vertx-supportVertxFuture/api/openapi.yaml index 9a74972a7401..fafd8a0c6db1 100644 --- a/samples/client/petstore/java/vertx-supportVertxFuture/api/openapi.yaml +++ b/samples/client/petstore/java/vertx-supportVertxFuture/api/openapi.yaml @@ -532,6 +532,7 @@ paths: name: password required: true schema: + format: password type: string style: form responses: @@ -1508,6 +1509,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/java/vertx-supportVertxFuture/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/vertx-supportVertxFuture/src/main/java/org/openapitools/client/model/User.java index a612731ef7de..e666be0ca850 100644 --- a/samples/client/petstore/java/vertx-supportVertxFuture/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/vertx-supportVertxFuture/src/main/java/org/openapitools/client/model/User.java @@ -307,7 +307,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/java/vertx/api/openapi.yaml b/samples/client/petstore/java/vertx/api/openapi.yaml index 9a74972a7401..fafd8a0c6db1 100644 --- a/samples/client/petstore/java/vertx/api/openapi.yaml +++ b/samples/client/petstore/java/vertx/api/openapi.yaml @@ -532,6 +532,7 @@ paths: name: password required: true schema: + format: password type: string style: form responses: @@ -1508,6 +1509,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/User.java index a612731ef7de..e666be0ca850 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/User.java @@ -307,7 +307,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/java/vertx5-supportVertxFuture/api/openapi.yaml b/samples/client/petstore/java/vertx5-supportVertxFuture/api/openapi.yaml index 9a74972a7401..fafd8a0c6db1 100644 --- a/samples/client/petstore/java/vertx5-supportVertxFuture/api/openapi.yaml +++ b/samples/client/petstore/java/vertx5-supportVertxFuture/api/openapi.yaml @@ -532,6 +532,7 @@ paths: name: password required: true schema: + format: password type: string style: form responses: @@ -1508,6 +1509,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/java/vertx5-supportVertxFuture/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/vertx5-supportVertxFuture/src/main/java/org/openapitools/client/model/User.java index a612731ef7de..e666be0ca850 100644 --- a/samples/client/petstore/java/vertx5-supportVertxFuture/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/vertx5-supportVertxFuture/src/main/java/org/openapitools/client/model/User.java @@ -307,7 +307,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/java/vertx5/api/openapi.yaml b/samples/client/petstore/java/vertx5/api/openapi.yaml index 9a74972a7401..fafd8a0c6db1 100644 --- a/samples/client/petstore/java/vertx5/api/openapi.yaml +++ b/samples/client/petstore/java/vertx5/api/openapi.yaml @@ -532,6 +532,7 @@ paths: name: password required: true schema: + format: password type: string style: form responses: @@ -1508,6 +1509,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/java/vertx5/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/vertx5/src/main/java/org/openapitools/client/model/User.java index a612731ef7de..e666be0ca850 100644 --- a/samples/client/petstore/java/vertx5/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/vertx5/src/main/java/org/openapitools/client/model/User.java @@ -307,7 +307,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/java/webclient-jakarta/api/openapi.yaml b/samples/client/petstore/java/webclient-jakarta/api/openapi.yaml index 9a74972a7401..fafd8a0c6db1 100644 --- a/samples/client/petstore/java/webclient-jakarta/api/openapi.yaml +++ b/samples/client/petstore/java/webclient-jakarta/api/openapi.yaml @@ -532,6 +532,7 @@ paths: name: password required: true schema: + format: password type: string style: form responses: @@ -1508,6 +1509,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/User.java index caf6daf46442..5487d2644703 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/User.java @@ -307,7 +307,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/java/webclient-swagger2/api/openapi.yaml b/samples/client/petstore/java/webclient-swagger2/api/openapi.yaml index 9a74972a7401..fafd8a0c6db1 100644 --- a/samples/client/petstore/java/webclient-swagger2/api/openapi.yaml +++ b/samples/client/petstore/java/webclient-swagger2/api/openapi.yaml @@ -532,6 +532,7 @@ paths: name: password required: true schema: + format: password type: string style: form responses: @@ -1508,6 +1509,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/User.java index a474c46dceb4..c60935b65f92 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/User.java @@ -316,7 +316,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/java/webclient-useSingleRequestParameter/api/openapi.yaml b/samples/client/petstore/java/webclient-useSingleRequestParameter/api/openapi.yaml index 9a74972a7401..fafd8a0c6db1 100644 --- a/samples/client/petstore/java/webclient-useSingleRequestParameter/api/openapi.yaml +++ b/samples/client/petstore/java/webclient-useSingleRequestParameter/api/openapi.yaml @@ -532,6 +532,7 @@ paths: name: password required: true schema: + format: password type: string style: form responses: @@ -1508,6 +1509,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/User.java index a612731ef7de..e666be0ca850 100644 --- a/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/User.java @@ -307,7 +307,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/java/webclient/api/openapi.yaml b/samples/client/petstore/java/webclient/api/openapi.yaml index 9a74972a7401..fafd8a0c6db1 100644 --- a/samples/client/petstore/java/webclient/api/openapi.yaml +++ b/samples/client/petstore/java/webclient/api/openapi.yaml @@ -532,6 +532,7 @@ paths: name: password required: true schema: + format: password type: string style: form responses: @@ -1508,6 +1509,7 @@ components: email: type: string password: + format: password type: string phone: type: string diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/User.java index a612731ef7de..e666be0ca850 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/User.java @@ -307,7 +307,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/jaxrs-cxf-client-jackson/src/gen/java/org/openapitools/model/User.java b/samples/client/petstore/jaxrs-cxf-client-jackson/src/gen/java/org/openapitools/model/User.java index c8be0e76b14f..eced87004fec 100644 --- a/samples/client/petstore/jaxrs-cxf-client-jackson/src/gen/java/org/openapitools/model/User.java +++ b/samples/client/petstore/jaxrs-cxf-client-jackson/src/gen/java/org/openapitools/model/User.java @@ -225,7 +225,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/jaxrs-cxf-client-swagger2/src/gen/java/org/openapitools/model/User.java b/samples/client/petstore/jaxrs-cxf-client-swagger2/src/gen/java/org/openapitools/model/User.java index 95a669ce1bdc..b1b2738bb40b 100644 --- a/samples/client/petstore/jaxrs-cxf-client-swagger2/src/gen/java/org/openapitools/model/User.java +++ b/samples/client/petstore/jaxrs-cxf-client-swagger2/src/gen/java/org/openapitools/model/User.java @@ -224,7 +224,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/jaxrs-cxf-client/src/gen/java/org/openapitools/model/User.java b/samples/client/petstore/jaxrs-cxf-client/src/gen/java/org/openapitools/model/User.java index c8be0e76b14f..eced87004fec 100644 --- a/samples/client/petstore/jaxrs-cxf-client/src/gen/java/org/openapitools/model/User.java +++ b/samples/client/petstore/jaxrs-cxf-client/src/gen/java/org/openapitools/model/User.java @@ -225,7 +225,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/julia/src/models/model_User.jl b/samples/client/petstore/julia/src/models/model_User.jl index 8e95c9ac67b9..e3ef1b158495 100644 --- a/samples/client/petstore/julia/src/models/model_User.jl +++ b/samples/client/petstore/julia/src/models/model_User.jl @@ -70,6 +70,9 @@ function OpenAPI.validate_property(::Type{ User }, name::Symbol, val) + if name === Symbol("password") + OpenAPI.validate_param(name, "User", :format, val, "password") + end if name === Symbol("userStatus") diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/User.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/User.php index 33f1d457b4ed..a6e47736d714 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/User.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/User.php @@ -79,7 +79,7 @@ class User implements ModelInterface, ArrayAccess, JsonSerializable 'first_name' => null, 'last_name' => null, 'email' => null, - 'password' => null, + 'password' => 'password', 'phone' => null, 'user_status' => 'int32' ]; diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/User.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/User.php index 2876236de80a..47ccd8e09122 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/User.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/User.php @@ -80,7 +80,7 @@ class User implements ModelInterface, ArrayAccess, \JsonSerializable 'first_name' => null, 'last_name' => null, 'email' => null, - 'password' => null, + 'password' => 'password', 'phone' => null, 'user_status' => 'int32' ]; diff --git a/samples/client/petstore/php/psr-18/lib/Model/User.php b/samples/client/petstore/php/psr-18/lib/Model/User.php index 2876236de80a..47ccd8e09122 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/User.php +++ b/samples/client/petstore/php/psr-18/lib/Model/User.php @@ -80,7 +80,7 @@ class User implements ModelInterface, ArrayAccess, \JsonSerializable 'first_name' => null, 'last_name' => null, 'email' => null, - 'password' => null, + 'password' => 'password', 'phone' => null, 'user_status' => 'int32' ]; diff --git a/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/model/User.java b/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/model/User.java index 78967253b256..6641e6ce1d0b 100644 --- a/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/model/User.java +++ b/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/model/User.java @@ -249,7 +249,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/model/User.java b/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/model/User.java index 78967253b256..6641e6ce1d0b 100644 --- a/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/model/User.java +++ b/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/model/User.java @@ -249,7 +249,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/model/User.java b/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/model/User.java index 78967253b256..6641e6ce1d0b 100644 --- a/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/model/User.java +++ b/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/model/User.java @@ -249,7 +249,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/model/User.java b/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/model/User.java index 78967253b256..6641e6ce1d0b 100644 --- a/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/model/User.java +++ b/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/model/User.java @@ -249,7 +249,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/spring-http-interface-bean-validation/src/main/java/org/openapitools/model/UserDto.java b/samples/client/petstore/spring-http-interface-bean-validation/src/main/java/org/openapitools/model/UserDto.java index 950cc4e6511b..f98fd010b26a 100644 --- a/samples/client/petstore/spring-http-interface-bean-validation/src/main/java/org/openapitools/model/UserDto.java +++ b/samples/client/petstore/spring-http-interface-bean-validation/src/main/java/org/openapitools/model/UserDto.java @@ -241,7 +241,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/UserDto.java b/samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/UserDto.java index 748b55ef1372..deb9e6c85372 100644 --- a/samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/UserDto.java +++ b/samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/UserDto.java @@ -231,7 +231,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/spring-http-interface-reactive-bean-validation/src/main/java/org/openapitools/model/User.java b/samples/client/petstore/spring-http-interface-reactive-bean-validation/src/main/java/org/openapitools/model/User.java index 2a27dfacceb4..99f212772746 100644 --- a/samples/client/petstore/spring-http-interface-reactive-bean-validation/src/main/java/org/openapitools/model/User.java +++ b/samples/client/petstore/spring-http-interface-reactive-bean-validation/src/main/java/org/openapitools/model/User.java @@ -239,7 +239,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/spring-http-interface-reactive-noResponseEntity/src/main/java/org/openapitools/model/User.java b/samples/client/petstore/spring-http-interface-reactive-noResponseEntity/src/main/java/org/openapitools/model/User.java index 03d37a69f6e0..5b5617eea309 100644 --- a/samples/client/petstore/spring-http-interface-reactive-noResponseEntity/src/main/java/org/openapitools/model/User.java +++ b/samples/client/petstore/spring-http-interface-reactive-noResponseEntity/src/main/java/org/openapitools/model/User.java @@ -229,7 +229,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/User.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/User.java index 03d37a69f6e0..5b5617eea309 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/User.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/User.java @@ -229,7 +229,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/spring-http-interface-springboot-4/src/main/java/org/openapitools/model/UserDto.java b/samples/client/petstore/spring-http-interface-springboot-4/src/main/java/org/openapitools/model/UserDto.java index 67835f373a9f..cf66c4002ef3 100644 --- a/samples/client/petstore/spring-http-interface-springboot-4/src/main/java/org/openapitools/model/UserDto.java +++ b/samples/client/petstore/spring-http-interface-springboot-4/src/main/java/org/openapitools/model/UserDto.java @@ -251,7 +251,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/spring-http-interface-useHttpServiceProxyFactoryInterfacesConfigurator/src/main/java/org/openapitools/model/User.java b/samples/client/petstore/spring-http-interface-useHttpServiceProxyFactoryInterfacesConfigurator/src/main/java/org/openapitools/model/User.java index fff148eb5846..ea25c618c278 100644 --- a/samples/client/petstore/spring-http-interface-useHttpServiceProxyFactoryInterfacesConfigurator/src/main/java/org/openapitools/model/User.java +++ b/samples/client/petstore/spring-http-interface-useHttpServiceProxyFactoryInterfacesConfigurator/src/main/java/org/openapitools/model/User.java @@ -240,7 +240,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/UserDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/UserDto.java index 748b55ef1372..deb9e6c85372 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/UserDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/UserDto.java @@ -231,7 +231,7 @@ public String toString() { sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" password: ").append("*").append("\n"); sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append("}"); diff --git a/samples/documentation/html/index.html b/samples/documentation/html/index.html index d2cf9d683377..88dff6c5fd43 100644 --- a/samples/documentation/html/index.html +++ b/samples/documentation/html/index.html @@ -1234,7 +1234,7 @@
User - a User firstName (optional)