Thanks!

-----Original Message-----
From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Nadir Amra
Sent: Friday, July 14, 2017 3:02 PM
To: Web Enabling the IBM i (AS/400 and iSeries)
Subject: Re: [WEB400] Web Services - Swagger - Custom Header imports

Hi, You can edit the swagger document via the web service properties tab and add anything you want as long as it conforms to the spec.


"WEB400" <web400-bounces@xxxxxxxxxxxx> wrote on 07/14/2017 10:56:27 AM:

From: Mitch Gallman <mgallman@xxxxxxxxxxxx>
To: "Web Enabling the IBM i (AS/400 and iSeries)" <web400@xxxxxxxxxxxx>
Date: 07/14/2017 10:56 AM
Subject: Re: [WEB400] Web Services - Swagger - Custom Header imports
Sent by: "WEB400" <web400-bounces@xxxxxxxxxxxx>

Sorry, integrated web services. It produces an swagger document for
the web service.



-----Original Message-----
From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Scott
Klement
Sent: Friday, July 14, 2017 10:56 AM
To: Web Enabling the IBM i (AS/400 and iSeries)
Subject: Re: [WEB400] Web Services - Swagger - Custom Header imports

Is it possible to include these headers in what? What tool are you
trying to configure to use these headers?


On 7/14/2017 7:55 AM, Mitch Gallman wrote:
In the swagger definitions it includes the information for the
Accept and Content-Type header attributes.

Is it possible to include the custom header imports that you set
for the web service in the swagger definition?

I have the Authorization and X-Request-Id that I'm importing on my
web service but I still have to either modify the definition or
communicate it to the consumers.

--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400)
mailing list To post a message email: WEB400@xxxxxxxxxxxx To
subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/web400.

--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.