Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
camel-swagger-rest-dsl-generator: fixed switch/cases indentation see CAMEL-14540

    • -26
    • +26
    ./generator/swagger/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-14180: Fix Checkstyle issues

Seems that previous versions of Checkstyle had few issues with checking

import sort/grouping. So I've run impsort Maven plugin:

mvn net.revelc.code:impsort-maven-plugin:sort -Dimpsort.groups=java,javax,org.w3c,org.xml,junit -Dimpsort.removeUnused=true -Dimpsort.staticAfter=true

To sort all the imports according to the Checkstyle rule.

Few remaining issues around indentation and unnecessary parentheses I

fixed manually.

    • -1
    • +0
    ./generator/swagger/FilerGenerator.java
    • -2
    • +1
    ./generator/swagger/OperationVisitor.java
    • -1
    • +0
    ./generator/swagger/PathGenerator.java
    • -1
    • +0
    ./generator/swagger/RestDslDefinitionGenerator.java
    • -0
    • +1
    ./generator/swagger/RestDslGenerator.java
    • -4
    • +2
    ./generator/swagger/RestDslSourceCodeGenerator.java
    • -0
    • +1
    ./generator/swagger/SpringBootProjectSourceCodeGenerator.java
  1. … 2764 more files in changeset.
CAMEL-14180: Fix Checkstyle issues

Seems that previous versions of Checkstyle had few issues with checking

import sort/grouping. So I've run impsort Maven plugin:

mvn net.revelc.code:impsort-maven-plugin:sort -Dimpsort.groups=java,javax,org.w3c,org.xml,junit -Dimpsort.removeUnused=true -Dimpsort.staticAfter=true

To sort all the imports according to the Checkstyle rule.

Few remaining issues around indentation and unnecessary parentheses I

fixed manually.

    • -1
    • +0
    ./generator/swagger/FilerGenerator.java
    • -2
    • +1
    ./generator/swagger/OperationVisitor.java
    • -1
    • +0
    ./generator/swagger/PathGenerator.java
    • -1
    • +0
    ./generator/swagger/RestDslDefinitionGenerator.java
    • -0
    • +1
    ./generator/swagger/RestDslGenerator.java
    • -4
    • +2
    ./generator/swagger/RestDslSourceCodeGenerator.java
    • -0
    • +1
    ./generator/swagger/SpringBootProjectSourceCodeGenerator.java
  1. … 2756 more files in changeset.
Adding secure processing for a few TransformerFactory instances

  1. … 1 more file in changeset.
Disallowing DocTypes in a few places

  1. … 8 more files in changeset.
Set secure processing feature in REST DSL tooling

Fixed CS for Swagger REST DSL Generator

  1. … 1 more file in changeset.
CAMEL-13893: use XML API to modify REST XML DSL

This replaces the string manipulation of XML in Swagger REST DSL XML

generator with using XML API to perform the needed manipulation.

    • -18
    • +56
    ./generator/swagger/RestDslXmlGenerator.java
  1. … 1 more file in changeset.
Split camel-core again

    • -2
    • +2
    ./generator/swagger/OperationFilter.java
  1. … 366 more files in changeset.
CAMEL-12865: camel-restdsl-swagger-plugin - Allow for specifying apiContextPath

    • -0
    • +10
    ./generator/swagger/RestDslGenerator.java
    • -0
    • +3
    ./generator/swagger/RestDslSourceCodeGenerator.java
  1. … 5 more files in changeset.
CAMEL-12865: camel-restdsl-swagger-plugin - Allow for specifying apiContextPath

    • -0
    • +10
    ./generator/swagger/RestDslGenerator.java
    • -0
    • +3
    ./generator/swagger/RestDslSourceCodeGenerator.java
  1. … 5 more files in changeset.
CAMEL-12893: OpenAPI REST DSL generator basePat...

...h handling

Now `basePath` from the OpenAPI specification is considered and added

as a part of the REST DSL definition.

    • -1
    • +1
    ./generator/swagger/RestDslDefinitionGenerator.java
    • -1
    • +1
    ./generator/swagger/RestDslSourceCodeGenerator.java
  1. … 8 more files in changeset.
Move stuff around to isolate o.a.c.util from o.a.c and o.a.c.support from o.a.c.impl

# Conflicts:

# camel-core/src/main/java/org/apache/camel/impl/InterceptSendToEndpointProcessor.java

    • -1
    • +1
    ./generator/swagger/OperationFilter.java
  1. … 2744 more files in changeset.
CAMEL-12841: camel-restdsl-swagger:generate - Special case for Spring Boot with servlet component to generate CamelRestController support class to allow using root context-path and spring boot health check/actuators at the same time.

    • -0
    • +20
    ./generator/swagger/RestDslGenerator.java
    • -1
    • +5
    ./generator/swagger/RestDslSourceCodeGenerator.java
    • -0
    • +106
    ./generator/swagger/SpringBootProjectSourceCodeGenerator.java
  1. … 9 more files in changeset.
CAMEL-12841: camel-restdsl-swagger:generate - Add restConfiguration with common defaults

    • -0
    • +10
    ./generator/swagger/RestDslGenerator.java
    • -3
    • +8
    ./generator/swagger/RestDslSourceCodeGenerator.java
  1. … 2 more files in changeset.
CAMEL-12841: camel-restdsl-swagger:generate - Add restConfiguration with common defaults

  1. … 5 more files in changeset.
CAMEL-12841: camel-restdsl-swagger:generate - Add restConfiguration with common defaults

    • -0
    • +10
    ./generator/swagger/RestDslGenerator.java
    • -0
    • +5
    ./generator/swagger/RestDslSourceCodeGenerator.java
  1. … 9 more files in changeset.
    • -2
    • +2
    ./generator/swagger/RestDslSourceCodeGenerator.java
CAMEL-12805: camel-restdsl-swagger-plugin doesn't convert integer default value to string

    • -1
    • +4
    ./generator/swagger/OperationVisitor.java
  1. … 4 more files in changeset.
CAMEL-12805: camel-restdsl-swagger-plugin doesn't convert integer default value to string

    • -1
    • +4
    ./generator/swagger/OperationVisitor.java
  1. … 4 more files in changeset.
CAMEL-12805: camel-restdsl-swagger-plugin doesn't convert integer default value to string

    • -1
    • +4
    ./generator/swagger/OperationVisitor.java
  1. … 4 more files in changeset.
CAMEL-12283: camel-restdsl-swagger-plugin - Allow to filter operations

    • -0
    • +45
    ./generator/swagger/OperationFilter.java
    • -11
    • +16
    ./generator/swagger/OperationVisitor.java
    • -1
    • +1
    ./generator/swagger/RestDslDefinitionGenerator.java
    • -1
    • +20
    ./generator/swagger/RestDslGenerator.java
    • -1
    • +1
    ./generator/swagger/RestDslSourceCodeGenerator.java
  1. … 8 more files in changeset.
CAMEL-12266: Maven plugin for restdsl can now generate xml.

  1. … 4 more files in changeset.
CAMEL-12266: Maven plugin for restdsl can now generate xml.

  1. … 2 more files in changeset.
CAMEL-12266: Maven plugin for restdsl can now generate xml.

    • -2
    • +4
    ./generator/swagger/RestDslGenerator.java
    • -0
    • +3
    ./generator/swagger/RestDslSourceCodeGenerator.java
    • -0
    • +44
    ./generator/swagger/RestDslXmlGenerator.java
  1. … 9 more files in changeset.
CAMEL-11175 REST DSL Swagger generator default ...

...generated class/package names

This refines default class name and package name generation.

    • -6
    • +19
    ./generator/swagger/RestDslSourceCodeGenerator.java
  1. … 1 more file in changeset.
CAMEL-11163 Add @Generated annotation in REST D...

...SL Swagger generated code

This makes the `date` annotation member of `@Generated` annotation

optional and its generation turned off by default.

    • -2
    • +22
    ./generator/swagger/RestDslSourceCodeGenerator.java
  1. … 2 more files in changeset.
CAMEL-11163 Add @Generated annotation in REST D...

SL Swagger generated code

Adds the `@Generated` annotation to the generated source code of

`RouteBuilder` implementations. This way IDEs and source code analysis

tools know that the code was generated.

    • -0
    • +17
    ./generator/swagger/RestDslSourceCodeGenerator.java
  1. … 3 more files in changeset.