Skip to content

Commit

Permalink
CHANGELOG.md update
Browse files Browse the repository at this point in the history
  • Loading branch information
bnasslahsen committed Apr 22, 2022
1 parent 9a68941 commit 9553470
Show file tree
Hide file tree
Showing 14 changed files with 72 additions and 29 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,20 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.6.8] - 2022-04-22
### Added
- #1616 - Add global customizer and filters
- #1620 - Allow ComposedSchemas to replace non-composed so we can respect polymorphic links discovered in later methods
- #1579 - Updated class and method javadoc handling
### Changed
- upgrade to spring-boot 2.6.7
- #1603 - Update swagger-ui path from /swaggerui to /swagger-ui when using management port (actuator) .
- Prefer ComposedSchemas over non-composed so that method name order doesn't prevent polymorphic links generating into the spec
### Fixed
- #1621 - Redirection to UI broken with query-config-enabled when any other boolean parameter is defined.
- #1617 - spring cloud stream crashes at startup.
- #1605 - spring-native NullPointerException due to missing TypeHint

## [1.6.7] - 2022-04-07
### Added
- #1596 - Add title property to GroupedOpenApi class for displaying a Human readable group name.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,13 @@
import java.util.List;
import java.util.Map;

import com.github.therapi.runtimejavadoc.*;
import com.github.therapi.runtimejavadoc.ClassJavadoc;
import com.github.therapi.runtimejavadoc.CommentFormatter;
import com.github.therapi.runtimejavadoc.FieldJavadoc;
import com.github.therapi.runtimejavadoc.MethodJavadoc;
import com.github.therapi.runtimejavadoc.ParamJavadoc;
import com.github.therapi.runtimejavadoc.RuntimeJavadoc;
import com.github.therapi.runtimejavadoc.ThrowsJavadoc;
import org.apache.commons.lang3.StringUtils;
import org.springdoc.core.providers.JavadocProvider;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@

import io.swagger.v3.oas.models.OpenAPI;
import io.swagger.v3.oas.models.info.Info;
import test.org.springdoc.api.AbstractSpringDocTest;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.test.context.TestPropertySource;
import test.org.springdoc.api.AbstractSpringDocTest;

/**
* The type Spring doc app 162 test.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,22 @@
package test.org.springdoc.api.app162.rest;

import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import java.util.List;

import test.org.springdoc.api.app162.exception.NoResultException;
import test.org.springdoc.api.app162.exception.NonUniqueResultException;
import test.org.springdoc.api.app162.rest.dto.JavadocOnlyRestDto;

import java.util.List;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseStatus;
import org.springframework.web.bind.annotation.RestController;

/**
* This is the {@code JavadocOnlyRestController} class javadoc.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
package test.org.springdoc.api.app162.rest.util;

import test.org.springdoc.api.app162.exception.NoResultException;
import test.org.springdoc.api.app162.exception.NonUniqueResultException;

import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.ResponseStatus;
import org.springframework.web.bind.annotation.RestControllerAdvice;
import test.org.springdoc.api.app162.exception.NoResultException;
import test.org.springdoc.api.app162.exception.NonUniqueResultException;

/**
* REST exception handlers.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,22 @@
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.responses.ApiResponse;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import test.org.springdoc.api.app163.exception.NoResultException;
import test.org.springdoc.api.app163.exception.NonUniqueResultException;
import test.org.springdoc.api.app163.rest.dto.AnnotationOverrideForJavadocRestDto;

import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseStatus;
import org.springframework.web.bind.annotation.RestController;

/**
* This is the {@code AnnotationOverrideForJavadocRestController} class javadoc.
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package test.org.springdoc.api.app163.rest.dto;

import io.swagger.v3.oas.annotations.media.Schema;

/**
* This is the {@code AnnotationOverrideForJavadocRestDto2} class javadoc.
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
package test.org.springdoc.api.app163.rest.util;

import test.org.springdoc.api.app163.exception.NoResultException;
import test.org.springdoc.api.app163.exception.NonUniqueResultException;

import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.ResponseStatus;
import org.springframework.web.bind.annotation.RestControllerAdvice;
import test.org.springdoc.api.app163.exception.NoResultException;
import test.org.springdoc.api.app163.exception.NonUniqueResultException;

/**
* REST exception handlers.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

import io.swagger.v3.oas.models.OpenAPI;
import io.swagger.v3.oas.models.info.Info;
import test.org.springdoc.api.AbstractSpringDocTest;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.test.context.TestPropertySource;
import test.org.springdoc.api.AbstractSpringDocTest;

/**
* The type Spring doc app 164 test.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
package test.org.springdoc.api.app164.rest;

import test.org.springdoc.api.app164.exception.NoResultException;
import test.org.springdoc.api.app164.exception.NonUniqueResultException;

import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import test.org.springdoc.api.app164.exception.NoResultException;
import test.org.springdoc.api.app164.exception.NonUniqueResultException;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseStatus;
import org.springframework.web.bind.annotation.RestController;

/**
* This is the {@code JavadocOnlyRestController} class javadoc.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
package test.org.springdoc.api.app164.rest.util;

import test.org.springdoc.api.app164.exception.NoResultException;
import test.org.springdoc.api.app164.exception.NonUniqueResultException;

import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.ResponseStatus;
import org.springframework.web.bind.annotation.RestControllerAdvice;
import test.org.springdoc.api.app164.exception.NoResultException;
import test.org.springdoc.api.app164.exception.NonUniqueResultException;

/**
* REST exception handlers.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@

package test.org.springdoc.api.app145;

import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.junit.jupiter.api.Assertions.fail;

import org.junit.jupiter.api.Test;
import org.springdoc.core.Constants;
import test.org.springdoc.api.AbstractSpringDocActuatorTest;
Expand All @@ -31,6 +28,9 @@
import org.springframework.http.HttpStatus;
import org.springframework.web.reactive.function.client.WebClientResponseException;

import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.junit.jupiter.api.Assertions.fail;


@SpringBootTest(webEnvironment = WebEnvironment.DEFINED_PORT,
properties = { "management.endpoints.web.exposure.include:*",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

import org.junit.jupiter.api.Test;
import org.springdoc.core.Constants;

import test.org.springdoc.api.AbstractSpringDocActuatorTest;

import org.springframework.boot.autoconfigure.SpringBootApplication;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

import org.junit.jupiter.api.Test;
import org.springdoc.core.Constants;

import test.org.springdoc.api.AbstractSpringDocActuatorTest;

import org.springframework.boot.autoconfigure.SpringBootApplication;
Expand Down

0 comments on commit 9553470

Please sign in to comment.