Feat adds content and header properties to CodegenResponse (#11046)

* Adds responseHeaders to codegenResponse

* Sets response headers in codegenResponse

* Samples updated

* Adds test of response headers

* Adds content to CodegenResponse

* Sets codegenResponse content

* Tests added, test content-data.yaml spec update

* Adds mediaTypeSchemaSuffix input to getContent

* Tests updated

* Updates how response content schema names are set

* Adds missing Locale to String.format invocations
This commit is contained in:
Justin Black
2021-12-10 13:49:29 -08:00
committed by GitHub
parent c94d2b2331
commit cee5f75912
143 changed files with 365 additions and 86 deletions

View File

@@ -6,6 +6,7 @@
package org.openapitools.api;
import java.util.List;
import org.threeten.bp.OffsetDateTime;
import org.openapitools.model.User;
import io.swagger.annotations.*;
import org.springframework.http.ResponseEntity;

View File

@@ -1,6 +1,7 @@
package org.openapitools.api;
import java.util.List;
import org.threeten.bp.OffsetDateTime;
import org.openapitools.model.User;
import io.swagger.annotations.*;
import org.springframework.http.HttpStatus;

View File

@@ -1,6 +1,7 @@
package org.openapitools.api;
import java.util.List;
import org.threeten.bp.OffsetDateTime;
import org.openapitools.model.User;
import io.swagger.annotations.*;
import org.springframework.http.ResponseEntity;