From dev-return-99784-archive-asf-public=cust-asf.ponee.io@geronimo.apache.org Mon Feb 11 17:06:52 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 84A3F180648 for ; Mon, 11 Feb 2019 18:06:51 +0100 (CET) Received: (qmail 85920 invoked by uid 500); 11 Feb 2019 17:06:50 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 85910 invoked by uid 99); 11 Feb 2019 17:06:49 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Feb 2019 17:06:49 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 8803BD1377 for ; Mon, 11 Feb 2019 17:06:49 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.801 X-Spam-Level: * X-Spam-Status: No, score=1.801 tagged_above=-999 required=6.31 tests=[DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id DGqH70DgNVtL for ; Mon, 11 Feb 2019 17:06:47 +0000 (UTC) Received: from mail-qt1-f169.google.com (mail-qt1-f169.google.com [209.85.160.169]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 4061E5F58B for ; Mon, 11 Feb 2019 17:06:47 +0000 (UTC) Received: by mail-qt1-f169.google.com with SMTP id o6so12985201qtk.6 for ; Mon, 11 Feb 2019 09:06:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=TnVC7FNe4KDhPZOKLeJCQGSV5e1M4G1JKBENMHHzeW0=; b=AkcKSzOKVRo8QyIUXaMBfq5rkRhfqj1caVSux2q2W9U4u7hAXjP9efD8oLIlYifG5P K2wQ/hZgUoRXuMqteYCqfceS7ntkngi2kV5rFWUS0p7C9ylMITidR2oLZF2IpPxOA+qt 4ad1HjhjT3WaM/nqR1F8NFudWQ94SUKQS39Qy+TB+swpGpahRoSevDXHu1nB31w2OQfW J2DqdKSjaVxgfVXoyFUYwvWZicoSOhmiEvDk2JMs5nNExffNVfXZ4D6r9VIMm3l3PzGq qjK96h7lJ4/KOrRVCUhpUxmETDPzX70tlmiVdmb9/2UM953CLmajKRWLaZ+fVrejF4ld /AXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=TnVC7FNe4KDhPZOKLeJCQGSV5e1M4G1JKBENMHHzeW0=; b=puNJ1ORj7na0BO0idmfqFoURI4O47mm3B/Y+YmGWjt9zAMNScRZE8H1EO+vb9Prkg5 JVgBR050f0Bpp9UZLgOXjKLsPxpSHQxzysXkOrZgpkf+wVw7gsaKeFvNPll2b98upAux 2YseGsFcIbx+jt5DoBSHaBoS1xTg7oC3/AWZ/nkQHvUE02Y8O4A9TaG3BiyS+MvUft0j 8DbQrLOo/WyoMN2/1i3cKHGsPeMFyOpGdzw7wyfu41j1/6qMSeYbKjruY7byMOwz7LwI EP5/iK1Hr0lWQ3gjTF4AfOhd6QAjMuPW2QuG4gW/boCVIGesDIBZArk0KGHt8rYSnAtm U7/g== X-Gm-Message-State: AHQUAuZotHyPk+vrFlcTGcW/SQUOQ+WfGV988FopCQxxDxiWh15q4XD4 zcj5zlUsoRctRVlpehoOL+g0UXBmip/0IrEvPafi3A== X-Google-Smtp-Source: AHgI3IaArcaV4HAMciqMEpfHwGpG9GJpbiZ7QoooGP7hIGb7UuYcAHLURti0YTysQ6f9nxLY/i6OCVeW15nLBWUhgnc= X-Received: by 2002:a0c:e1c9:: with SMTP id v9mr8013177qvl.186.1549904800620; Mon, 11 Feb 2019 09:06:40 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Romain Manni-Bucau Date: Mon, 11 Feb 2019 18:06:28 +0100 Message-ID: Subject: Re: "In" parameter not being populated OpenAPI To: dev@geronimo.apache.org Cc: dev@tomee.apache.org Content-Type: multipart/alternative; boundary="00000000000013a3910581a155df" --00000000000013a3910581a155df Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Then just upgrade? About the "not needed", it depends but not an issue by itself AFAIK. Le lun. 11 f=C3=A9vr. 2019 =C3=A0 17:37, Ivan Junckes Filho a =C3=A9crit : > This is how it is showing up in components, schemas. But with a lot of no= t > needed properties as this class has only telefone, mensagem and usuario. > > "br_com_gbrsistemas_crvirtual_sms_Sms": { > "deprecated": false, > "exclusiveMaximum": false, > "exclusiveMinimum": false, > "maxLength": 2147483647, > "minLength": 0, > "nullable": false, > "properties": { > "telefone": { > "type": "string" > }, > "mensagem": { > "type": "string" > }, > "usuario": { > "type": "string" > } > }, > "readOnly": false, > "type": "object", > "uniqueItems": false, > "writeOnly": false > }, > > Also the SNAPSHOT service path references the previous schema also with a > lot of not needed properties like deprecated, etc. > > /sms/enviar": { > "post": { > "deprecated": false, > "description": "Enviar SMS.", > "operationId": "enviarSms", > "parameters": [ > > ], > "requestBody": { > "content": { > "*/*": { > "schema": { > "$ref": > "#/components/schemas/br_com_gbrsistemas_crvirtual_sms_Sms", > "deprecated": false, > "exclusiveMaximum": false, > "exclusiveMinimum": false, > "maxLength": 2147483647, > "minLength": 0, > "nullable": false, > "readOnly": false, > "type": "object", > "uniqueItems": false, > "writeOnly": false > } > } > }, > "required": false > }, > "responses": { > "200": { > "content": { > "text/plain": { > "schema": { > "deprecated": false, > "exclusiveMaximum": false, > "exclusiveMinimum": false, > "maxLength": 2147483647, > "minLength": 0, > "nullable": false, > "readOnly": false, > "type": "string", > "uniqueItems": false, > "writeOnly": false > } > } > }, > "description": "Success" > }, > "400": { > "content": { > "200": { > > } > }, > "description": "Bad Request" > } > }, > "security": [ > { > "bearer": [ > > ] > } > ] > } > }, > > The current m2 version of TomEE doesn't even show ref or any schema > classes. > > On Mon, Feb 11, 2019 at 12:12 PM Romain Manni-Bucau > wrote: > >> Hi Ivan, no the mapping can need some polishing to become mainstream >> (cause it is not openapi role to reimplement all mappers logic) but the >> annotation mapping is done. >> This one can depend the companions this annotation has, some will imply >> it gets ignored but AFAIK TCK test that and we pass them. >> >> Romain Manni-Bucau >> @rmannibucau | Blog >> | Old Blog >> | Github >> | LinkedIn >> | Book >> >> >> >> Le lun. 11 f=C3=A9vr. 2019 =C3=A0 14:56, Ivan Junckes Filho >> a =C3=A9crit : >> >>> One thing I saw happening too, is when I add the annotation below it >>> doesn't get added to openapi. >>> >>> @RequestBody(content =3D @Content(schema =3D @Schema(implementation =3D= Sms.class))) >>> >>> >>> Is that because it is under development? >>> >>> >>> On Mon, Feb 11, 2019 at 11:38 AM Romain Manni-Bucau < >>> rmannibucau@gmail.com> wrote: >>> >>>> Yes Ivan, array mapping is in progress. In the meantime you can define >>>> your schema to ensure you control it and the implicit representation d= oes >>>> not depends on the way the impl parses it - which can not match your >>>> underlying mapper. >>>> >>>> Romain Manni-Bucau >>>> @rmannibucau | Blog >>>> | Old Blog >>>> | Github >>>> | LinkedIn >>>> | Book >>>> >>>> >>>> >>>> Le lun. 11 f=C3=A9vr. 2019 =C3=A0 14:23, Ivan Junckes Filho < >>>> ivanjunckes@gmail.com> a =C3=A9crit : >>>> >>>>> Looks like it is fixed in the master, but when I get the lib and add >>>>> to tomee it shows some bad behavior with the schemas. >>>>> >>>>> [image: image.png] >>>>> >>>>> On Mon, Feb 11, 2019 at 11:09 AM Ivan Junckes Filho < >>>>> ivanjunckes@gmail.com> wrote: >>>>> >>>>>> No I didn't, I will have a look. thanks >>>>>> >>>>>> On Mon, Feb 11, 2019 at 11:08 AM Romain Manni-Bucau < >>>>>> rmannibucau@gmail.com> wrote: >>>>>> >>>>>>> Hi Ivan, >>>>>>> >>>>>>> Did you test on the snapshot? we got some enhancements about it. >>>>>>> >>>>>>> Romain Manni-Bucau >>>>>>> @rmannibucau | Blog >>>>>>> | Old Blog >>>>>>> | Github < >>>>>>> https://github.com/rmannibucau> | >>>>>>> LinkedIn | Book >>>>>>> < >>>>>>> https://www.packtpub.com/application-development/java-ee-8-high-per= formance >>>>>>> > >>>>>>> >>>>>>> >>>>>>> Le lun. 11 f=C3=A9vr. 2019 =C3=A0 14:03, Ivan Junckes Filho < >>>>>>> ivanjunckes@gmail.com> a >>>>>>> =C3=A9crit : >>>>>>> >>>>>>> > Hey guys, I think there is an issue with parameters as the "in" >>>>>>> property >>>>>>> > is required by the spec and is not showing up. This affects >>>>>>> swagger-ui as >>>>>>> > it doesn't replace uf by the actual value. Anyone aware of this >>>>>>> issue? >>>>>>> > >>>>>>> > { >>>>>>> > "openapi": "3.0.1", >>>>>>> > "paths": { >>>>>>> > "/test/{uf}": { >>>>>>> > "get": { >>>>>>> > "deprecated": false, >>>>>>> > "description": "Test by UF.", >>>>>>> > "operationId": "test", >>>>>>> > "parameters": [ >>>>>>> > { >>>>>>> > "name": "uf", >>>>>>> > "required": true, >>>>>>> > "schema": { >>>>>>> > "type": "string" >>>>>>> > }, >>>>>>> > "style": "simple" >>>>>>> > } >>>>>>> > ], >>>>>>> > "responses": { >>>>>>> > "200": { >>>>>>> > "content": { >>>>>>> > "application/json": { >>>>>>> > "schema": { >>>>>>> > "deprecated": false, >>>>>>> > "exclusiveMaximum": false, >>>>>>> > "exclusiveMinimum": false, >>>>>>> > "items": { >>>>>>> > >>>>>>> > }, >>>>>>> > "maxLength": 2147483647, >>>>>>> > "minLength": 0, >>>>>>> > "nullable": false, >>>>>>> > "properties": { >>>>>>> > >>>>>>> > }, >>>>>>> > "readOnly": false, >>>>>>> > "uniqueItems": false, >>>>>>> > "writeOnly": false >>>>>>> > } >>>>>>> > } >>>>>>> > }, >>>>>>> > "description": "Success" >>>>>>> > }, >>>>>>> > "400": { >>>>>>> > "content": { >>>>>>> > "200": { >>>>>>> > >>>>>>> > } >>>>>>> > }, >>>>>>> > "description": "Bad Request" >>>>>>> > } >>>>>>> > }, >>>>>>> > >>>>>>> > } >>>>>>> > }, >>>>>>> > >>>>>>> > } >>>>>>> > ] >>>>>>> > } >>>>>>> > >>>>>>> >>>>>> --00000000000013a3910581a155df Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Then just upgrade?
About the "not n= eeded", it depends but not an issue by itself AFAIK.

Le lun. 11 f=C3=A9vr. 2019 =C3=A0= 17:37, Ivan Junckes Filho <iva= njunckes@gmail.com> a =C3=A9crit=C2=A0:
This is ho= w it is showing up in components, schemas. But with a lot of not needed pro= perties as=C2=A0 this class has only telefone, mensagem and usuario.
<= div dir=3D"ltr">
=C2=A0"br_com_gbrsistemas_crvirtual_sms_= Sms": {
=C2=A0 =C2=A0 =C2=A0 =C2=A0 "deprecated": = false,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 "exclusiveMaximum": = false,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 "exclusiveMinimum": = false,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 "maxLength": 2147483= 647,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 "minLength": 0,
<= div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 "nullable": false,
=C2= =A0 =C2=A0 =C2=A0 =C2=A0 "properties": {
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 "telefone": {
=C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 "type": "string"
=C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 },
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 "mensagem": {
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 "type": "string"
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 },
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "usuario= ": {
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "type&qu= ot;: "string"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 }
=C2=A0 =C2=A0 =C2=A0 =C2=A0 },
=C2=A0 =C2=A0 =C2=A0 =C2=A0 = "readOnly": false,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 "ty= pe": "object",
=C2=A0 =C2=A0 =C2=A0 =C2=A0 "u= niqueItems": false,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 "writeO= nly": false
=C2=A0 =C2=A0 =C2=A0 },

Also the SNAPSHOT service path references the previous schema also w= ith a lot of not needed properties like deprecated, etc.

/sms/enviar": {
=C2=A0 =C2=A0 =C2=A0 "post&= quot;: {
=C2=A0 =C2=A0 =C2=A0 =C2=A0 "deprecated": fals= e,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 "description": "Env= iar SMS.",
=C2=A0 =C2=A0 =C2=A0 =C2=A0 "operationId&quo= t;: "enviarSms",
=C2=A0 =C2=A0 =C2=A0 =C2=A0 "para= meters": [
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0
=C2=A0 =C2=A0 =C2=A0 =C2=A0 ],
=C2=A0 =C2=A0 =C2=A0 =C2=A0 &quo= t;requestBody": {
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "c= ontent": {
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "*= /*": {
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 &quo= t;schema": {
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 "$ref": "#/components/schemas/br_com_gbrsistemas_= crvirtual_sms_Sms",
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 "deprecated": false,
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "exclusiveMaximum": fal= se,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "= ;exclusiveMinimum": false,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 "maxLength": 2147483647,
=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "minLength":= 0,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "= ;nullable": false,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 "readOnly": false,
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "type": "object",
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "uniqu= eItems": false,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 "writeOnly": false
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 }
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 }
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 },
=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 "required": false
=C2=A0 = =C2=A0 =C2=A0 =C2=A0 },
=C2=A0 =C2=A0 =C2=A0 =C2=A0 "respons= es": {
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "200": {=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "content": {=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "text/plai= n": {
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 "schema": {
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 "deprecated": false,
=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "exclusiveMaxi= mum": false,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 "exclusiveMinimum": false,
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "maxLength":= 2147483647,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 "minLength": 0,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "nullable": false,
= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "readOn= ly": false,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 "type": "string",
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "uniqueItems"= ;: false,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 "writeOnly": false
=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 }
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 }
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 },
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "description": &q= uot;Success"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 },
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "400": {
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "content": {
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "200": {
=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 }
=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 },
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 &q= uot;description": "Bad Request"
=C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 }
=C2=A0 =C2=A0 =C2=A0 =C2=A0 },
=C2= =A0 =C2=A0 =C2=A0 =C2=A0 "security": [
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 {
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = "bearer": [
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0=C2=A0
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ]
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 }
=C2=A0 =C2=A0 =C2=A0 =C2= =A0 ]
=C2=A0 =C2=A0 =C2=A0 }
=C2=A0 =C2=A0 },

The current m2 version of TomEE doesn't even show= ref or any schema classes.

On Mon, Feb 11, 2019 at 12= :12 PM Romain Manni-Bucau <rmannibucau@gmail.com> wrote:
Hi I= van, no the mapping can need some polishing to become mainstream (cause it = is not openapi role to reimplement all mappers logic) but the annotation ma= pping is done.
This one can depend the companions this annotation has, = some will imply it gets ignored but AFAIK TCK test that and we pass them.

Romain Manni-Bucau@rmannibucau | =C2=A0Blog=C2=A0| Old Blog= |=C2=A0Github=C2=A0| LinkedIn=C2=A0| Book
=


Le=C2=A0lun. 11 f=C3=A9vr. 2019 =C3=A0=C2=A01= 4:56, Ivan Junckes Filho <ivanjunckes@gmail.com> a =C3=A9crit= =C2=A0:
One thing I saw happening too, is when I add the annotation below = it doesn't get added to openapi.

@RequestBody(content =3D @Content(schema =3D @=
Schema(implementation =3D Sms.class)))

Is that because it is under develo=
pment?

On Mon, Feb 11, 2019 at 11:38 AM Romain Manni-Bucau <<= a href=3D"mailto:rmannibucau@gmail.com" target=3D"_blank" rel=3D"noreferrer= ">rmannibucau@gmail.com> wrote:
Yes Ivan, array mapping is in progr= ess. In the meantime you can define your schema to ensure you control it an= d the implicit representation does not depends on the way the impl parses i= t - which can not match your underlying mapper.
=

Romain Manni-Bucau
@rmannibucau | =C2=A0Blog=C2=A0| Old Blog |=C2=A0Github=C2=A0| L= inkedIn=C2=A0| Book
<= /div>



No I didn't, I will have a loo= k. thanks

On Mon, Feb 11, 2019 at 11:08 AM Romain Manni-Bucau <rmannib= ucau@gmail.com> wrote:
Hi Ivan,

Did you test on the snapshot? we got some enhancements about it.

Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |= =C2=A0 Blog
<https://rmannibucau.metawerx.net/> | Old Blog=
<http://rmannibucau.wordpress.com> | Github <= ;https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibuc= au> | Book
<https://ww= w.packtpub.com/application-development/java-ee-8-high-performance>

Le lun. 11 f=C3=A9vr. 2019 =C3=A0 14:03, Ivan Junckes Filho <ivanjunc= kes@gmail.com> a
=C3=A9crit :

> Hey guys, I think there is an issue with parameters as the "in&qu= ot; property
> is required by the spec and is not showing up. This affects swagger-ui= as
> it doesn't replace uf by the actual value. Anyone aware of this is= sue?
>
> {
>=C2=A0 =C2=A0"openapi": "3.0.1",
>=C2=A0 =C2=A0"paths": {
>=C2=A0 =C2=A0 =C2=A0"/test/{uf}": {
>=C2=A0 =C2=A0 =C2=A0 =C2=A0"get": {
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"deprecated": false,
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"description": "Test b= y UF.",
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"operationId": "test&q= uot;,
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"parameters": [
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0{
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"name": "= ;uf",
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"required": t= rue,
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"schema": { >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"type"= : "string"
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0},
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"style": &quo= t;simple"
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0}
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0],
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"responses": {
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"200": {
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"content": {<= br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"applicatio= n/json": {
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"sch= ema": {
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0&q= uot;deprecated": false,
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0&q= uot;exclusiveMaximum": false,
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0&q= uot;exclusiveMinimum": false,
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0&q= uot;items": {
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0},=
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0&q= uot;maxLength": 2147483647,
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0&q= uot;minLength": 0,
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0&q= uot;nullable": false,
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0&q= uot;properties": {
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0},=
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0&q= uot;readOnly": false,
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0&q= uot;uniqueItems": false,
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0&q= uot;writeOnly": false
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0}
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0}
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0},
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"description"= : "Success"
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0},
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"400": {
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"content": {<= br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"200":= {
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0}
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0},
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"description"= : "Bad Request"
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0}
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0},
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0}
>=C2=A0 =C2=A0 =C2=A0},
>
>=C2=A0 =C2=A0}
>=C2=A0 =C2=A0]
> }
>
--00000000000013a3910581a155df--