OpenAPI Generator

OpenAPI Generator

  • Get Started
  • Generators
  • Roadmap
  • Team
  • FAQ
  • Blog

Config Options for php-slim4

OptionDescriptionValuesDefault
sortParamsByRequiredFlagSort method arguments to place required parameters before optional parameters.true
ensureUniqueParamsWhether to ensure parameter names are unique in an operation (rename parameters that are not).true
allowUnicodeIdentifiersboolean, toggles whether unicode identifiers are allowed in names or not, default is falsefalse
prependFormOrBodyParametersAdd form or body parameters to the beginning of the parameter list.false
modelPackagepackage for generated modelsnull
apiPackagepackage for generated api classesnull
variableNamingConventionnaming convention of variable name, e.g. camelCase.camelCase
invokerPackageThe main namespace to use for all classes. e.g. Yay\Petsnull
packageNameThe main package name for classes. e.g. GeneratedPetstorenull
srcBasePathThe directory to serve as source root.null
artifactVersionThe version to use in the composer package version field. e.g. 1.2.3null
psr7ImplementationSlim 4 provides its own PSR-7 implementation so that it works out of the box. However, you are free to replace Slim’s default PSR-7 objects with a third-party implementation. Ref: https://www.slimframework.com/docs/v4/concepts/value-objects.html
slim-psr7
Slim PSR-7 Message implementation
nyholm-psr7
Nyholm PSR-7 Message implementation
guzzle-psr7
Guzzle PSR-7 Message implementation
zend-diactoros
Zend Diactoros PSR-7 Message implementation
slim-psr7
Last updated on 2019-11-24
OpenAPI Generator
Docs
Customizing GeneratorsWorkflow Integrations
Community
User ShowcaseStack OverflowChat RoomTwitter
More
BlogGitHub RepoStar
Copyright © 2019 OpenAPI-Generator Contributors (https://openapi-generator.tech). (Both "OpenAPI Tools" (https://OpenAPITools.org) and "OpenAPI Generator" are not affiliated with OpenAPI Initiative (OAI))