This repository was archived by the owner on Dec 25, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 14
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
spacether
added a commit
that referenced
this pull request
Jan 2, 2023
* from_openapi_data_oapg -> from_openapi_data_ * _verify_typed_dict_inputs_oapg -> _verify_typed_dict_inputs * _get_host_oapg -> _get_host * _{{operationId}}_oapg -> _{{operationId}} * _raise_validation_error_message_oapg -> _raise_validation_error_message * is_true_oapg -> is_true_ * is_false_oapg -> is_false_ * is_none_oapg -> is_none_ * as_date_oapg -> as_date_ * as_datetime_oapg -> as_datetime_ * as_decimal_oapg -> as_decimal_ * as_uuid_oapg -> as_uuid_ * as_float_oapg -> as_float_ * as_int_oapg -> as_int_ * _get_class_oapg -> _get_class * get_item_oapg -> get_item_ * _validate_oapg -> _validate * _process_schema_classes_oapg -> _process_schema_classes * _get_new_instance_without_conversion_oapg -> _get_new_instance_without_conversion * as_str_oapg -> as_str_ * _get_items_oapg -> _get_items * _get_properties_oapg -> _get_properties * Samples regenerated * Readme update * MetaOapg -> Schema_ * _configuration -> configuration_ * _arg -> arg_ * _args -> args_ * JsonSchema -> OpenApiSchema, OpenapiComponent -> OpenApiComponent
spacether
added a commit
that referenced
this pull request
Apr 11, 2023
* v2 version updated * v2 Restructures endpoint parameter, body + response information (#57) * Restructures endpoint data, modules written for responses * Endpoint docs improved, not done yet * Updates header_params * Updates path_parameters * Updates cookie_params, updates x_params to say key + input type * Samples updated * Fixes DefaultCodegenTests * v2 Adds request body module (#58) * Java and template updates for separate request body module * Samples updated * Samples regenerated * v2 adds parameter, response, response header modules (#59) * Adds parameter template and code to write it * Writes module for each parameter * Removes prependFormOrBodyParameters * Sample regenrated * Samples regenerated * Fixes readme example * simplifies setting items and additional_properties var names * Regenerates sample with fixed schema names * Samples regenerated * Fixes java docstirng typo * Fixes JavaModelTest tests * Fixes tests in JavaModelEnumTest * FIxes tests in JavaClientCodegenTest * FIxes tests in DefaultGeneratorTest * FIxes tests in DefaultCodegenTest * Adds HeaderParameterWithoutName to api_client * Sample regenerated, responses are now modules * Moves request body schemas to the root indentation level of the response modules * Adds code to generate response header modules * Updates fromParameter * Sample updated, fixed bug where form param was not seen as body * Samples regenerated * Fixes java tests * v2 Moves models into components.schema package (#60) * python client modelPackage updated * Fixes links in model_doc template * Samples updated and python client path methods updated * Models sucessfully moved into components/schema in one sample * Replaces model import with components.schema * Fixes readme imports * Fixes model doc links from endpoint docs * Samples regenerated * Fixes manual test model imports * Samples regenerated, added init for test components * Removes model models folders * Removes lingering AbstractStep files, fixes its test * Removes lingering bad model test * CHanges complexType to refClass (#62) * v2 includes module name in ref class (#63) * Uses new fromProperty, passes sourceJsonPath * Samples regenerated * Adds toRefClass for python, updates toModelDocFilename for python * Petstore regenerated, component doc filenames updated * Self references updated * Fixes readme links to models * Fixes model doc links for self references * Adds two self referenicng models * Updates toModelImport to use refClass * Updates discriminator and example code to handle complexType values in map * Adds import generation back in * Makes java variable * Petstore regen, fixes contains check for period * Uses complexClass in endpoint docs for inputs * Fixes tests in PythonClinteTest * FIxes more java tests * Fixes $refs in ObjectModelWithRefProps * Removes broken java defaultCodegen test * Adds TestSelfReferencingObjectModel * Adds TestSelfReferencingArrayModel * Fixes some java tests * Fixes remaining java tests * Samples regenerated * v2 [core] changes interface name to JsonSchema, removes CodegenParameter and CodegenResponse as implementors (#65) * Changes IJsonSchemaValidationProperties to JsonSchema because that is the interface that it represents Updates CodegenParameter, removes JsonSchema info Further updates to fromParameter call sites * Removes JsonSchema from CodegenParameter and fixes usages * Samples regenerated * Removes JosnSchema from CodegenResponse * Adds isDefault back to CodegenResponse * Fixes DefaultCodegen * Fixes testRefModelValidationProperties * Fixes 2 tests in JavaModelTest * Removes n/a test from JavaClientCodegenTest * Fixes remianing tests in DefaultCodegenTest * Removes dateDefaultValueIsIsoDateTime * v2 ensure that cls.MetaOapg will always exist, type check improvement (#84) * Updates templates so MetaOapg will always be present * Samples regenerated * Fixes two tests * Adds type info to MetaOapg, fixes test * Adds types info to all classes * Uses cls.MetaOapg.types for type checking * Fixes 10 tests in TestAnyTypeSchema * Fixes 5 remaining tests * Removes _types * Samples regenerated * Fixes java test * Fixes test_pet * v2 change enums to literals (#85) * Templates updated, path enum converted to typeddict * Sample regenerated * Template update * Sample updated * Samples regenerated * v2 adds generics, OpenApiResponse + ApiException updates (#86) * Adds generics for mypy * Adds generic to exception * Removes api_response from ApiException * Fixes tests * Samples regenerated * Fixes exceptions.ApiException reason, body, and headers * Adds refModule (#88) * v2 generate component request body modules (#89) * Stores refModule in request bodies Adds request_bodies generation in java Response body files generated Moves imports for request body and form params into the model instance fromParameter update Consolidates fromParameter imports Fixes parameter imports Samples updated Sample regen _request_body changed to suffix * Samples regenerated * Adds imports from request_bodies * Fixes request bodies and broken tests * Adds broken code to generate request body docs * Adds templates and code to generate request body docs * Fixes complexTypePrefix * Relative links updated in request_bodies * Updates request body title headers * Endpoint docs updated * Fixes links to request body doc * Fixes input signatures in java tests * Fixes some java tests * Fixes java test * Fixes test * Fixes java tests * FIxes 2 java tests * sample regen * v2 individual endpoint docs (#96) * Moves path generation out of the python client into default layers * Fixes java call sites * petstore regenerated * Removes paths with old names * Removes old autogen tests * Fixes deprecated method usage, removes unused imports * Samples regenerated * templates renamed * Adds pathEndpointTemplateFiles and uses it * Adds general code to generate path request bodies and parameters * Adds pathEndpointResponseTemplateFiles + pathEndpointResponseHeaderTemplateFiles * Further refactoring, adds pathEndpointTestTemplateFiles * Finishes generateEndpoints refactor * Petstore sample regenerated * Adds java code to generate endpoint docs * petstore regenerated, per endpoint docs exist * api docs updated * FIxes link to endpoint files * Moves endpoind docs into the tags folder * Creates and uses CodegenTag to store api module and classname info * Endpoint docs generated in correct location, tag and tags used in templates * Removes operationId prefix from endpoint_doc anchors in template * Petstore regen * Fixes anchor links, adds anchorContainsPeriod=true * Updates links in endpoiint files * Endpoint doc links updated * Fixes API link * Fixes api_doc links * Fixes host and exception info in endpoint docs * Updates readme endpoints * Adds request bodies * Samples regenerated * Fixes docs dor request bodies, omitted when not present * Fixes java tsts * v2 generates components.responses (#97) * Fixes java tests * Adds code to generate response modules * Adds response component * Refactor, eliminates response code, unused java props and methods removed * Fixes java ref to vars that are gone, creates template * Regen sample, fixes endpoint method type hints * Endpoint doc template update * Template typo fix * Uses integers for status codes and wildcard keys, sample regen * Sample regen * Adds printing of response back in * nulls response maps initially * Fixes response body type hints in docs * Fixes endpoint docs * Fixes response code reference in endpoint docs * Fixes endpoint test http code, fixes some java tests * Adds component responses to readme * Removes unused java code * Uses refed responses if they exist * Removes generation of responses when they are referenced * deletes paths and regens it * Template and java update * Samples regenerated with doc links to component responses * Samples regen to include component links * Fixes link to component response * Adds geenration component response inline headers * Sammple updated to include component response with refed content schema * Sample regen and test template tweaked * Fixes component response anchors for headers and body * Fixes schema links in component response * Fixes imports for CodegenResponse * Adds response with inline content and header definition * Sample regenerated * Readme links updated * Simplifies doc link generation * Fixes links * Fixes module structure of component responses, adds init file * Samples regenerated * Fixes tests in DefaultCodegenTest * Fixes java tests in JavaModelTest * Disables failing test * Fixes schema links in requestbody docs * Samples regenerated * Regen samples with better endpoint test spacing * v2 consolidates validation (#98) * Validators made for all but 7 keywords * Adds validate_required * Fixes validator values and comparisons * Adds validate_items * Adds validate_properties * Adds validate_additional_properties * Updates schemas template file * Adds JsonSchemaValidator as a base class to all MetaOapg * More typo and bugfixes * Embeds oneOf anyOf and allOf classes in subclesses like properties does * Sample regenerated with composition class wrapper fix * Fixes some validate tests * Adds validate_one_of * Adds anyOf validation * Adds validate_all_of * Fixes validate_additional_properties * Speeds up Configuration property access * Removes from_server info from ValidationMetadata * Ensures that configuration is present in ValidationMetadata * Fixes disabled_json_schema_keywords, updates configuration * Fixes configuration test * Fixes tests in test_any_type_schema * Adds validate_not * Fixes BinarySchema one_of definition * Fixes int checking with no format * Adds path_to_type dict * Mfgs classes for unvalidated paths * Fixes generation of bool and none classes on unvalidated paths * Fixes more tests * Fixes test_dict_validate * Removes unest type checking * Adds validate_discriminator * Sample regen * Fixes 3 tests * Adds self handling for oneOf/anyOf/allOf validation, fixes last test * Samples regenerated * Fixes integer validation * Removes Discriminable * Removes ComposedBase + BinaryBase * Removes Int32Base/Int64Base/Float32Base/Float64Base * Adds int format for integers * Removes EnumBase * Replaces ComposedSchema with AnyTypeSchema, fixes two tests * Fixes two tests, handles AnyType + InheritorOfAnyType + XSchema use case * Adds template changes that allow nonCompliantUseDiscriminatorIfCompositionFails to work * Sample regen * Fixes test for nonCompliantUseDiscriminatorIfCompositionFails feature sample * Samples regenerated * Samples regenerate with UnsetAnyTypeSchema exclusion in cast_to_allowed.. * v2 generate component headers (#100) * Adds CodegenHeader * Updates fromParameter * Moves setContent into fromParameter, simplifies fromParameter * Refactors fromParameter property assignment into helper method * Adds missing methods to generate header components * Updates param and header code to set correct style, updated header template param name * Adds OpenapiComponent interface * Fixes request body component docs to use modulePath * Uses modulePath in response docs * Has model docs use modulePath * Improves fromHeader usage * Fixes iterating over response headers * Refactors CodegenParameter toString, fixes header style * Regenerate sample, refed headers should not be generated inline * Adds refed headers in path response header and component response header * Adds imports for refed headers * Adds java code to generate header docs, CodegenResponse.responseHeaders renamed to headers * CodegenOperation.bodyParam changed to requestBody * Samples regenerated * Header doc files generated * Fixes link to component headers * Removes header details when there is a ref link * Fixes refed header links * Corrects header doc link * Fixes response component link to header in docs * Samples regenerated * Adds Int32JsonContentTypeHeader * Fixes one doc link to the new header * Fixes last remaining doc link to the header doc * Samples regenerated * Fixes Java tests * v2 generate component parameters (#101) * Adds code to generate component parameters * Generates first parameter component * Correctly sets refModule and modulePath * Regens samples * Do not generate parameter py files whn there is a ref * Removes form params and unneeded helper methods * Fixes java tests * Fixes parameter imports in endpoint definition * Adds link to component parameter schema in docs * Adds parameter content schema rendering in docs * Adds 2 new parameter components * Fixes header doc links to schemas * Adsusts refs * Samples regenerated * v2 codegenProperty cleanup (#102) * Adds allOf anyOf oneOf not to codegenProp + Model * Replaces all template usage of composedSchemas with allOf/anyOf/oneOf * Removes CodegenComposedSchemas * Removes usage of getComposedSchemas * Removes getter and setter * Removes more unused methods * Removes dataFormat + datatypeWithEnum * Removes dataTupe template usage * Removes dataType * Removes isModel * Removes isPrimitiveType * Further isPrimitiveType removal * Removes defaultValueWithParam * Removes containerType * Removes jsonSchema * Removes min + max * Removes hasMoreNonReadOnly * Removes isContainer * Removes isFreeFormObject * Removes isInnerEnum * Removes mostInnerItems * Removes isInherited * Removes enumName * Removes additionalPropertiesIsAnyType * Adds spec version comment in JsonSchema.java * Exports python code to defaultCodegen * Removes uniqueItemsBoolean * Removes updatePropertyForArray * Renames getRequiredVarsMap to getRequiredProperties * Adds properties + optionalProperties * Switches some vars to properties * Uses LinkedHashMap for property maps to preserve insertion order, uses optionalProperties in schema_doc.handlebars * Removes hasVars * Removes hasRequired * Uses more properties and optionalProperties * Partial update using new data sources * getitem type hint tweaks * Improves type hints * Fixes composed property json paths * Removes schemaIsFromAdditionalProperties from fromProperty * Removes name from fromProperty * Fixes tempate typo * Removes required from fromProperty * Removes required from fromProperty * Removes vars + requiredVars and unusedmethods from DefaultCodegen * Regenerates sample * Tweaks required object property docs * Generates docs for required properties with no defining schema, addProps unset * Fixes new type hint definitions * Renames composed schemas * Fixes schema definition names for content schemas * Adds CodegenKey * Stops special handling of additionalProperties baseName * Removes nameInCamelCase + nameInSnakeCase, uses CodegenKey in templates * Fixes composed schema names * Removes codegenProperty.baseName * name.name -> name.getName, removes addPropsUnset template var * Changes key on properties/requiredProperties/optionalProperties form String to CodegenKey * Uses key info to prevent invalid names in required property type hints and new signatures * Removes generateAliasAsModel * Further removal of GenerateAliasAsModel * Fixes 3 python tests * Partial java test fixes * Adds getKey, fixes more java tests * Removes generate alias as model, updates more java tests * Fixes more java tests * Syntax errors in java tests reduced to 49 * Reduces java syntax errors down to 40 * Reduces java syntax errors down to 30 * Reduces java syntax errors down to 20 * Reduces java syntax errors down to 7 * Reduces java syntax errors down to 0 * Reduces java syntax errors down to 240 * Reduces java syntax errors down to 212 * Reduces java syntax errors down to 198 * Reduces java syntax errors down to 184 * Reduces java syntax errors down to 158 * Reduces java syntax errors down to 136 * Reduces java syntax errors down to 98 * Reduces java syntax errors down to 76 * Reduces java syntax errors down to 50 * Fixes all syntax errors * Removes JavaClient codegentest * Removes JavaInheritancetest * Removes JavaModelEnumtest * Fixes 2 tests * Reduces test failure qty to 33 * Reduces test failure qty to 23 * Reduces test failure qty to 11 * Reduces test failure qty to 7 * Reduces test failure qty to 3 * Reduces test failure qty to 2 * Reduces test failure qty to 1 * Fixes all java tests * Removes unused java client tests * Samples regenerated * Regenerates samples * Samples regen again * v2 CodegenModel cleanup (#103) * CodegenModel extends CodegenProperty * Updates the fromModel signature * Removes unused code, updates fromModel to use fromProperty * fromModel now uses a fromProperty helper * Removes parent and child properties * Removes interfaces + interfaceModels * Removes vars properties * Removes mandatory properties * Removes 5 unused properties * Removes classFilename * Removes model dataType * Removes type variables from codegenProperty * Switches className for name.getCamelCaseName * Updates staticmethod and class names to follow python naming conventions * Converts properties to Properties * More fixes for property class name cases * Adds more schema case fixes * Fixes the last of the schema name reference issues * Fixes python tests * Removes model classname property usages * Removes classname/classVarName/modelJson * Some small needed java fixes * Moves externalDocumentation into ocdegenProperty * Shortens and improves CodegenParameter equals method * Adds externalDocs interface to JsonSchema * Moves discriminator into CodegenProperty * Moves discriminator creation into fromProperty * Moves imports into CodegenProperty * Replaces CodegenModel with CodegenProperty * CodegenProperty renamed to CodegenSchema * Updates debugging info * Removes unused java code * Removes unused java code * Fixes syntax errors in defaultcodegentests * DefaultCodegenTest failures reduced to 3 * Fixes one test * Fixes java tests * Fixes DefaultGeneratorTest.testRefModelValidationProperties * Fixes java tests * Samples regenerated * Samples regenerated with endpoint test fix * v2 refClass simplification (#104) * Changes modulePath to componentModule * Adds module prefix back into endpoint schema examples * Uses correct property for Schema path analysis * Fixes caching of schemas * Adds package prefix back into model docs * Adds package prefix back into component header docs * Adds package prefix back into component parameter docs * Adds package prefix back into component request body docs * Adds package prefix back into component response docs * Adds refModule back into refClass locations * Fixes discriminator class values * Fixes schema imports * Fixes model imports in schemas init * Moves getImports into defaultcodegen * Removes code to fix imports * Reduces test syntax errors down to 100 * Syntax errors reduced to 62 * Syntax errors reduced to 0 in defaultocegentest * Fixes DefaultCodegenTests * Samples regenerated * Fixes autogen model tests, samples regenerated * v2 schemas in modules (#107) * Removes ModelMap and ModelsMap java classes * Sample regen * Fixes model header template * Adds spaces back into header template * Adds component schema imports and readme listing back in * Sorts schemas * Sorts schemas * Removes redundant import setting, imports are available in all CodegenX instances * Fixes file imports * Writes header schema files * improves parameter imports * Removes redundant header imports when schema is refed * Adds parameter schema files * Adds parameter schemas * Writes response header schemas * Updates generateSchema signature * Refactors header generation into generateHeader * Adds helper methods for header/parameter schema and schema jsonPath retrieval * Uses generateParameter in path operations * Refactors header schema generation into generateHeader * Refactors component requestBody generation * Generates requestBody schemas * Fixes response header schema definitions * Adds code to generate response body imports * Generates response body schemas * Removes inline schema definition in response modules * Removes unneeded constants + methods * Regens samples * Removes unneeded imports * Fixes response module names * Samples regen * Samples regen * Samples regen, test fix * Samples regen using getKey for schema filename * Samples regen using getKey for schema filename * Adds needed imports, sample regen * Fixes header paramName * Adds more missing imports * Fixes header reference * Fixes schema model names * Renegerates schema tests * Fixes header schema path * Fixes schema $ref import in request bodies * Fixes request body endpoint tests * Fixes java test errors * FIxes java tests * Samples regen * Samples regen * removes incororect tests * Handles _Not schema * v2 use name for module name (#109) * Adds CodegenRequestBody * Java updates where header extends requestbody * Java updates to use getters * Removes comment * Updates fromRequestBody java code * Regenerates petstore using fixed fromRequestBody * Removes unused java helper methods for fromRequestBody * Removes unused java code * Adds and uses toHeader, toRequestBody * Uses setRefAndComponentModuleInfo in fromHeader * Uses helper methods in fromParameter * Improves code readability, dedents java code * Removes hasHeaders from CodegenResponse, adds getName to OpenapiComponent interface * Adds more methods to OpenapiComponent * Uses setLocationInfo, getKey updated to use component type * Stops using paramName in response headers * Stops using parameterName for headers * Adds request body doc generation back in, it fell out * Switches back to baseName * Removes all paramName * Removes paramName and uses name.getSnakeCaseName * Moves component types from soffuxes to module prefixes * Samples regenerated * Samples regenerated * Fixes some java tests * Fixes java test, sets schema example also * Reverts version file * v2 use python classes to hold non-schema components (#110) * Adds refClass to all components * Updates requestBody templates to use name.getCamelCaseName and write out a class * RequestBody converted to class, petstore sample regenerated * Fixes python tests * Uses response class in response modules * Adds generic parameter to api_client.OpenApiResponse base class * Adds spaces in response class property definitions * Updates headers and parameters to write classes * Petstore regnerated with param + header classses, endpoint not yet fixed * Uses classes in parameters and headers * Fixes header and prameter refClasses * Fixes many python tests * Fixes python tests * Samples regenerated * Removes java instance copy code and usage * v2 module import cleanup (#111) * Uses datetime import, adds types templates * Template and petstore update * petstore regenerated * Python tests fixed, samples regen * FIxes java test * v2 class and method name cleanup (#112) * from_openapi_data_oapg -> from_openapi_data_ * _verify_typed_dict_inputs_oapg -> _verify_typed_dict_inputs * _get_host_oapg -> _get_host * _{{operationId}}_oapg -> _{{operationId}} * _raise_validation_error_message_oapg -> _raise_validation_error_message * is_true_oapg -> is_true_ * is_false_oapg -> is_false_ * is_none_oapg -> is_none_ * as_date_oapg -> as_date_ * as_datetime_oapg -> as_datetime_ * as_decimal_oapg -> as_decimal_ * as_uuid_oapg -> as_uuid_ * as_float_oapg -> as_float_ * as_int_oapg -> as_int_ * _get_class_oapg -> _get_class * get_item_oapg -> get_item_ * _validate_oapg -> _validate * _process_schema_classes_oapg -> _process_schema_classes * _get_new_instance_without_conversion_oapg -> _get_new_instance_without_conversion * as_str_oapg -> as_str_ * _get_items_oapg -> _get_items * _get_properties_oapg -> _get_properties * Samples regenerated * Readme update * MetaOapg -> Schema_ * _configuration -> configuration_ * _arg -> arg_ * _args -> args_ * JsonSchema -> OpenApiSchema, OpenapiComponent -> OpenApiComponent * v2 replace openapi generator with openapi json schema generator (#113) * Replaces references with new project location * Samples regenerated * FIxes python tests * v2 use modern python packaging (#115) * Adds src folder above package in java code * Moves package code into the new src subfolder, petstore regenerated * Removes setup.cfg * setup.py changed to pyproject.toml * Reverts python java file change * Removes setup files, fixes installation instructions * Regenerated samples * Fixes java test * v2 changes Java CodegenX.ref type from String to CodegenX (#117) * petstore regen * Sets response ref to CodegenResponse instance * Endpoint test fix, petstore regen * Updates codegenHeader * codegenRequestBody ref update in java * Fixes endpoint + endpoint docs fro request body, example still broken * Fixes request body examples * Fixes requiredVars * Adds response_for_200 info back into endpoint docs * Adds response_for_200 back into response header anchor links * Fixes header component links in scomponent response * Updates codegenParameter * Templates updated to get ref parameters working * Uses setLocationInfo in fromSchema * Uses a constant and already calculated adProp for required props, reduces fromSchema calls * Uses codegenSchemaCache.computeIfAbsent in fromSchema * Removes unaliasing from fromSchema * Petstore regen * Adds JsonIgnore to fix debugging * Sample regen * Samples regenerated * Points refs to component schemas, fixes java test * Fixes java test * Fixes testAlias * Fixes 2 java tests * Fixes testUnalias * Fixes testNullableProperty * Fixes testDeprecatedRef * Fixes testRequestBodyContent * Fixes testAdditionalPropertiesPresentInResponses * Fixes testAdditionalPropertiesPresentInParameters * Fixes testIsXPresence * Fixes testResponseContentAndHeader * Fixes DefaultGeneratorTests * Fixes AbstractJavaCodegenExampleValuesTest * Samples updated * v2 adds and uses CodegenRefInfo class to consolidate $ref info: ref/refClass/refModule (#118) * Adds CodegenRefInfo * Adds needed base classes * Renames class to OpenApiLocation * Adds getName and setName to OpenApiLocation * Template usages of ref replaces with ref.getRef * ref property changed to refInfo * Fixes refInfo usages in Java * Templates updated ref -> refInfo * Fixes another refInfo java location * Template updates, refModule -> refInfo.refModule * Templates updated, refClass -> refInfo.refClass * Deletes refModule + refClass properties, they are in refInfo * Fixes other needed java locations * Fixes java tests, only sets refInfo if ref not null, only set name if currentJsonPath not null * Adds code to setComponentModule * Fixes java test * Samples regen * Adds refInfo printing and equality * Adds hash and equals methods to CodegenRefInfo * Fixes log line when generating * v2 generate content module when it is in the jsonPath (#119) * Adds content to paths of request body schemas * Adds content to header schemas * Adds content to response body schemas * Adds parameter schemas * Changed content key to CodegenKey * Petstore regen, request body docs updated with content * Fixes ref request body schema links * Removes request_body prefix when request body is refed * Adds content to response docs * Response docs tweaked * Adds class name to header and request body docs * Fixes request body ref links * Uses snake case for name in header and request body to try to get links to work * Fixes response links * Fix anchor link in ref response * Updates response module name and uses it in docs * Updates schema anchors to include name with period and link without * Docs update to not use response_for for all but header * Fixes response inline content links, includes class name * Fixes header schema anchors * Updates response header anchors * Fixes response inline header link * Response body link uses class name * Fixes response header ref link when the refed header has a content schema * Update response modlue reference response_for_200 -> response_200 * Adds content import in header * Adds content schema import into parameter * Adds content imports to request_body * Adds content imports to responses * Adds todos * Adds generateContent method * Adds content init files * Adds code to generate cotentType files * Adds content type init files * Removes unneeded content init files when all schemas are refed * Adds typeddict content to request body and responses * Updates first endpoint request body type hint * Petstore regen * Fixes 2nd request body location in endpoint template * Template typo fix * 3rd request body loc fixed, unit test and petstore regen * Fixes all endpoint request body type hints * Adds needed imports to requests and responses * Do not set content in responses if there is no content * Fixes 2 tests * Java test failures reduced to 17 * Samples regenerated * 2 tests fixed * 2 tests fixed * Fixes 2 tests * Fixes 5 tests * Fixes 5 java tests * Fixes 3 java tests * Fixes python tests * Samples regenerated with documentation improvements * v2 adds headers module (#120) * Adds java code and template code to generate headers module * New header modules generated * Updates docs to include new headers location * Samples regenerated * v2 adds parameters module (#121) * Adds code to generate parameters init files, regenerates petstore * Fixes parameters usages in endpoints * petstore regen with fixed params links * Fixes paramer and parameter schema doc anchors * Samples regenerated * v2 adds responses module (#122) * Java updates to generate responses module * petstore regen with responses module * Samples regenerated * v2 refactors filepath generation (#124) * Adds general handling of file generation * Refactors code to remove some methods * Removes unneeded init file generation * Uses helper method to generate init files for paths/components/schema folders * Uses helper method to generate component schema init * Uses getFilepath for component/X/Y files * Replaces request body file generation with getFilePath * Removes outdated unused parameters headers responses template file props and methods for file gen * Replaces responseFilename with general methods for file gen * Removes unused files * Refactors header file generation * Refactors parameter generation * Adds generation of endpoint paths containing content-types * Adds schema filename handling of content types when in components * Refactors schema filename generation * Refactors content and content-type file generation * Refactors code for readability * Samples regenerated * Samples regenerated, old files deleted * Does not generate files if there are no templates for that type * Updates java test check * Updates java tests, python schema file generated using snake case name * Samples regen * Samples regen * v2 generates ref json path locations (#125) * Java: turns on generation of refed schemas * Generates ref schemas in petstore * Updates refed schema to only have import and schema * Fixes import addition when there is no ref in the root of a schema * Stops adding content schemas to parentItem.imports, regen petstore * Updates parameter to always import relative schemas * Headers updated * Updates response to always import relative schemas * Fixes header schema imports in response definition * Adds TypedDict for header content type dict * Fixes parameter snad response schema definition, and response headers definition * Fixes endpoint required and optional ref params schema def in typeddicts * Fixes python tests * Generates refed request bodies * petstore reg * Adds getDeepestRef * Fixes getDeepestRef * Petsotre updated * Updates endpoint to detect bodies using getDeepestRef * Fixes request body passing in endpoint * Fixes more request body references * Generates refed headers * Fixes refed header imports * Ref header component added and used * Reuqest body doc updated * Further doc improvement * Improves header docs * Has response use new header files that contain refs * Fixes request body python refs * Fixes header docs * Fixes doc link to ref header that refs a header * Generates refed responses * Removes extrac code from refed responses * Updates endpoint usage of responses * Fixes autogen endpoint tests to use response_cls * Adds response that refs another response * ApiResponse -> _ApiResponse * Updates docs to use response_cls * Docs updated * Refed parameters generated * Adds parameter component that refs another one, petstore regen * Petstore regen * Fixes param schema references * Simplifies parameter writing template * Endpoint docs, body always uses camel case for first fragment * Fixes addition of requestBody and params to ednpoint collections when they have deepest refs * Replaces all instances of refInfo.getRef with getDeepestRef * Adds class name to parameter schema definition * Uses class names for parameter schemas * Adds content description to parameter schemas * Adjusts param anchors and doc references * Removes quotes from parameter content schema anchor link * Improves request body ref docs * Improves endpoint request body ref link * Simplifies template * Fixes header ref docs * Updates parameter ref docs * Fixes parameter ref doc generation * Adjusts title sizes in components * Adds component response and ref of it to test spec, where body is defined * Samples regen * Adds ref link to ref response class * Adds ref links to response body and header definition * Sample updated with component schema that refs another component schema * Sample regenerated * Fixes refed component parameter use case * Adds getDeepestRef for codegenSchema, updates schema doc template * Regens petstore * Samples regenerated * Fixes testEnumImports * Fixes 2 java tests * Fixes 303 unit test request body syntax * v2 fix python warnings when running pytest (#127) * pegs urllib3 to 2.0.a3, fixes tests, regens samples * Removes print statement * v2 organizes templates (#128) * Adds schema * Partial schema template refactor * Replaces model_doc with schema_doc * Finishes schema template refactor * Refactors request_body templates * Refactors header * Response refactored * parameter refactor * path refactored * Refactors operation templates * Moves template components into components * Moves templates into apis folder * Helpers moved out of root if unused, if used relabled * Helper identification, template suffix change for readability * Finishes fixing schema template files * Finishes component file fixes * Fixes root templates * Updates api templates * Fixes operation templates * Fixes template extension * Sample regen * v2 fix handlebars warning, moves java model classes, renames org package (#129) * Makes CodegenServerVariable immutable * Makes CodegenServer immutable * Removes trailing slash from server values * Adds comments describing resolvers * Removes get from getters, adds getters for protected properties * Makes CodegenKey public final * getDescription -> description * getRefInfo -> refInfo * Fixes CodegenHeaderBase * Sample regen * Sample regen, resolver turned back on * Removed unused pom.xml profile: release * Removes run files * Reverts pom changes * Updates handlebars version * org.openapitools -> org.openapijsonschematools * Further removals of openapitools * Fixes python client build package * Moves 5 classes into the model package and makes them use public final for properties * Moves 2 classes into model module * openapitools -> openapijsonschematools * Updates templates to use immutable tags * Fixes more project references * Refactors CodegenSecurity * Moves CodegenSecurity into model module * Fixes refinfo usages * Refactors CodegenResponse * CodegenRequestBody refactored * Refactors CodegenHeader * Refactors CodegenParameter * More java fixes for codegenParameter * Refactors codegenDiscriminator * Changes path to CodegenKey * Changes httpMethod to a CodegenKey * Uses camel case httpMethod to improve path apis, fixes python tests * Removes hasAuthMethods * removes hasDefaultResponse * Removes hasConsumes, hasProduces, hasParams * Removes subresourceOperation * Removes isMultipart * Removes prioritizedContentTypes, isCallbackRequest, prioritizedContentTypes * Improves operation doc example * Changes operationId to CodegenKey * Fixes operation doc generation * requiredParams -> hasRequiredParamOrBody, optionalParams -> hasOptionalParamOrBody * Speeds up generation time by using cached component class instances early * Removes imports, examples, and requestBodyExamples * Removes consumes, that info exists in content * Simplifies produces information * Makes codegenOperation immutable, partial fix of fromOperation * Adds response inputs * codegenOperation updated; some java tests fixed * Sample regen, java test syntax errors fixed * Fixes some java tests * Fixes a java test * FIxes all but 1 java test * FIxes java test * Fixes 2 tests in PythonClientTest * Fixes more java tests * Fixes 2 java tests * Deletes java test * Changes all CodegenSchema properties to public * Fixes java call sites * Fixes templates * Fixes java tests * Fixes javadoc errors * Fixes python tests * Adds x flag to ci node 0 * Attempt to fix javadoc * Removes javadoc link * Removes -X flag from CI * Moves codegenSchema into the model package * Java property setting refactored * Samples regenerated * Removes eliminates fromSchema helper methods * Moves more model classes * Sets disallowAdditionalPropertiesIfNotPresent to false in defaultcodegenerator * Fixes java test * Fixes java tests * Mapping changed to treeSet to have deterministic order in python discriminator * Fixes python tests * Fixes openapi-json-schema path references * Samples regenerated * Fxes link to repo * Fixes path references * v2 simplifies CodegenParameter and CodegenSchema (#130) * Adds in info * Removes for parameter inX properties * Changes hasValidation into a method call * Removes _enum and isEnum * allowableValues -> enumNameToValue * Simplifes enum storage * Adds newline back after enum definitions * Enums stay in spec order * Makes isAnyType a method, adds and uses getSelfOrDeepestRef method * Removes schema isX format constants * Removes isX CodegenSchema format type booleans * hasMultipleTypes changed to method * Removes 3 unused fields * isNUllable -> nullable * Adds and uses CodegenXml * isReadOnly -> readOnly, isWriteOnly -> writeOnly, Booleans stored as Boolean * Removes isUnboundedInteger * Uses isComplicated * Uses null check to detect isAnyType * Removes isMap and isArray usages in switch_case template * Removes isX from _helper_types template * Separates one template into two * Removes isX from one template * Removes isX from xbase multiple types template * petstore regen * Rmoves isX from another template * Removes isX from another template * Improves list new type hint * Removing isArray and isMap from a template * Removes isMap and isAnyType usage * Removes isX usage from new template * Removes isX varaibles from payload renderer * Remove isAnyType usage * Removes all isX usages from templates * Removes isX properties from CodegenSchema class * Removes OpenApiSchema * Fixes python tests * Removes type getting logic from java * Working on fixing java tests, adds todo * Fixes enum access in java tests, updates clas name to EnumValue * Fixes java test syntax errors * Fixes some java tests * Fixes java enum tests * Adds toEnumValue * Fixes python template usage of enum values * Adds and uses CodegenPatternInfo * Fixes python tests * Regenerates samples * Fixes enum name generation with \t \n \r * Adds type property * Fixes python enum test * v2 method + property name improvements (#133) * rest client methods changed from upper to lower case, CoodegenKey isValidName -> isValid * snakeCaseName -> snakeCase * camelCaseName -> camelCase * CdegenKey name -> original * name -> jsonPathPiece * More name -> jsonPathPiece template fixes * CodegenParameter baseName -> name * Removes jsonSchema property * message -> discription, isEnum removed from CodegenDiscriminator * Discriminator propertyName changed to CodegenKey and propertyBaseName deleted * isDeprecated -> deprecated and type changed to Boolean * isDeprecated -> deprecated * isExplode -> explode and type changed to Boolean * explode type changed to Boolean * Changes allowReserved type to Boolean * required type changed to Boolean * required type changed to Boolean * required type changed to Boolean * Changes allowEmptyValue to Boolean, adds allowReserved * Removes isDeepObject * Removed getUsedName * Adds Parameter prefix on parameter classses * Fixes python tests * new singature updated * Many java fixes in defaultcodegen * Removes more unused java methods * More java fixes * Removes unused java method * Fixes some unchecked cast errors * Fixes java unchecked cast warnings * Removes more unchecked cast warnings * Fixes more uncheck casts, fixes nullpointerexception * Removes unused comment * More renaming improvements * Fixes java tests * Fixes many java warnings in PythonClientCodegen * Removes more unused methods * More java cleanup * Fixes some java warnings in the python generator * Adds toEnumValue to fix more java warnings * Removes unused import * Java warning fixes in pythonclientcodegen * Changes enumNameToValue to enumValueToName * Adds warning for enum name collision * Fixes java tests * Improves enum naming * Adds more todo * Simplifies enum generation * Adds getOperationIdSnakeCase * Fixes java intelij warnings * Fixes java tests * Samples regenerated * Fixes parens removal * Removes schema init, fixes test, fixes exclusive_maximum check * Fixes some api client bugs * Samples regen * Fixes enum processing of dict keys * Sample regen * Docs regen * v2 documentation improvements (#134) * Adds top link section in endpoint docs, makes reponses h2 * Adds table of contents * Moves TOC to h2 * Adds and uses headerSize parameter * Removes anchorContainsPeriod * Adjusts request body header size when requestbody is refed * Updates request body header size for non refed request bodies * Removes header from request body component module * Moves code sample to bottom, adds h2 section for authorization, adds to toc * Adds description and summary sections * Uses headerSize in parameter docs * Fixes headerSize in parameter_doc.hbs * Has header docs use headerSize * Improves indentation in response bodies * Adjusts paramter schema depths * Removes deep headerSize passing in paramter_doc * dedents schema module in component schema docs * Flows headerSize into schema docs * Removes discription when there re no arguments * Removes auth section if there is no auth * Uses join for parameter schema docs * Adds header for each parameter * Removes redundant data addition * Header indentation updated in components * Adds body and header sections to response * Uses headerSize in response_doc * Fully uses headerSize in response_doc * Uses camelCase name in headings for headers and content * Adds response dscriptions to docs * Uses headerSize in request body doc * Adds request body description to docs * Adds descriptions to responses and request bodies * Fixes links to ref responses * Adds parameter and header descriptions * Adds component schema descriptions * Increases indentation depth in schema docs * Reduces composed indentation * Adds indentation * All sub lists use numbering * Removes empty lines from indented schema doc template * Fixes some tables * Actually indents subschemas * Indentation level corrected * Adds new lines back into schema doc indent template * Uses headerSize.length in schema_doc_indent * Removes trailing # from headings in indent * Adds newline bfore oneOf anyOf allOf Nots * Removes unneeded deeper indentation * Adds 1 level of depth to request body schema * Indents request body schema info under header schema class name * Improves endpoint response indentation * Fixes request body links in endpoint docs * Stops indenting schemas, lists them all at the same level * Inlines all schemas * Adds indentation under schema * Removes RequestBody prefix from request body description * Removes prefixes from response data * Moves header summary higher, adds header details removes response prefixes * Removes prefix from response headers when they are inline * Adds levels to header docs * Lists responses after response summary to keep header levels at h6 max * Removes description prefix from header docs * Updates parameter descriptions * Simplifies parameter and header docs * Simplifies response doc * Simplies request body doc template * Simplifies schema doc * Adds schema writing of anchors with ids containing json path info * Tweaks schema anchors * Moves anchor above heading * Fixes property links * Fixes required an optional schema docs links * Adds content type to schema request body section * Adds newArray and add helpers * Adds identifierPieces to schema rendering * Uses identifierPieces * Generates custom anchor * Adds anchorPiece * Uses anchorPiece in anchors * Sample regen * Removes manual anchor * Uses _helper_header_from_identifier_pieces * Adds Items component schema example * Adds sample schemas with collisions * Fixes doc colision in schema property docs * Simplifies schema doc template * Updates requestBody doc template * Simplifies request body docs * Omits self header prefix in schema and request body docs for inline schemas * Adjusts when suffix is added to links * passes in needed identifierPieces into response headers * Updates header docs * Adds header content type to schema section in docs * Updates most of codegen response docs * Changes content to body * Fixes template warning by passing in includeSuffix * Parameter docs updated, parameter docs have needed params * Adds Schema prefix to component schema h1 * Adds Response prefix to response docs * Adds prefix to other components * Adds headers prefix for response header docs * Adds path to operation docs * Adds path anchor link * Adds http method to operation docs * Operation requestbody heading updated * Removes template setting of var complexTypePrefix * Fixes rending of required and optional input type and accessed types for dict keys * Simplifies dict req and optional input type accessed type template * Fixes template access warning * Updates response docs to handle no resonse body schema use case * response body class updated when no content schemas are defined * Fixes doc links for self reverences * moved dict property schema link location in docs * Adds link to additional properties class in schema docs * Adds example that shows response body links are working * Samples regen * Removes unused templates * params updated * sample regen * Fixes locale invocations * v2 adds security schemes (#135) * Adds generateSecuritySchemes method, unfinished * Adds security_schemes.py main module * Updates java classes that store security scheme data * Adds CodegenSecurityRequirement * Adds security to operation * Uses fromSecurityRequirement in operation * Fixes java creation of securityRequiremnts * Sample regen, breaks auth * renders security imports in operations * Removes extra newlines by imports * Adds java code to generate security schemes * Fixes security schemes init file * Gnerates one file for each component security scheme * Simplifies java file generation * Uses generateXs in generateHeader * Uses generateXs in parameter generation * Uses generateXs in all locations * Dedents some code * Adds description to security scheme classes * Adds full rendering of component security scheme * Adds SecurityRequirementObject * Adds security schemes section to readme * Adds some java code to standardize docs generation for components * Generates schema docs using new method * Removes header doc methods and properties * Removes parameter docs methods and properties * Simplifies request body doc generation * Simplifes response doc generation * Adds doc generation for security schemes * Updates securty scheme docs * Fixes section link for security schemes * Updates SecurityRequiremntObject * Isolates auth application to security scheme class * Fixes readme link for component schemas, fixes crypto install * Fixes dataclass prop order, makes some base classes private * Fixes security shcem class defaults * Fixes two tests * Removes commented out filtering code * Fixes basic auth test * Adds auth to fix test * Fixes last broken test * Updates doc schema ref links * Adds __SecuritySchemeBase * Fixes java test * Samples regenerated * Samples regen * Improves endpoint docs * Adds total false to the auth info class definition * CHanges bearer_token to access_token * Removes auth info from the Configuration docstring * Adds security into to endpoint docs * Samples updated * v2 adds servers (#136) * Adds servers template, replaces codegenservervariable with codegenschema * Adds servers init * Adds configuration server_info * Server key prefix converted to stirng * Consolidates path + pathItem generation * petstore regen * Updated data passed into operation test template * Fixes passing through the host property in endpoint calls, fixes some python tests * Adds needed pass line to simple schema generation in stub files * Removes extra new lines from server files * Fixes python tests * fixes server filenames in path item * Fixes server name generation on endpoint servers * Always passes in server_index * Adds test_path_servers * Separates out configuration classses, fixes python tests * Moves operation into non init python file, updates path to api gneration * Fixes tag_to_api generation * Adds path api generation * Adds api tag generation * Fixes 3 tests * Fixes python tests * Adds all server info to api configuration * Removes unused methods and properties * Adds test_operation_servers * Removes basePath, basePathWithoutHost, host, port * Removes unneeded java classes, simplifies readme endpoints generation * Removes parameter from bundle * Makes readme author section conditional, adds servers section, fixes endpoint path font weight * Adds code example back into readme * Fixes ref schema doc links * Adds root server docs * Removes pathEndpointDocTemplateFiles * Fixes parameter schema anchors in endpoint docs * Fixes schema refs in endpoints * Adds server info to operation docs * Adds pathItem servers to operation docs * Always adds Arguments and Servers sections to endpoint docs * Adds server info and defaults to endpoint docs * Removes responses prefix from endpoint docs * Adds working links for response classes * Fixes some java test syntax errors * Fixes more java test signature issues * Fixes more java test signature issues * Adds missing java templates back in * Removes callback test * Standardizes api file path generation * Fixes one java test * Generates api docs for each tag api * Fixes operationId endpoint order in api docs * Fixes readme link to api docs * Adds tag description to api docs * Fixes java test * Fixes java test * FIxes java test * Fixes testDateTimeFormParameterHasDefaultValue * Fixes testLeadingSlashIsAddedIfMissing * Docs regenerated * Regens sampless with fixed config imports * Fixes tests in unit test spec * Samples regenerated * v2 improves security code and documentation (#137) * Adds readme security section * Adds security sample * Adds files for python testing * petstore regenerated to delete unused api path files * Adds security section to the docs * Generates root security requirements objects * Generates security requirement objects * Passes through and uses security_index * Operation docs now show security code from root * Renames auth_info to security_scheme_info * Adds test_endpoint_call_lacks_security * Adds test_endpoint_call_lacks_security, more code * Adds test_endpoint_call_contains_security * Fixes operation response type, remves typing union * Improves multiple response and parameter imports in operation files * Fixes petstore tests * Adds tests of all securities in the endpoints, secuirty_index passed in * Adds ServerIndexInfo to allow configuration of servers by path or operation * Regnerates petstore, fixes petstore test * Adds SecurityIndexInfo * Adds security_index_info to allow users to set a default security index before making an api call * Adds test_endpoint_call_contains_security_index1_from_endpoint_config * Adds CI invocation * Regenerates samples * Sample regen with unit test fix * v2 migration guides (#138) * Adds migration guide hbs files * Adds another line of txt * Adds migration files * Improves indentation * Adds subheadings * Updates Api Access By Tags and Paths Updated * reason and action updated * Updates 200 migration guide * Adds new section to migration guide * Samples generated * v2 improves params documentation (#139) * Adds python type info to inline param schema docs * Updates endpoint docs for param content schema input type * Updates ref param endpoint docs * Makes it clear that params are of type dict * Adds hppt status prefix to code, mentions server_index_info * Removes trailing comma from accessed type * Fixes enum descriptions * Fixes broken template references in api_configuration * Include python types in property input types with ref classes * Fixes input types for dict keys * Adds missing comma * Adds new type hints for ref properties * Updates new sig for array models with ref items * Adds body primitive types to endpoint inputs * Adds missing commas * Fixes endpoint doc links for inline request bodies * Fixes endpoint docs inline request body types * Adds request body type info when the request body is refed * Endpoint reqest body docs adds type hints for ref request bodies * Removes template _helper_operation_args_baseapi_wrapper * Removes template _helper_operation_args_operationid_wrapper * Removes _helper_operation_args_httpmethod_wrapper * Uses jsonPathPiece.snakeCase for response module names in operation responses * Adds getNonErrorResponses for the templates, removes unnecessare unions * Fixes endpoint doc link to api * Removes recordUsage * Adds prefix to response bodies * Removes includeSuffix * Improved request body docs describing body * Does not use union for response bodies if there is only one * Endpoint description updated, // TODO adjust this for 3.1.0 * Uses getContentSchemas in operation reuqest body type hints * Reduces template indentation for request body * operation request body type hints now on new lines * Improves operation body type hints, make them newlined * Updates getContentSchemas to return anyType schema early * Fixes response body type hint * Removes unneeded union from response body doc * Improves endpoint docs for ref request body body types * Improves endpoint request body doc type hints, eliminates redundant types * Samples updated * v2 reduces qty of logged warnings (#140) * Adds todo * Eliminates composed schema renaming warnings * Regen with response module name fix * Fixes response doc generation * Replaces componentModule usages with jsonPathPiece.snakeCase * Converts componentModule to boolean to reduce warning logging qty * Only logs a name or reserved warning if the name is for a component * Removes comment * Adds and uses modelNameCache * Removes multiple discriminator warning * Fixes java tests * sample regen * v2 fixes pyproject.toml (#141) * Fixes pyproject.toml file * Samples regen * Reduces number of test fiels needed * Sample regen * Removes flake8 * v2 updates generator features (#142) * Updates data types * Schema features updated * Adds missing data types to python docs * Adds more DocumentationFeatures * Updates security features * Updates reserved words * Adds components features * Adds components features * Updates global features * Fixes java tests, global features updated * Updates schema features * Fixes instantiationTypes * Removes importMapping * Samples and docs regenerated * Fixes python test * v2 improves endpoint doc paths (#143) * Adds method info to operation docs, moves the docs * Fixes endpoint doc links * Updates readme endpoint links * Updates endpoint url links * Samples regen * v2 readme adds usage notes (#144) * Adds usage section * Adds Json Schema Type Object section * Adds todos * Adds another invalid variable * Adds details sections to readme * Small readme improvements * Samples updated * Adds Schema default feature * v2 improve endpoint params code sample (#146) * Adds type hints for path/query/cookie/header params in endpoint code samples * Samples regen * Simplifies makefiles * v2 improves schema __new__ return type (#147) * Templates updated * Regnerates samples * Adds missing Schema_ additions in identifierPieces * Samples regen * Adds missing composed schema class names in new signature * v2 removes stub files (#148) * Removes pyi files * Removes isStub from templates * v2 readme update, online module removal (#150) * Readme update, removes online module * Removes other online references * v2 adds wildcard responses (#151) * Adds generation of wildcard responses * Uses wildcars responses in deserialization * Uses ranged response dict * Fixes endpoint test syntax error * Fixes operation test init generation, removes unneeded response body union, adds test * Adds OperationFeatures * Fixes java test * Updates docs * Samples regenerated * Adds redirection response deserialization as non-error (#152) * Adds redirection response deserialization as non-error * Adds redirection response sample + doc feature * Sample regen, test added * v2 removes inline model resolver (#153) * Removes inlinemodelresolver * Fixes 2 java tests * Fixes testDateTimeFormParameterHasDefaultValue * Fixes testHasRequiredInProperties * Fixes testHasRequiredInResponses * Fixes testHasVarsInParameter * Fixes testHasVarsInProperty * Fixes testHasVarsInResponse * Fixes testNullableProperty * Fixes testRequestBodyContent * Fixes more defaultcodegen tests * Fixes two tests in DefaultGeneratorTest * Fixes test in ModelUtilsTest * Samples regen, docs regen
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
v2 class and method name cleanup
_oapg
-> trailing __configuration
-> configuration__arg
-> arg__args
-> args_PR checklist
This is important, as CI jobs will verify all generator outputs of your HEAD commit as it would merge with master.
These must match the expectations made by your contribution.
You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example
./bin/generate-samples.sh bin/configs/python*
.For Windows users, please run the script in Git BASH.