forked from loafle/openapi-generator-original
* Oas3: Remove swagger2 ApiModel and ApiModelProperty from imports when oas3 is true. * Oas3: Use either swagger v2 or v3; add test config * Oas3: allowableValues and defaultValues belong to the Schema annotation * Oas3: use swagger-core.version property in all pom.xml * gh-11165 remove io.swagger.v3.oas.annotations.parameters.RequestBody * gh-11168 add import for io.swagger.v3.oas.annotations.Hidden * Fix formParams.mustache, add dedicated test scripts for the spring generator using oas3. * Run ./bin/generate-samples.sh * Run ./bin/generate-samples.sh - new samples * fix indentation * Revert to threetenbp 2.9.10 because customInstantDeserializer.mustache is not compatible with threetenbp > 2.9.10. * apiController.mustache: pull in osa3 imports. * apiDelegate.mustache: remove io.swagger.annotations.* import * Remove Hidden (import and usage). Wrap atApiIgnore with useSpringfox. * fully qualify org.springframework.data.domain.Pageable because endorExtensions.x-spring-paginated is not set during import processing. * align spring-cloud and spring-boot pom.mustache regarding springfox and oas versions. * introduce dateTimeParam.mustache * Apply DateTimeFormat consistently across different parameter types * revert to springfox 2.9.2 * add newline after parameter * fix atSchema annotation (use empty description) * add more spring-*-oas3 test configs * Update bin/config/spring* test samples * Fix implicitHeader.mustache - add import, generate use paramDoc. * rename spring-boot-implicitHeaders-oal3.yaml to spring-boot-implicitHeaders-oas3.yaml * Add spring oas3 configs to samples.circleci profiles module list * Use groupId 'org.openapitools.openapi3' for oas3 configs * Run all spring test configs. * In OAS3, allowableValues is a String[] array. * formParams.mustache: Align spacing and newlines with other param templates * Support @Parameter(hidden = true) instead of ApiIgnore, Formatting: One parameter per line. * Format method level annotations in api.mustache * Introduce samples.circleci.spring profile * Generate all spring samples
24 lines
1.0 KiB
Plaintext
24 lines
1.0 KiB
Plaintext
# OpenAPI Generator Ignore
|
|
# Generated by openapi-generator https://github.com/openapitools/openapi-generator
|
|
|
|
# Use this file to prevent files from being overwritten by the generator.
|
|
# The patterns follow closely to .gitignore or .dockerignore.
|
|
|
|
# As an example, the C# client generator defines ApiClient.cs.
|
|
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
|
|
#ApiClient.cs
|
|
|
|
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
|
|
#foo/*/qux
|
|
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
|
|
|
|
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
|
|
#foo/**/qux
|
|
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
|
|
|
|
# You can also negate patterns with an exclamation (!).
|
|
# For example, you can ignore all files in a docs folder with the file extension .md:
|
|
#docs/*.md
|
|
# Then explicitly reverse the ignore rule for a single file:
|
|
#!docs/README.md
|