mirror of
https://github.com/OpenBankProject/OBP-API.git
synced 2026-02-06 17:17:09 +00:00
Rename NoSupportYet => NotSupportedYet
This commit is contained in:
parent
d6056e1206
commit
044608fa16
@ -3740,9 +3740,9 @@ object SwaggerDefinitionsJSON {
|
||||
|
||||
//The common error or success format.
|
||||
//Just some helper format to use in Json
|
||||
case class NoSupportYet()
|
||||
case class NotSupportedYet()
|
||||
|
||||
val noSupportYet = NoSupportYet()
|
||||
val notSupportedYet = NotSupportedYet()
|
||||
|
||||
lazy val allFields: Seq[AnyRef] ={
|
||||
val allFieldsThisFile = ReflectUtils.getValues(this, List(nameOf(allFields)))
|
||||
|
||||
@ -187,7 +187,7 @@ object SwaggerJSONFactory {
|
||||
def setReferenceObject(rd: ResourceDoc): Option[ResponseObjectSchemaJson] = {
|
||||
val caseClassName = rd.successResponseBody match {
|
||||
case s:scala.Product => s.getClass.getSimpleName
|
||||
case _ => "NoSupportYet"
|
||||
case _ => "NotSupportedYet"
|
||||
}
|
||||
Some(ResponseObjectSchemaJson(s"#/definitions/${caseClassName}"))
|
||||
}
|
||||
@ -402,7 +402,7 @@ object SwaggerJSONFactory {
|
||||
parameters ={
|
||||
val caseClassName = rd.exampleRequestBody match {
|
||||
case s:scala.Product => s.getClass.getSimpleName
|
||||
case _ => "NoSupportYet"
|
||||
case _ => "NotSupportedYet"
|
||||
}//Here we only use `EmptyClassJson` to make sure the json body. now, for connector swagger, the get method also has body.
|
||||
// if ("EmptyClassJson".equals(caseClassName)){
|
||||
// pathParameters
|
||||
|
||||
Loading…
Reference in New Issue
Block a user