Clone Tools
  • last updated 17 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
CAMEL-14697: consider parameters from path

We need to include any parameters that are defined on the path as well

as the parameters that are defined on the operation.

  1. … 1 more file in changeset.
CAMEL-14691: dereference parameters

If parameters are references then we need to dereference them.

  1. … 1 more file in changeset.
CAMEL-14691: Code cleanup

- makes sure that autocloseable resources are used with

try-with-resources

- parameter names reflect their use

- resources are not loaded outside of the `src` directory

- methods that can be static are declared as static

- methods are not named `get...`

- referenced values are used instead of fetched again (e.g. repeated

getServers())

- URL class is not used

- when possible early exits are taken

- doesn't rely on non-standard base path resolution from `basePath`

variable (used in example, no bearing on the base path)

- removes trailing whitespace

- use final where possible

- corrects AssertJ usage

- adds tests for refactored code

    • -32
    • +32
    ./MethodBodySourceCodeEmitter.java
    • -17
    • +16
    ./RestDslSourceCodeGenerator.java
    • -24
    • +24
    ./SpringBootProjectSourceCodeGenerator.java
  1. … 12 more files in changeset.
CS: Fix all imports

  1. … 413 more files in changeset.
camel-openapi-rest-dsl-generator: fixed switch/cases indentation see CAMEL-14540

    • -26
    • +26
    ./MethodBodySourceCodeEmitter.java
chore: fixed sourcechk violations.

  1. … 15 more files in changeset.
CAMEL-14484: Make XML dumper its own model outside camel-core-engine

  1. … 21 more files in changeset.
[CAMEL-14447]OpenApi V3: ensure all variables are parsed for Server Url

  1. … 3 more files in changeset.
make checkstyle happy

  1. … 2 more files in changeset.
[CAMEL-12619]add server variables support in OpenAPI 3.x

  1. … 5 more files in changeset.
[CAMEL-14315]add openapi-rest-dsl-generator

    • -0
    • +38
    ./AppendableGenerator.java
    • -0
    • +26
    ./DestinationGenerator.java
    • -0
    • +38
    ./DirectToOperationId.java
    • -0
    • +40
    ./FilerGenerator.java
    • -0
    • +166
    ./MethodBodySourceCodeEmitter.java
    • -0
    • +45
    ./OperationFilter.java
    • -0
    • +239
    ./OperationVisitor.java
    • -0
    • +39
    ./PathGenerator.java
    • -0
    • +99
    ./RestDefinitionEmitter.java
    • -0
    • +40
    ./RestDslDefinitionGenerator.java
    • -0
    • +203
    ./RestDslGenerator.java
    • -0
    • +207
    ./RestDslSourceCodeGenerator.java
    • -0
    • +114
    ./RestDslXmlGenerator.java
  1. … 30 more files in changeset.