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

@@ -1,6 +1,7 @@
package controllers;
import java.util.List;
import java.time.OffsetDateTime;
import apimodels.User;
import com.typesafe.config.Config;

View File

@@ -1,6 +1,7 @@
package controllers;
import java.util.List;
import java.time.OffsetDateTime;
import apimodels.User;
import play.mvc.Http;

View File

@@ -1,6 +1,7 @@
package controllers;
import java.util.List;
import java.time.OffsetDateTime;
import apimodels.User;
import com.google.inject.Inject;