forked from loafle/openapi-generator-original
* Add of a first working generator for FastEndpoints framework Generator that support the basics of a FastEndpoints project https://fast-endpoints.com/ * Add respose code documentation support * Add an option to enable use of problem details * Clean enum and model * Add an option to generate record for requests/models * Update sample * Add support of nullable types * Add option to enable authentication * Add option to generate validators * Clean readme.md file * Add option to enable response caching * update readme template * Add missing files references * Update generated sample * Add link to documentation * Add generator documentation * correctly support packageName supportingFiles additions moved to processOpts() * improve useAuthentication option handling Avoid to copy an empty file * processOpts, move call to parent at the end * Update generated sample * Refactor and fix super.processOpts(); call order * Handle the case of multi-line description * Rename field to match naming conventions * Add useApiVersioning option * Update generated sample * Add generator documentation * Fix record when model contains optional properties * Add configuration files for each option * Add sample project for each configuration * Add GitHub Action workflow for sample projects * Add FastEndpoints BindFrom attribute on path, query and form params * Update sample generated projects * Fix validator template * fix alphabetical order * Use fully qualified name for FastEndpoints * Add options to set GUID to be used in sln file * update sample projects * Update generators.md * Fix path in github workflow * Put readme, gitignore and solution file at the root of generated project * update sample projects * Remove the projectGuid option This Guid need to be constant, it is related to project type * update sample projects
16 lines
644 B
YAML
16 lines
644 B
YAML
generatorName: aspnet-fastendpoints
|
|
outputDir: samples/server/petstore/aspnet/fastendpoints-useValidators
|
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore.yaml
|
|
templateDir: modules/openapi-generator/src/main/resources/aspnet-fastendpoints
|
|
additionalProperties:
|
|
hideGenerationTimestamp: "true"
|
|
useProblemDetails: "false"
|
|
useRecords: "false"
|
|
useAuthentication: "false"
|
|
useValidators: "true"
|
|
useResponseCaching: "false"
|
|
useApiVersioning: "false"
|
|
routePrefix: "api"
|
|
versionPrefix: "v"
|
|
solutionGuid: "{C7818EE1-09E2-4349-9696-8B1A9119974A}"
|
|
projectConfigurationGuid: "{39B801D8-74AA-465D-A637-4A2FFB905378}" |