mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-29 12:03:44 +03:00
469 lines
1.0 MiB
HTML
469 lines
1.0 MiB
HTML
|
<!DOCTYPE html>
|
|||
|
<html>
|
|||
|
<head>
|
|||
|
<meta charset="utf8" />
|
|||
|
<title>ReDoc</title>
|
|||
|
<!-- needed for adaptive design -->
|
|||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|||
|
<style>
|
|||
|
body {
|
|||
|
padding: 0;
|
|||
|
margin: 0;
|
|||
|
}
|
|||
|
</style>
|
|||
|
<script>!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("null"),function(){try{return require("esprima")}catch(e){}}()):"function"==typeof define&&define.amd?define(["null","esprima"],t):"object"==typeof exports?exports.Redoc=t(require("null"),function(){try{return require("esprima")}catch(e){}}()):e.Redoc=t(e.null,e.esprima)}(this,function(e,t){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=293)}([function(e,t,n){"use strict";e.exports=n(250)},function(e,t,n){"use strict";n.d(t,"f",function(){return h}),n.d(t,"b",function(){return u}),n.d(t,"d",function(){return p}),n.d(t,"e",function(){return f}),n.d(t,"a",function(){return d}),n.d(t,"g",function(){return o});var r=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};function o(e){return e}var i,a,s,c=n(13),l=c.default,u=c.css,p=c.injectGlobal,f=c.keyframes,d=c.ThemeProvider,h=(c.withTheme,{lessThan:function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return u(i||(i=r(["\n @media (max-width: ",") {\n ",";\n }\n "],["\n @media (max-width: ",") {\n ",";\n }\n "])),function(t){return t.theme.breakpoints[e]},u.apply(void 0,t))}},greaterThan:function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return u(a||(a=r(["\n @media (min-width: ",") {\n ",";\n }\n "],["\n @media (min-width: ",") {\n ",";\n }\n "])),function(t){return t.theme.breakpoints[e]},u.apply(void 0,t))}},between:function(e,t){return function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];return u(s||(s=r(["\n @media (min-width: ",") and (max-width: ",") {\n ",";\n }\n "],["\n @media (min-width: ",") and (max-width: ",") {\n ",";\n }\n "])),function(t){return t.theme.breakpoints[e]},function(e){return e.theme.breakpoints[t]},u.apply(void 0,n))}}});t.c=l},function(e,t,n){"use strict";var r=n(40),o=n(19),i=n(41),a=n(67),s=(n(168),n(167),n(166),n(165),n(164),n(163),n(162),n(161),n(160),n(159),n(158),n(157),n(156),n(155),n(154),n(153),n(152),n(151),n(150),n(149),n(1)),c=n(140),l=n.n(c),u=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object(s.d)(p||(p=u(["",""],["",""])),l.a);var p,f="clike";function d(e){return{json:"js","c++":"cpp","c#":"csharp","objective-c":"objectivec",shell:"bash",viml:"vim"}[e]||f}function h(e,t){var n=a.languages[t];return n||(n=a.languages[d(t)]),a.highlight(e,n)}var m=n(64),g=n(16);function y(e){return function(t,n,r){var o,i,a,s,c,l,u,p;r.value=(o=r.value,i=e,l=null,u=0,p=function(){u=(new Date).getTime(),l=null,c=o.apply(a,s),l||(a=s=null)},function(){var e=(new Date).getTime(),t=i-(e-u);return a=this,s=arguments,t<=0||t>i?(l&&(clearTimeout(l),l=null),u=e,c=o.apply(a,s),l||(a=s=null)):l||(l=setTimeout(p,t)),c})}}var v=n(33);n.d(t,"a",function(){return r.a}),n.d(t,"g",function(){return o.d}),n.d(t,"o",function(){return o.h}),n.d(t,"f",function(){return o.c}),n.d(t,"d",function(){return o.b}),n.d(t,"p",function(){return o.i}),n.d(t,"m",function(){return o.f}),n.d(t,"q",function(){return o.j}),n.d(t,"n",function(){return o.g}),n.d(t,"j",function(){return o.e}),n.d(t,"v",function(){return o.k}),n.d(t,!1,function(){return o.a}),n.d(t,"t",function(){return i.f}),n.d(t,"s",function(){return i.e}),n.d(t,"e",function(){return i.b}),n.d(t,"w",function(){return i.h}),n.d(t,"k",function(){return i.c}),n.d(t,!1,function(){return i.d}),n.d(t,"c",function(){return i.a}),n.d(t,!1,function(){
|
|||
|
/*! *****************************************************************************
|
|||
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
|||
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|||
|
this file except in compliance with the License. You may obtain a copy of the
|
|||
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
|||
|
|
|||
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|||
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|||
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|||
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|||
|
|
|||
|
See the Apache Version 2.0 License for specific language governing permissions
|
|||
|
and limitations under the License.
|
|||
|
***************************************************************************** */
|
|||
|
var o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};function i(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e};function s(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function c(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(s(arguments[t]));return e}var l={},u={};function p(e){if(!0!==e.__mobxDidRunLazyInitializers){var t=e.__mobxDecorators;if(t)for(var n in pt(e,"__mobxDidRunLazyInitializers",!0),t){var r=t[n];r.propertyCreator(e,r.prop,r.descriptor,r.decoratorTarget,r.decoratorArguments)}}}function f(e,t){return function(){var n,r,o=function(r,o,i,s){if(!0===s)return t(r,o,i,r,n),null;if(!Object.prototype.hasOwnProperty.call(r,"__mobxDecorators")){var c=r.__mobxDecorators;pt(r,"__mobxDecorators",a({},c))}return r.__mobxDecorators[o]={prop:o,propertyCreator:t,descriptor:i,decoratorTarget:r,decoratorArguments:n},function(e,t){var n=t?l:u;return n[e]||(n[e]={configurable:!0,enumerable:t,get:function(){return p(this),this[e]},set:function(t){p(this),this[e]=t}})}(o,e)};return(2===(r=arguments).length||3===r.length)&&"string"==typeof r[1]||4===r.length&&!0===r[3]?(n=et,o.apply(null,arguments)):(n=Array.prototype.slice.call(arguments),o)}}function d(){return!!xt.spyListeners.length}function h(e){if(xt.spyListeners.length)for(var t=xt.spyListeners,n=0,r=t.length;n<r;n++)t[n](e)}function m(e){h(a({},e,{spyReportStart:!0}))}var g={spyReportEnd:!0};function y(e){h(e?a({},e,{spyReportEnd:!0}):g)}function v(e){return xt.spyListeners.push(e),st(function(){var t=xt.spyListeners.indexOf(e);-1!==t&&xt.spyListeners.splice(t,1)})}function b(e,t){var n=function(){return w(e,t,this,arguments)};return n.isMobxAction=!0,n}function w(e,t,n,r){var o=function(e,t,n,r){var o=d()&&!!e,i=0;if(o){i=Date.now();var a=r&&r.length||0,s=new Array(a);if(a>0)for(var c=0;c<a;c++)s[c]=r[c];m({type:"action",name:e,object:n,arguments:s})}var l=Bt();At();var u=k(!0);return{prevDerivation:l,prevAllowStateChanges:u,notifySpy:o,startTime:i}}(e,0,n,r);try{return t.apply(n,r)}finally{!function(e){O(e.prevAllowStateChanges),Tt(),Ut(e.prevDerivation),e.notifySpy&&y({time:Date.now()-e.startTime})}(o)}}function x(e,t){var n,r=k(e);try{n=t()}finally{O(r)}return n}function k(e){var t=xt.allowStateChanges;return xt.allowStateChanges=e,t}function O(e){xt.allowStateChanges=e}function _(){ot(!1)}function E(e){return function(t,n,r){if(r){if(r.value)return{value:b(e,r.value),enumerable:!1,configurable:!1,writable:!0};var o=r.initializer;return{enumerable:!1,configurable:!1,writable:!1,initializer:function(){return b(e,o.call(this))}}}return function(e){return function(t,n,r){Object.defineProperty(t,n,{configurable:!0,enumerable:!1,get:function(){},set:function(t){ft(this,n,S(e,t))}})}}(e).apply(this,arguments)}}var S=function(e,t,n,r){return 1===arguments.length&&"function"==typeof e?b(e.name||"<unnamed action>",e):2===arguments.length&&"function"==typeof t?b(e,t):1===arguments.length&&"string"==typeof e?E(e):!0!==r?E(t).apply(null,arguments):void(e[t]=b(e.name||t,n.value))};function C(e,t,n){pt(e,t,b(t,n.bind(e)))}S.bound=function(e,t,n,r){return!0===r?(C(e,t,n.value),null):n?{configurable:!0,enumerable:!1,get:function(){return C(this,t,n.value||n.initializer.call(this)),this[t]},set:_}:{enumerable:!1,configurable:!0,set:function(e){C(this,t,e)},get:function(){}}};var A=Object.prototype.toString;function T(e,t){return j(e,t)}function j(e,t,n,r){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var o=typeof e;return("function"===o||"object"===o||"object"==typeof t)&&function(e,t,n,r){e=P
|
|||
|
/*!
|
|||
|
* The buffer module from node.js, for the browser.
|
|||
|
*
|
|||
|
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
|
|||
|
* @license MIT
|
|||
|
*/
|
|||
|
var r=n(237),o=n(236),i=n(118);function a(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(a()<t)throw new RangeError("Invalid typed array length");return c.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=c.prototype:(null===e&&(e=new c(t)),e.length=t),e}function c(e,t,n){if(!(c.TYPED_ARRAY_SUPPORT||this instanceof c))return new c(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return p(this,e)}return l(this,e,t,n)}function l(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r);c.TYPED_ARRAY_SUPPORT?(e=t).__proto__=c.prototype:e=f(e,t);return e}(e,t,n,r):"string"==typeof t?function(e,t,n){"string"==typeof n&&""!==n||(n="utf8");if(!c.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|h(t,n),o=(e=s(e,r)).write(t,n);o!==r&&(e=e.slice(0,o));return e}(e,t,n):function(e,t){if(c.isBuffer(t)){var n=0|d(t.length);return 0===(e=s(e,n)).length?e:(t.copy(e,0,0,n),e)}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(r=t.length)!=r?s(e,0):f(e,t);if("Buffer"===t.type&&i(t.data))return f(e,t.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function u(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function p(e,t){if(u(t),e=s(e,t<0?0:0|d(t)),!c.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function f(e,t){var n=t.length<0?0:0|d(t.length);e=s(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function d(e){if(e>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function h(e,t){if(c.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return U(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return z(e).length;default:if(r)return U(e).length;t=(""+t).toLowerCase(),r=!0}}function m(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function g(e,t,n,r,o){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof t&&(t=c.from(t,r)),c.isBuffer(t))return 0===t.length?-1:y(e,t,n,r,o);if("number"==typeof t)return t&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):y(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function y(e,t,n,r,o){var i,a=1,s=e.length,c=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,c/=2,n/=2}function l(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var u=-1;for(i=n;i<s;i++)if(l(e,i)===l(t,-1===u?0:i-u)){if(-1===u&&(u=i),i-u+1===c)return u*a}else-1!==u&&(i-=i-u),u=-1}else for(n+c>s&&(n=s-c),i=n;i>=0;i--){for(var p=!0,f=0;f<c;f++)if(l(e,i+f)!==l(t,f)){p=!1;break}if(p)return i}return-1}function v(e,t,n,r){n=Number(n)||0;var o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;var i=t.length;if(i%2!=0)throw new TypeError("Invalid he
|
|||
|
/*!
|
|||
|
Copyright (c) 2016 Jed Watson.
|
|||
|
Licensed under the MIT License (MIT), see
|
|||
|
http://jedwatson.github.io/classnames
|
|||
|
*/
|
|||
|
/*!
|
|||
|
Copyright (c) 2016 Jed Watson.
|
|||
|
Licensed under the MIT License (MIT), see
|
|||
|
http://jedwatson.github.io/classnames
|
|||
|
*/
|
|||
|
!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r))e.push(o.apply(null,r));else if("object"===i)for(var a in r)n.call(r,a)&&r[a]&&e.push(a)}}return e.join(" ")}void 0!==e&&e.exports?e.exports=o:void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){"use strict";var r=n(207),o=n(205);function i(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=b,t.resolve=function(e,t){return b(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?b(e,!1,!0).resolveObject(t):t},t.format=function(e){o.isString(e)&&(e=b(e));return e instanceof i?e.format():i.prototype.format.call(e)},t.Url=i;var a=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,c=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,l=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(l),p=["%","/","?",";","#"].concat(u),f=["/","?","#"],d=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},g={javascript:!0,"javascript:":!0},y={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=n(204);function b(e,t,n){if(e&&o.isObject(e)&&e instanceof i)return e;var r=new i;return r.parse(e,t,n),r}i.prototype.parse=function(e,t,n){if(!o.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var i=e.indexOf("?"),s=-1!==i&&i<e.indexOf("#")?"?":"#",l=e.split(s);l[0]=l[0].replace(/\\/g,"/");var b=e=l.join(s);if(b=b.trim(),!n&&1===e.split("#").length){var w=c.exec(b);if(w)return this.path=b,this.href=b,this.pathname=w[1],w[2]?(this.search=w[2],this.query=t?v.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var x=a.exec(b);if(x){var k=(x=x[0]).toLowerCase();this.protocol=k,b=b.substr(x.length)}if(n||x||b.match(/^\/\/[^@\/]+@[^@\/]+/)){var O="//"===b.substr(0,2);!O||x&&g[x]||(b=b.substr(2),this.slashes=!0)}if(!g[x]&&(O||x&&!y[x])){for(var _,E,S=-1,C=0;C<f.length;C++){-1!==(A=b.indexOf(f[C]))&&(-1===S||A<S)&&(S=A)}-1!==(E=-1===S?b.lastIndexOf("@"):b.lastIndexOf("@",S))&&(_=b.slice(0,E),b=b.slice(E+1),this.auth=decodeURIComponent(_)),S=-1;for(C=0;C<p.length;C++){var A;-1!==(A=b.indexOf(p[C]))&&(-1===S||A<S)&&(S=A)}-1===S&&(S=b.length),this.host=b.slice(0,S),b=b.slice(S),this.parseHost(),this.hostname=this.hostname||"";var T="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!T)for(var j=this.hostname.split(/\./),P=(C=0,j.length);C<P;C++){var I=j[C];if(I&&!I.match(d)){for(var R="",N=0,F=I.length;N<F;N++)I.charCodeAt(N)>127?R+="x":R+=I[N];if(!R.match(d)){var L=j.slice(0,C),M=j.slice(C+1),D=I.match(h);D&&(L.push(D[1]),M.unshift(D[2])),M.length&&(b="/"+M.join(".")+b),this.hostname=L.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),T||(this.hostname=r.toASCII(this.hostname));var B=this.port?":"+this.port:"",U=this.hostname||"";this.host=U+B,this.href+=this.host,T&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==b[0]&&(b="/"+b))}if(!m[k])for(C=0,P=u.length;C<P;C++){var z=u[C];if(-1!==b.indexOf(z)){var $=encodeURIComponent(z);$===z&&($=escape(z)),b=b.split(z).join($)}}var W=b.indexOf("#");-1!==W&&(this.hash=b.substr(W),b=b.slice(0,W));var q=b.indexOf("?");if(-1!==q?(this.search=b.substr(q),this.query=b.substr(q+1),t&&(this.query=v.parse(this.query)),b=b.slice(0,q)):t&&(this.search="",this.query={}),b&&(this.pathname=b),y[k]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){B=this.pathname||"";var H=this.search||"";this.path=B+H}return this.href=this.format(),this},i.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",i=!1,a="";this.host?i=e+this.host:this.hostname&&(i
|
|||
|
/**
|
|||
|
* lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.1.6
|
|||
|
* Copyright (C) 2018 Oliver Nightingale
|
|||
|
* @license MIT
|
|||
|
*/!function(){var i,a,s,c,l,u,p,f,d,h,m,g,y,v,b,w,x,k,O,_,E,S,C,A,T,j,P=function(e){var t=new P.Builder;return t.pipeline.add(P.trimmer,P.stopWordFilter,P.stemmer),t.searchPipeline.add(P.stemmer),e.call(t,t),t.build()};P.version="2.1.6"
|
|||
|
/*!
|
|||
|
* lunr.utils
|
|||
|
* Copyright (C) 2018 Oliver Nightingale
|
|||
|
*/,P.utils={},P.utils.warn=(i=this,function(e){i.console&&console.warn&&console.warn(e)}),P.utils.asString=function(e){return void 0===e||null===e?"":e.toString()},P.FieldRef=function(e,t,n){this.docRef=e,this.fieldName=t,this._stringValue=n},P.FieldRef.joiner="/",P.FieldRef.fromString=function(e){var t=e.indexOf(P.FieldRef.joiner);if(-1===t)throw"malformed field ref string";var n=e.slice(0,t),r=e.slice(t+1);return new P.FieldRef(r,n,e)},P.FieldRef.prototype.toString=function(){return void 0==this._stringValue&&(this._stringValue=this.fieldName+P.FieldRef.joiner+this.docRef),this._stringValue},P.idf=function(e,t){var n=0;for(var r in e)"_index"!=r&&(n+=Object.keys(e[r]).length);var o=(t-n+.5)/(n+.5);return Math.log(1+Math.abs(o))},P.Token=function(e,t){this.str=e||"",this.metadata=t||{}},P.Token.prototype.toString=function(){return this.str},P.Token.prototype.update=function(e){return this.str=e(this.str,this.metadata),this},P.Token.prototype.clone=function(e){return e=e||function(e){return e},new P.Token(e(this.str,this.metadata),this.metadata)}
|
|||
|
/*!
|
|||
|
* lunr.tokenizer
|
|||
|
* Copyright (C) 2018 Oliver Nightingale
|
|||
|
*/,P.tokenizer=function(e){if(null==e||void 0==e)return[];if(Array.isArray(e))return e.map(function(e){return new P.Token(P.utils.asString(e).toLowerCase())});for(var t=e.toString().trim().toLowerCase(),n=t.length,r=[],o=0,i=0;o<=n;o++){var a=o-i;(t.charAt(o).match(P.tokenizer.separator)||o==n)&&(a>0&&r.push(new P.Token(t.slice(i,o),{position:[i,a],index:r.length})),i=o+1)}return r},P.tokenizer.separator=/[\s\-]+/
|
|||
|
/*!
|
|||
|
* lunr.Pipeline
|
|||
|
* Copyright (C) 2018 Oliver Nightingale
|
|||
|
*/,P.Pipeline=function(){this._stack=[]},P.Pipeline.registeredFunctions=Object.create(null),P.Pipeline.registerFunction=function(e,t){t in this.registeredFunctions&&P.utils.warn("Overwriting existing registered function: "+t),e.label=t,P.Pipeline.registeredFunctions[e.label]=e},P.Pipeline.warnIfFunctionNotRegistered=function(e){e.label&&e.label in this.registeredFunctions||P.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",e)},P.Pipeline.load=function(e){var t=new P.Pipeline;return e.forEach(function(e){var n=P.Pipeline.registeredFunctions[e];if(!n)throw new Error("Cannot load unregistered function: "+e);t.add(n)}),t},P.Pipeline.prototype.add=function(){Array.prototype.slice.call(arguments).forEach(function(e){P.Pipeline.warnIfFunctionNotRegistered(e),this._stack.push(e)},this)},P.Pipeline.prototype.after=function(e,t){P.Pipeline.warnIfFunctionNotRegistered(t);var n=this._stack.indexOf(e);if(-1==n)throw new Error("Cannot find existingFn");n+=1,this._stack.splice(n,0,t)},P.Pipeline.prototype.before=function(e,t){P.Pipeline.warnIfFunctionNotRegistered(t);var n=this._stack.indexOf(e);if(-1==n)throw new Error("Cannot find existingFn");this._stack.splice(n,0,t)},P.Pipeline.prototype.remove=function(e){var t=this._stack.indexOf(e);-1!=t&&this._stack.splice(t,1)},P.Pipeline.prototype.run=function(e){for(var t=this._stack.length,n=0;n<t;n++){for(var r=this._stack[n],o=[],i=0;i<e.length;i++){var a=r(e[i],i,e);if(void 0!==a&&""!==a)if(a instanceof Array)for(var s=0;s<a.length;s++)o.push(a[s]);else o.push(a)}e=o}return e},P.Pipeline.prototype.runString=function(e){var t=new P.Token(e);return this.run([t]).map(function(e){return e.toString()})},P.Pipeline.prototype.reset=function(){this._stack=[]},P.Pipeline.prototype.toJSON=function(){return this._stack.map(function(e){return P.Pipeline.warnIfFunctionNotRegistered(e),e.label})}
|
|||
|
/*!
|
|||
|
* lunr.Vector
|
|||
|
* Copyright (C) 2018 Oliver Nightingale
|
|||
|
*/,P.Vector=function(e){this._magnitude=0,this.elements=e||[]},P.Vector.prototype.positionForIndex=function(e){if(0==this.elements.length)return 0;for(var t=0,n=this.elements.length/2,r=n-t,o=Math.floor(r/2),i=this.elements[2*o];r>1&&(i<e&&(t=o),i>e&&(n=o),i!=e);)r=n-t,o=t+Math.floor(r/2),i=this.elements[2*o];return i==e?2*o:i>e?2*o:i<e?2*(o+1):void 0},P.Vector.prototype.insert=function(e,t){this.upsert(e,t,function(){throw"duplicate index"})},P.Vector.prototype.upsert=function(e,t,n){this._magnitude=0;var r=this.positionForIndex(e);this.elements[r]==e?this.elements[r+1]=n(this.elements[r+1],t):this.elements.splice(r,0,e,t)},P.Vector.prototype.magnitude=function(){if(this._magnitude)return this._magnitude;for(var e=0,t=this.elements.length,n=1;n<t;n+=2){var r=this.elements[n];e+=r*r}return this._magnitude=Math.sqrt(e)},P.Vector.prototype.dot=function(e){for(var t=0,n=this.elements,r=e.elements,o=n.length,i=r.length,a=0,s=0,c=0,l=0;c<o&&l<i;)(a=n[c])<(s=r[l])?c+=2:a>s?l+=2:a==s&&(t+=n[c+1]*r[l+1],c+=2,l+=2);return t},P.Vector.prototype.similarity=function(e){return this.dot(e)/(this.magnitude()*e.magnitude())},P.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),t=1,n=0;t<this.elements.length;t+=2,n++)e[n]=this.elements[t];return e},P.Vector.prototype.toJSON=function(){return this.elements}
|
|||
|
/*!
|
|||
|
* lunr.stemmer
|
|||
|
* Copyright (C) 2018 Oliver Nightingale
|
|||
|
* Includes code from - http://tartarus.org/~martin/PorterStemmer/js.txt
|
|||
|
*/,P.stemmer=(a={ational:"ate",tional:"tion",enci:"ence",anci:"ance",izer:"ize",bli:"ble",alli:"al",entli:"ent",eli:"e",ousli:"ous",ization:"ize",ation:"ate",ator:"ate",alism:"al",iveness:"ive",fulness:"ful",ousness:"ous",aliti:"al",iviti:"ive",biliti:"ble",logi:"log"},s={icate:"ic",ative:"",alize:"al",iciti:"ic",ical:"ic",ful:"",ness:""},c="[aeiouy]",l="[^aeiou][^aeiouy]*",u=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy][aeiou]*[^aeiou][^aeiouy]*"),p=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy][aeiou]*[^aeiou][^aeiouy]*[aeiouy][aeiou]*[^aeiou][^aeiouy]*"),f=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy][aeiou]*[^aeiou][^aeiouy]*([aeiouy][aeiou]*)?$"),d=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy]"),h=/^(.+?)(ss|i)es$/,m=/^(.+?)([^s])s$/,g=/^(.+?)eed$/,y=/^(.+?)(ed|ing)$/,v=/.$/,b=/(at|bl|iz)$/,w=new RegExp("([^aeiouylsz])\\1$"),x=new RegExp("^"+l+c+"[^aeiouwxy]$"),k=/^(.+?[^aeiou])y$/,O=/^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/,_=/^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/,E=/^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/,S=/^(.+?)(s|t)(ion)$/,C=/^(.+?)e$/,A=/ll$/,T=new RegExp("^"+l+c+"[^aeiouwxy]$"),j=function(e){var t,n,r,o,i,c,l;if(e.length<3)return e;if("y"==(r=e.substr(0,1))&&(e=r.toUpperCase()+e.substr(1)),i=m,(o=h).test(e)?e=e.replace(o,"$1$2"):i.test(e)&&(e=e.replace(i,"$1$2")),i=y,(o=g).test(e)){var j=o.exec(e);(o=u).test(j[1])&&(o=v,e=e.replace(o,""))}else if(i.test(e)){t=(j=i.exec(e))[1],(i=d).test(t)&&(c=w,l=x,(i=b).test(e=t)?e+="e":c.test(e)?(o=v,e=e.replace(o,"")):l.test(e)&&(e+="e"))}(o=k).test(e)&&(e=(t=(j=o.exec(e))[1])+"i");(o=O).test(e)&&(t=(j=o.exec(e))[1],n=j[2],(o=u).test(t)&&(e=t+a[n]));(o=_).test(e)&&(t=(j=o.exec(e))[1],n=j[2],(o=u).test(t)&&(e=t+s[n]));if(i=S,(o=E).test(e))t=(j=o.exec(e))[1],(o=p).test(t)&&(e=t);else if(i.test(e)){t=(j=i.exec(e))[1]+j[2],(i=p).test(t)&&(e=t)}(o=C).test(e)&&(t=(j=o.exec(e))[1],i=f,c=T,((o=p).test(t)||i.test(t)&&!c.test(t))&&(e=t));return i=p,(o=A).test(e)&&i.test(e)&&(o=v,e=e.replace(o,"")),"y"==r&&(e=r.toLowerCase()+e.substr(1)),e},function(e){return e.update(j)}),P.Pipeline.registerFunction(P.stemmer,"stemmer")
|
|||
|
/*!
|
|||
|
* lunr.stopWordFilter
|
|||
|
* Copyright (C) 2018 Oliver Nightingale
|
|||
|
*/,P.generateStopWordFilter=function(e){var t=e.reduce(function(e,t){return e[t]=t,e},{});return function(e){if(e&&t[e.toString()]!==e.toString())return e}},P.stopWordFilter=P.generateStopWordFilter(["a","able","about","across","after","all","almost","also","am","among","an","and","any","are","as","at","be","because","been","but","by","can","cannot","could","dear","did","do","does","either","else","ever","every","for","from","get","got","had","has","have","he","her","hers","him","his","how","however","i","if","in","into","is","it","its","just","least","let","like","likely","may","me","might","most","must","my","neither","no","nor","not","of","off","often","on","only","or","other","our","own","rather","said","say","says","she","should","since","so","some","than","that","the","their","them","then","there","these","they","this","tis","to","too","twas","us","wants","was","we","were","what","when","where","which","while","who","whom","why","will","with","would","yet","you","your"]),P.Pipeline.registerFunction(P.stopWordFilter,"stopWordFilter")
|
|||
|
/*!
|
|||
|
* lunr.trimmer
|
|||
|
* Copyright (C) 2018 Oliver Nightingale
|
|||
|
*/,P.trimmer=function(e){return e.update(function(e){return e.replace(/^\W+/,"").replace(/\W+$/,"")})},P.Pipeline.registerFunction(P.trimmer,"trimmer")
|
|||
|
/*!
|
|||
|
* lunr.TokenSet
|
|||
|
* Copyright (C) 2018 Oliver Nightingale
|
|||
|
*/,P.TokenSet=function(){this.final=!1,this.edges={},this.id=P.TokenSet._nextId,P.TokenSet._nextId+=1},P.TokenSet._nextId=1,P.TokenSet.fromArray=function(e){for(var t=new P.TokenSet.Builder,n=0,r=e.length;n<r;n++)t.insert(e[n]);return t.finish(),t.root},P.TokenSet.fromClause=function(e){return"editDistance"in e?P.TokenSet.fromFuzzyString(e.term,e.editDistance):P.TokenSet.fromString(e.term)},P.TokenSet.fromFuzzyString=function(e,t){for(var n=new P.TokenSet,r=[{node:n,editsRemaining:t,str:e}];r.length;){var o,i,a,s=r.pop();if(s.str.length>0)(i=s.str.charAt(0))in s.node.edges?o=s.node.edges[i]:(o=new P.TokenSet,s.node.edges[i]=o),1==s.str.length?o.final=!0:r.push({node:o,editsRemaining:s.editsRemaining,str:s.str.slice(1)});if(s.editsRemaining>0&&s.str.length>1)(i=s.str.charAt(1))in s.node.edges?a=s.node.edges[i]:(a=new P.TokenSet,s.node.edges[i]=a),s.str.length<=2?a.final=!0:r.push({node:a,editsRemaining:s.editsRemaining-1,str:s.str.slice(2)});if(s.editsRemaining>0&&1==s.str.length&&(s.node.final=!0),s.editsRemaining>0&&s.str.length>=1){if("*"in s.node.edges)var c=s.node.edges["*"];else{c=new P.TokenSet;s.node.edges["*"]=c}1==s.str.length?c.final=!0:r.push({node:c,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)})}if(s.editsRemaining>0){if("*"in s.node.edges)var l=s.node.edges["*"];else{l=new P.TokenSet;s.node.edges["*"]=l}0==s.str.length?l.final=!0:r.push({node:l,editsRemaining:s.editsRemaining-1,str:s.str})}if(s.editsRemaining>0&&s.str.length>1){var u,p=s.str.charAt(0),f=s.str.charAt(1);f in s.node.edges?u=s.node.edges[f]:(u=new P.TokenSet,s.node.edges[f]=u),1==s.str.length?u.final=!0:r.push({node:u,editsRemaining:s.editsRemaining-1,str:p+s.str.slice(2)})}}return n},P.TokenSet.fromString=function(e){for(var t=new P.TokenSet,n=t,r=!1,o=0,i=e.length;o<i;o++){var a=e[o],s=o==i-1;if("*"==a)r=!0,t.edges[a]=t,t.final=s;else{var c=new P.TokenSet;c.final=s,t.edges[a]=c,t=c,r&&(t.edges["*"]=n)}}return n},P.TokenSet.prototype.toArray=function(){for(var e=[],t=[{prefix:"",node:this}];t.length;){var n=t.pop(),r=Object.keys(n.node.edges),o=r.length;n.node.final&&e.push(n.prefix);for(var i=0;i<o;i++){var a=r[i];t.push({prefix:n.prefix.concat(a),node:n.node.edges[a]})}}return e},P.TokenSet.prototype.toString=function(){if(this._str)return this._str;for(var e=this.final?"1":"0",t=Object.keys(this.edges).sort(),n=t.length,r=0;r<n;r++){var o=t[r];e=e+o+this.edges[o].id}return e},P.TokenSet.prototype.intersect=function(e){for(var t=new P.TokenSet,n=void 0,r=[{qNode:e,output:t,node:this}];r.length;){n=r.pop();for(var o=Object.keys(n.qNode.edges),i=o.length,a=Object.keys(n.node.edges),s=a.length,c=0;c<i;c++)for(var l=o[c],u=0;u<s;u++){var p=a[u];if(p==l||"*"==l){var f=n.node.edges[p],d=n.qNode.edges[l],h=f.final&&d.final,m=void 0;p in n.output.edges?(m=n.output.edges[p]).final=m.final||h:((m=new P.TokenSet).final=h,n.output.edges[p]=m),r.push({qNode:d,output:m,node:f})}}}return t},P.TokenSet.Builder=function(){this.previousWord="",this.root=new P.TokenSet,this.uncheckedNodes=[],this.minimizedNodes={}},P.TokenSet.Builder.prototype.insert=function(e){var t,n=0;if(e<this.previousWord)throw new Error("Out of order word insertion");for(var r=0;r<e.length&&r<this.previousWord.length&&e[r]==this.previousWord[r];r++)n++;this.minimize(n),t=0==this.uncheckedNodes.length?this.root:this.uncheckedNodes[this.uncheckedNodes.length-1].child;for(r=n;r<e.length;r++){var o=new P.TokenSet,i=e[r];t.edges[i]=o,this.uncheckedNodes.push({parent:t,char:i,child:o}),t=o}t.final=!0,this.previousWord=e},P.TokenSet.Builder.prototype.finish=function(){this.minimize(0)},P.TokenSet.Builder.prototype.minimize=function(e){for(var t=this.uncheckedNodes.length-1;t>=e;t--){var n=this.uncheckedNodes[t],r=n.child.toString();r in this.minimizedNodes?n.parent.edges[n.char]=this.minimizedNodes[r]:(n.child._str=r,this.minimizedNodes[r]=n.child),this.uncheckedNodes.pop()}}
|
|||
|
/*!
|
|||
|
* lunr.Index
|
|||
|
* Copyright (C) 2018 Oliver Nightingale
|
|||
|
*/,P.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},P.Index.prototype.search=function(e){return this.query(function(t){new P.QueryParser(e,t).parse()})},P.Index.prototype.query=function(e){var t=new P.Query(this.fields),n=Object.create(null),r=Object.create(null),o=Object.create(null);e.call(t,t);for(var i=0;i<t.clauses.length;i++){var a=t.clauses[i],s=null;s=a.usePipeline?this.pipeline.runString(a.term):[a.term];for(var c=0;c<s.length;c++){var l=s[c];a.term=l;for(var u=P.TokenSet.fromClause(a),p=this.tokenSet.intersect(u).toArray(),f=0;f<p.length;f++)for(var d=p[f],h=this.invertedIndex[d],m=h._index,g=0;g<a.fields.length;g++){var y=a.fields[g],v=h[y],b=Object.keys(v),w=d+"/"+y;if(void 0===r[y]&&(r[y]=new P.Vector),r[y].upsert(m,1*a.boost,function(e,t){return e+t}),!o[w]){for(var x=0;x<b.length;x++){var k,O=b[x],_=new P.FieldRef(O,y),E=v[O];void 0===(k=n[_])?n[_]=new P.MatchData(d,y,E):k.add(d,y,E)}o[w]=!0}}}}var S=Object.keys(n),C=[],A=Object.create(null);for(i=0;i<S.length;i++){var T,j=P.FieldRef.fromString(S[i]),I=j.docRef,R=this.fieldVectors[j],N=r[j.fieldName].similarity(R);if(void 0!==(T=A[I]))T.score+=N,T.matchData.combine(n[j]);else{var F={ref:I,score:N,matchData:n[j]};A[I]=F,C.push(F)}}return C.sort(function(e,t){return t.score-e.score})},P.Index.prototype.toJSON=function(){var e=Object.keys(this.invertedIndex).sort().map(function(e){return[e,this.invertedIndex[e]]},this),t=Object.keys(this.fieldVectors).map(function(e){return[e,this.fieldVectors[e].toJSON()]},this);return{version:P.version,fields:this.fields,fieldVectors:t,invertedIndex:e,pipeline:this.pipeline.toJSON()}},P.Index.load=function(e){var t={},n={},r=e.fieldVectors,o={},i=e.invertedIndex,a=new P.TokenSet.Builder,s=P.Pipeline.load(e.pipeline);e.version!=P.version&&P.utils.warn("Version mismatch when loading serialised index. Current version of lunr '"+P.version+"' does not match serialized index '"+e.version+"'");for(var c=0;c<r.length;c++){var l=(p=r[c])[0],u=p[1];n[l]=new P.Vector(u)}for(c=0;c<i.length;c++){var p,f=(p=i[c])[0],d=p[1];a.insert(f),o[f]=d}return a.finish(),t.fields=e.fields,t.fieldVectors=n,t.invertedIndex=o,t.tokenSet=a.root,t.pipeline=s,new P.Index(t)}
|
|||
|
/*!
|
|||
|
* lunr.Builder
|
|||
|
* Copyright (C) 2018 Oliver Nightingale
|
|||
|
*/,P.Builder=function(){this._ref="id",this._fields=[],this.invertedIndex=Object.create(null),this.fieldTermFrequencies={},this.fieldLengths={},this.tokenizer=P.tokenizer,this.pipeline=new P.Pipeline,this.searchPipeline=new P.Pipeline,this.documentCount=0,this._b=.75,this._k1=1.2,this.termIndex=0,this.metadataWhitelist=[]},P.Builder.prototype.ref=function(e){this._ref=e},P.Builder.prototype.field=function(e){this._fields.push(e)},P.Builder.prototype.b=function(e){this._b=e<0?0:e>1?1:e},P.Builder.prototype.k1=function(e){this._k1=e},P.Builder.prototype.add=function(e){var t=e[this._ref];this.documentCount+=1;for(var n=0;n<this._fields.length;n++){var r=this._fields[n],o=e[r],i=this.tokenizer(o),a=this.pipeline.run(i),s=new P.FieldRef(t,r),c=Object.create(null);this.fieldTermFrequencies[s]=c,this.fieldLengths[s]=0,this.fieldLengths[s]+=a.length;for(var l=0;l<a.length;l++){var u=a[l];if(void 0==c[u]&&(c[u]=0),c[u]+=1,void 0==this.invertedIndex[u]){var p=Object.create(null);p._index=this.termIndex,this.termIndex+=1;for(var f=0;f<this._fields.length;f++)p[this._fields[f]]=Object.create(null);this.invertedIndex[u]=p}void 0==this.invertedIndex[u][r][t]&&(this.invertedIndex[u][r][t]=Object.create(null));for(var d=0;d<this.metadataWhitelist.length;d++){var h=this.metadataWhitelist[d],m=u.metadata[h];void 0==this.invertedIndex[u][r][t][h]&&(this.invertedIndex[u][r][t][h]=[]),this.invertedIndex[u][r][t][h].push(m)}}}},P.Builder.prototype.calculateAverageFieldLengths=function(){for(var e=Object.keys(this.fieldLengths),t=e.length,n={},r={},o=0;o<t;o++){var i=P.FieldRef.fromString(e[o]);r[a=i.fieldName]||(r[a]=0),r[a]+=1,n[a]||(n[a]=0),n[a]+=this.fieldLengths[i]}for(o=0;o<this._fields.length;o++){var a;n[a=this._fields[o]]=n[a]/r[a]}this.averageFieldLength=n},P.Builder.prototype.createFieldVectors=function(){for(var e={},t=Object.keys(this.fieldTermFrequencies),n=t.length,r=Object.create(null),o=0;o<n;o++){for(var i=P.FieldRef.fromString(t[o]),a=i.fieldName,s=this.fieldLengths[i],c=new P.Vector,l=this.fieldTermFrequencies[i],u=Object.keys(l),p=u.length,f=0;f<p;f++){var d,h,m,g=u[f],y=l[g],v=this.invertedIndex[g]._index;void 0===r[g]?(d=P.idf(this.invertedIndex[g],this.documentCount),r[g]=d):d=r[g],h=d*((this._k1+1)*y)/(this._k1*(1-this._b+this._b*(s/this.averageFieldLength[a]))+y),m=Math.round(1e3*h)/1e3,c.insert(v,m)}e[i]=c}this.fieldVectors=e},P.Builder.prototype.createTokenSet=function(){this.tokenSet=P.TokenSet.fromArray(Object.keys(this.invertedIndex).sort())},P.Builder.prototype.build=function(){return this.calculateAverageFieldLengths(),this.createFieldVectors(),this.createTokenSet(),new P.Index({invertedIndex:this.invertedIndex,fieldVectors:this.fieldVectors,tokenSet:this.tokenSet,fields:this._fields,pipeline:this.searchPipeline})},P.Builder.prototype.use=function(e){var t=Array.prototype.slice.call(arguments,1);t.unshift(this),e.apply(this,t)},P.MatchData=function(e,t,n){for(var r=Object.create(null),o=Object.keys(n),i=0;i<o.length;i++){var a=o[i];r[a]=n[a].slice()}this.metadata=Object.create(null),this.metadata[e]=Object.create(null),this.metadata[e][t]=r},P.MatchData.prototype.combine=function(e){for(var t=Object.keys(e.metadata),n=0;n<t.length;n++){var r=t[n],o=Object.keys(e.metadata[r]);void 0==this.metadata[r]&&(this.metadata[r]=Object.create(null));for(var i=0;i<o.length;i++){var a=o[i],s=Object.keys(e.metadata[r][a]);void 0==this.metadata[r][a]&&(this.metadata[r][a]=Object.create(null));for(var c=0;c<s.length;c++){var l=s[c];void 0==this.metadata[r][a][l]?this.metadata[r][a][l]=e.metadata[r][a][l]:this.metadata[r][a][l]=this.metadata[r][a][l].concat(e.metadata[r][a][l])}}}},P.MatchData.prototype.add=function(e,t,n){if(!(e in this.metadata))return this.metadata[e]=Object.create(null),void(this.metadata[e][t]=n);if(t in this.metadata[e])for(var r=Object.keys(n),o=0;o<r.length;o++){var i=r[o];i in this.metadata[e][t]?this.metadata[e][t][i]=this.metadata[e][t][i].concat(n[i]):this.metadata[e][t][i]=n[i]}else this.metadata[e][t]=n},P.Query=function(e){this.clauses=[],this.allFields=e},P.Query.wildcard=new String("*"),P.Qu
|
|||
|
/*!
|
|||
|
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
|
|||
|
*
|
|||
|
* Copyright (c) 2014-2017, Jon Schlinkert.
|
|||
|
* Released under the MIT License.
|
|||
|
*/var r=n(238);function o(e){return!0===r(e)&&"[object Object]"===Object.prototype.toString.call(e)}e.exports=function(e){var t,n;return!1!==o(e)&&("function"==typeof(t=e.constructor)&&(!1!==o(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf")))}},function(e,t,n){"use strict";function r(e){return e=(e=e.split("~1").join("/")).split("~0").join("~")}e.exports={jptr:function(e,t,n){if(void 0===e)return!1;if(!t||"#"===t)return void 0!==n?n:e;if(t.indexOf("#")>=0){var o=t.split("#");if(o[0])return!1;t=o[1],t=decodeURIComponent(t.slice(1))}t.startsWith("/")&&(t=t.slice(1));for(var i=t.split("/"),a=0;a<i.length;a++){i[a]=r(i[a]);var s=void 0!==n&&a==i.length-1,c=parseInt(i[a],10);if(!Array.isArray(e)||isNaN(c)||c.toString()!==i[a]?c=Array.isArray(e)&&"-"===i[a]?-2:-1:i[a]=a>0?i[a-1]:"",-1!=c||e.hasOwnProperty(i[a]))if(c>=0)s&&(e[c]=n),e=e[c];else{if(-2===c)return s?(Array.isArray(e)&&e.push(n),n):void 0;s&&(e[i[a]]=n),e=e[i[a]]}else{if(void 0===n||"object"!=typeof e||Array.isArray(e))return!1;e[i[a]]=s?n:"0"===i[a+1]||"-"===i[a+1]?[]:{},e=e[i[a]]}}return e},jpescape:function(e){return e=(e=e.split("~").join("~0")).split("/").join("~1")},jpunescape:r}},function(e,t,n){"use strict";var r=n(35);e.exports=new r({explicit:[n(230),n(229),n(228)]})},function(e,t,n){"use strict";var r=n(233);e.exports=r},function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t,n){var r=n(12);e.exports=function(e,t){if(!r(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},function(e,t,n){var r=n(50)("meta"),o=n(12),i=n(24),a=n(26).f,s=0,c=Object.isExtensible||function(){return!0},l=!n(38)(function(){return c(Object.preventExtensions({}))}),u=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},p=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!c(e))return"F";if(!t)return"E";u(e)}return e[r].i},getWeak:function(e,t){if(!i(e,r)){if(!c(e))return!0;if(!t)return!1;u(e)}return e[r].w},onFreeze:function(e){return l&&p.NEED&&c(e)&&!i(e,r)&&u(e),e}}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(32);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},function(e,t,n){var r=n(30),o=n(282),i=n(281),a=n(18),s=n(47),c=n(280),l={},u={};(t=e.exports=function(e,t,n,p,f){var d,h,m,g,y=f?function(){return e}:c(e),v=r(n,p,t?2:1),b=0;if("function"!=typeof y)throw TypeError(e+" is not iterable!");if(i(y)){for(d=s(e.length);d>b;b++)if((g=t?v(a(h=e[b])[0],h[1]):v(e[b]))===l||g===u)return g}else for(m=y.call(e);!(h=m.next()).done;)if((g=o(m,v,h.value,t))===l||g===u)return g}).BREAK=l,t.RETURN=u},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){for(var r=n(284),o=n(48),i=n(32),a=n(9),s=n(31),c=n(49),l=n(6),u=l("iterator"),p=l("toStringTag"),f=c.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=o(d),m=0;m<h.length;m++){var g,y=h[m],v=d[y],b=a[y],w=b&&b.prototype;if(w&&(w[u]||s(w,u,f),w[p]||s(w,p,y),c[y]=f,v))for(g in r)w[g]||i(w,g,r[g],!0)}},function(e,t,n){var r=n(60);e.exports=function(e){return Object(r(e))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(90)("keys"),o=n(50);e.exports=function(e){return
|
|||
|
/*!***************************************************
|
|||
|
* mark.js v8.11.1
|
|||
|
* https://markjs.io/
|
|||
|
* Copyright (c) 2014–2018, Julian Kühnel
|
|||
|
* Released under the MIT license https://git.io/vwTVl
|
|||
|
*****************************************************/
|
|||
|
e.exports=function(){"use strict";var e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},n=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(n){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:5e3;t(this,e),this.ctx=n,this.iframes=r,this.exclude=o,this.iframesTimeout=i}return n(e,[{key:"getContexts",value:function(){var e=[];return(void 0!==this.ctx&&this.ctx?NodeList.prototype.isPrototypeOf(this.ctx)?Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?this.ctx:"string"==typeof this.ctx?Array.prototype.slice.call(document.querySelectorAll(this.ctx)):[this.ctx]:[]).forEach(function(t){var n=e.filter(function(e){return e.contains(t)}).length>0;-1!==e.indexOf(t)||n||e.push(t)}),e}},{key:"getIframeContents",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},r=void 0;try{var o=e.contentWindow;if(r=o.document,!o||!r)throw new Error("iframe inaccessible")}catch(e){n()}r&&t(r)}},{key:"isIframeBlank",value:function(e){var t="about:blank",n=e.getAttribute("src").trim(),r=e.contentWindow.location.href;return r===t&&n!==t&&n}},{key:"observeIframeLoad",value:function(e,t,n){var r=this,o=!1,i=null,a=function a(){if(!o){o=!0,clearTimeout(i);try{r.isIframeBlank(e)||(e.removeEventListener("load",a),r.getIframeContents(e,t,n))}catch(e){n()}}};e.addEventListener("load",a),i=setTimeout(a,this.iframesTimeout)}},{key:"onIframeReady",value:function(e,t,n){try{"complete"===e.contentWindow.document.readyState?this.isIframeBlank(e)?this.observeIframeLoad(e,t,n):this.getIframeContents(e,t,n):this.observeIframeLoad(e,t,n)}catch(e){n()}}},{key:"waitForIframes",value:function(e,t){var n=this,r=0;this.forEachIframe(e,function(){return!0},function(e){r++,n.waitForIframes(e.querySelector("html"),function(){--r||t()})},function(e){e||t()})}},{key:"forEachIframe",value:function(t,n,r){var o=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},a=t.querySelectorAll("iframe"),s=a.length,c=0;a=Array.prototype.slice.call(a);var l=function(){--s<=0&&i(c)};s||l(),a.forEach(function(t){e.matches(t,o.exclude)?l():o.onIframeReady(t,function(e){n(t)&&(c++,r(e)),l()},l)})}},{key:"createIterator",value:function(e,t,n){return document.createNodeIterator(e,t,n,!1)}},{key:"createInstanceOnIframe",value:function(t){return new e(t.querySelector("html"),this.iframes)}},{key:"compareNodeIframe",value:function(e,t,n){var r=e.compareDocumentPosition(n),o=Node.DOCUMENT_POSITION_PRECEDING;if(r&o){if(null===t)return!0;var i=t.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_FOLLOWING;if(i&a)return!0}return!1}},{key:"getIteratorNode",value:function(e){var t=e.previousNode(),n=void 0;return n=null===t?e.nextNode():e.nextNode()&&e.nextNode(),{prevNode:t,node:n}}},{key:"checkIframeFilter",value:function(e,t,n,r){var o=!1,i=!1;return r.forEach(function(e,t){e.val===n&&(o=t,i=e.handled)}),this.compareNodeIframe(e,t,n)?(!1!==o||i?!1===o||i||(r[o].handled=!0):r.push({val:n,handled:!0}),!0):(!1===o&&r.push({val:n,handled:!1}),!1)}},{key:"handleOpenIframes",value:function(e,t,n,r){var o=this;e.forEach(function(e){e.handled||o.getIframeContents(e.val,function(e){o.createInstanceOnIframe(e).forEachNode(t,n,r)})})}},{key:"iterateThroughNodes",value:function(e,t,n,r,o){for(var i=this,a=this.createIterator(t,e,r),s=[],c=[],l=void 0,u=void 0;void 0,p=i.getIteratorNode(a),
|
|||
|
/*
|
|||
|
object-assign
|
|||
|
(c) Sindre Sorhus
|
|||
|
@license MIT
|
|||
|
*/var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,a,s=function(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),c=1;c<arguments.length;c++){for(var l in n=Object(arguments[c]))o.call(n,l)&&(s[l]=n[l]);if(r){a=r(n);for(var u=0;u<a.length;u++)i.call(n,a[u])&&(s[a[u]]=n[a[u]])}}return s}},function(e,t,n){var r=n(136),o=n(81).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){t.f=n(6)},function(e,t,n){var r=n(57),o=n(61),i=n(37),a=n(88),s=n(24),c=n(137),l=Object.getOwnPropertyDescriptor;t.f=n(25)?l:function(e,t){if(e=i(e),t=a(t,!0),c)try{return l(e,t)}catch(e){}if(s(e,t))return o(!r.f.call(e,t),e[t])}},function(e,t,n){"use strict";var r=n(9),o=n(23),i=n(32),a=n(76),s=n(74),c=n(77),l=n(78),u=n(12),p=n(38),f=n(129),d=n(46),h=n(259);e.exports=function(e,t,n,m,g,y){var v=r[e],b=v,w=g?"set":"add",x=b&&b.prototype,k={},O=function(e){var t=x[e];i(x,e,"delete"==e?function(e){return!(y&&!u(e))&&t.call(this,0===e?0:e)}:"has"==e?function(e){return!(y&&!u(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return y&&!u(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,n){return t.call(this,0===e?0:e,n),this})};if("function"==typeof b&&(y||x.forEach&&!p(function(){(new b).entries().next()}))){var _=new b,E=_[w](y?{}:-0,1)!=_,S=p(function(){_.has(1)}),C=f(function(e){new b(e)}),A=!y&&p(function(){for(var e=new b,t=5;t--;)e[w](t,t);return!e.has(-0)});C||((b=t(function(t,n){l(t,b,e);var r=h(new v,t,b);return void 0!=n&&c(n,g,r[w],r),r})).prototype=x,x.constructor=b),(S||A)&&(O("delete"),O("has"),g&&O("get")),(A||E)&&O(w),y&&x.clear&&delete x.clear}else b=m.getConstructor(t,e,g,w),a(b.prototype,n),s.NEED=!0;return d(b,e),k[e]=b,o(o.G+o.W+o.F*(b!=v),k),y||m.setStrong(b,e,g),b}},function(e,t,n){"use strict";var r=n(26).f,o=n(84),i=n(76),a=n(30),s=n(78),c=n(77),l=n(85),u=n(133),p=n(130),f=n(25),d=n(74).fastKey,h=n(73),m=f?"_s":"size",g=function(e,t){var n,r=d(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,l){var u=e(function(e,r){s(e,u,t,"_i"),e._t=t,e._i=o(null),e._f=void 0,e._l=void 0,e[m]=0,void 0!=r&&c(r,n,e[l],e)});return i(u.prototype,{clear:function(){for(var e=h(this,t),n=e._i,r=e._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];e._f=e._l=void 0,e[m]=0},delete:function(e){var n=h(this,t),r=g(n,e);if(r){var o=r.n,i=r.p;delete n._i[r.i],r.r=!0,i&&(i.n=o),o&&(o.p=i),n._f==r&&(n._f=o),n._l==r&&(n._l=i),n[m]--}return!!r},forEach:function(e){h(this,t);for(var n,r=a(e,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(e){return!!g(h(this,t),e)}}),f&&r(u.prototype,"size",{get:function(){return h(this,t)[m]}}),u},def:function(e,t,n){var r,o,i=g(e,t);return i?i.v=n:(e._l=i={i:o=d(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=i),r&&(r.n=i),e[m]++,"F"!==o&&(e._i[o]=i)),e},getEntry:g,setStrong:function(e,t,n){l(e,t,function(e,n){this._t=h(e,t),this._k=n,this._l=void 0},function(){for(var e=this._k,t=this._l;t&&t.r;)t=t.p;return this._t&&(this._l=t=t?t.n:this._t._f)?u(0,"keys"==e?t.k:"values"==e?t.v:[t.k,t.v]):(this._t=void 0,u(1))},n?"entries":"values",!n,!0),p(t)}}},function(e,t,n){var r=n(39);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(6)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,!"/./"[e](t)}catch(e){}}return!0}},fun
|
|||
|
/*!
|
|||
|
* perfect-scrollbar v1.3.0
|
|||
|
* (c) 2017 Hyunje Jun
|
|||
|
* @license MIT
|
|||
|
*/
|
|||
|
function ko(e){return getComputedStyle(e)}function Oo(e,t){for(var n in t){var r=t[n];"number"==typeof r&&(r+="px"),e.style[n]=r}return e}function _o(e){var t=document.createElement("div");return t.className=e,t}var Eo="undefined"!=typeof Element&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.msMatchesSelector);function So(e,t){if(!Eo)throw new Error("No element matching method supported");return Eo.call(e,t)}function Co(e){e.remove?e.remove():e.parentNode&&e.parentNode.removeChild(e)}function Ao(e,t){return Array.prototype.filter.call(e.children,function(e){return So(e,t)})}var To={main:"ps",element:{thumb:function(e){return"ps__thumb-"+e},rail:function(e){return"ps__rail-"+e},consuming:"ps__child--consume"},state:{focus:"ps--focus",active:function(e){return"ps--active-"+e},scrolling:function(e){return"ps--scrolling-"+e}}},jo={x:null,y:null};function Po(e,t){var n=e.element.classList,r=To.state.scrolling(t);n.contains(r)?clearTimeout(jo[t]):n.add(r)}function Io(e,t){jo[t]=setTimeout(function(){return e.isAlive&&e.element.classList.remove(To.state.scrolling(t))},e.settings.scrollingThreshold)}var Ro=function(e){this.element=e,this.handlers={}},No={isEmpty:{configurable:!0}};Ro.prototype.bind=function(e,t){void 0===this.handlers[e]&&(this.handlers[e]=[]),this.handlers[e].push(t),this.element.addEventListener(e,t,!1)},Ro.prototype.unbind=function(e,t){var n=this;this.handlers[e]=this.handlers[e].filter(function(r){return!(!t||r===t)||(n.element.removeEventListener(e,r,!1),!1)})},Ro.prototype.unbindAll=function(){for(var e in this.handlers)this.unbind(e)},No.isEmpty.get=function(){var e=this;return Object.keys(this.handlers).every(function(t){return 0===e.handlers[t].length})},Object.defineProperties(Ro.prototype,No);var Fo=function(){this.eventElements=[]};function Lo(e){if("function"==typeof window.CustomEvent)return new CustomEvent(e);var t=document.createEvent("CustomEvent");return t.initCustomEvent(e,!1,!1,void 0),t}Fo.prototype.eventElement=function(e){var t=this.eventElements.filter(function(t){return t.element===e})[0];return t||(t=new Ro(e),this.eventElements.push(t)),t},Fo.prototype.bind=function(e,t,n){this.eventElement(e).bind(t,n)},Fo.prototype.unbind=function(e,t,n){var r=this.eventElement(e);r.unbind(t,n),r.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(r),1)},Fo.prototype.unbindAll=function(){this.eventElements.forEach(function(e){return e.unbindAll()}),this.eventElements=[]},Fo.prototype.once=function(e,t,n){var r=this.eventElement(e),o=function(e){r.unbind(t,o),n(e)};r.bind(t,o)};var Mo=function(e,t,n,r,o){var i;if(void 0===r&&(r=!0),void 0===o&&(o=!1),"top"===t)i=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==t)throw new Error("A proper axis should be provided");i=["contentWidth","containerWidth","scrollLeft","x","left","right"]}!function(e,t,n,r,o){var i=n[0],a=n[1],s=n[2],c=n[3],l=n[4],u=n[5];void 0===r&&(r=!0);void 0===o&&(o=!1);var p=e.element;e.reach[c]=null,p[s]<1&&(e.reach[c]="start");p[s]>e[i]-e[a]-1&&(e.reach[c]="end");t&&(p.dispatchEvent(Lo("ps-scroll-"+c)),t<0?p.dispatchEvent(Lo("ps-scroll-"+l)):t>0&&p.dispatchEvent(Lo("ps-scroll-"+u)),r&&function(e,t){Po(e,t),Io(e,t)}(e,c));e.reach[c]&&(t||o)&&p.dispatchEvent(Lo("ps-"+c+"-reach-"+e.reach[c]))}(e,n,i,r,o)};function Do(e){return parseInt(e,10)||0}var Bo={isWebKit:"undefined"!=typeof document&&"WebkitAppearance"in document.documentElement.style,supportsTouch:"undefined"!=typeof window&&("ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:"undefined"!=typeof navigator&&navigator.msMaxTouchPoints,isChrome:"undefined"!=typeof navigator&&/Chrome/i.test(navigator&&navigator.userAgent)},Uo=function(e){var t=e.element;e.containerWidth=t.clientWidth,e.containerHeight=t.clientHeight,e.contentWidth=t.scrollWidth,e.contentHeight=t.scrollHeight,t.contains(e.scrollbarXRail)||(Ao(t,To.element.rail("x")).forEach(function(e){return Co(e)}),t.appendChild(e.scrollbarXRail)),t.contains(e.scrollbarYRail)||(Ao(t,To.element.
|
|||
|
/*!
|
|||
|
* Stickyfill -- `position: sticky` polyfill
|
|||
|
* v. 1.1.1 | https://github.com/wilddeer/stickyfill
|
|||
|
* Copyright Oleg Korsunsky | http://wd.dizaina.net/
|
|||
|
*
|
|||
|
* MIT License
|
|||
|
*/
|
|||
|
e.exports=function(e,t){e||(e=document),t||(t=window);var n,r,o=[],i=!1,a=e.documentElement,s=function(){},c="hidden",l="visibilitychange";void 0!==e.webkitHidden&&(c="webkitHidden",l="webkitvisibilitychange"),t.getComputedStyle||d();for(var u=["","-webkit-","-moz-","-ms-"],p=document.createElement("div"),f=u.length-1;f>=0;f--){try{p.style.position=u[f]+"sticky"}catch(e){}""!=p.style.position&&d()}function d(){j=F=P=I=R=N=s}function h(e){return parseFloat(e)||0}function m(){n={top:t.pageYOffset,left:t.pageXOffset}}function g(){if(t.pageXOffset!=n.left)return m(),void P();t.pageYOffset!=n.top&&(m(),v())}function y(e){setTimeout(function(){t.pageYOffset!=n.top&&(n.top=t.pageYOffset,v())},0)}function v(){for(var e=o.length-1;e>=0;e--)b(o[e])}function b(e){if(e.inited){var t=n.top<=e.limit.start?0:n.top>=e.limit.end?2:1;e.mode!=t&&function(e,t){var n=e.node.style;switch(t){case 0:n.position="absolute",n.left=e.offset.left+"px",n.right=e.offset.right+"px",n.top=e.offset.top+"px",n.bottom="auto",n.width="auto",n.marginLeft=0,n.marginRight=0,n.marginTop=0;break;case 1:n.position="fixed",n.left=e.box.left+"px",n.right=e.box.right+"px",n.top=e.css.top,n.bottom="auto",n.width="auto",n.marginLeft=0,n.marginRight=0,n.marginTop=0;break;case 2:n.position="absolute",n.left=e.offset.left+"px",n.right=e.offset.right+"px",n.top="auto",n.bottom=0,n.width="auto",n.marginLeft=0,n.marginRight=0}e.mode=t}(e,t)}}function w(e){isNaN(parseFloat(e.computed.top))||e.isCell||(e.inited=!0,e.clone||function(e){e.clone=document.createElement("div");var t=e.node.nextSibling||e.node,n=e.clone.style;n.height=e.height+"px",n.width=e.width+"px",n.marginTop=e.computed.marginTop,n.marginBottom=e.computed.marginBottom,n.marginLeft=e.computed.marginLeft,n.marginRight=e.computed.marginRight,n.padding=n.border=n.borderSpacing=0,n.fontSize="1em",n.position="static",n.cssFloat=e.computed.cssFloat,e.node.parentNode.insertBefore(e.clone,t)}(e),"absolute"!=e.parent.computed.position&&"relative"!=e.parent.computed.position&&(e.parent.node.style.position="relative"),b(e),e.parent.height=e.parent.node.offsetHeight,e.docOffsetTop=E(e.clone))}function x(e){var t=!0;e.clone&&function(e){e.clone.parentNode.removeChild(e.clone),e.clone=void 0}(e),function(e,t){for(key in t)t.hasOwnProperty(key)&&(e[key]=t[key])}(e.node.style,e.css);for(var n=o.length-1;n>=0;n--)if(o[n].node!==e.node&&o[n].parent.node===e.parent.node){t=!1;break}t&&(e.parent.node.style.position=e.parent.css.position),e.mode=-1}function k(){for(var e=o.length-1;e>=0;e--)w(o[e])}function O(){for(var e=o.length-1;e>=0;e--)x(o[e])}function _(e){var t=getComputedStyle(e),n=e.parentNode,r=getComputedStyle(n),o=e.style.position;e.style.position="relative";var i={top:t.top,marginTop:t.marginTop,marginBottom:t.marginBottom,marginLeft:t.marginLeft,marginRight:t.marginRight,cssFloat:t.cssFloat},s={top:h(t.top),marginBottom:h(t.marginBottom),paddingLeft:h(t.paddingLeft),paddingRight:h(t.paddingRight),borderLeftWidth:h(t.borderLeftWidth),borderRightWidth:h(t.borderRightWidth)};e.style.position=o;var c={position:e.style.position,top:e.style.top,bottom:e.style.bottom,left:e.style.left,right:e.style.right,width:e.style.width,marginTop:e.style.marginTop,marginLeft:e.style.marginLeft,marginRight:e.style.marginRight},l=S(e),u=S(n),p={node:n,css:{position:n.style.position},computed:{position:r.position},numeric:{borderLeftWidth:h(r.borderLeftWidth),borderRightWidth:h(r.borderRightWidth),borderTopWidth:h(r.borderTopWidth),borderBottomWidth:h(r.borderBottomWidth)}};return{node:e,box:{left:l.win.left,right:a.clientWidth-l.win.right},offset:{top:l.win.top-u.win.top-p.numeric.borderTopWidth,left:l.win.left-u.win.left-p.numeric.borderLeftWidth,right:-l.win.right+u.win.right-p.numeric.borderRightWidth},css:c,isCell:"table-cell"==t.display,computed:i,numeric:s,width:l.win.right-l.win.left,height:l.win.bottom-l.win.top,mode:-1,inited:!1,parent:p,limit:{start:l.doc.top-s.top,end:u.doc.top+n.offsetHeight-p.numeric.borderBottomWidth-e.offsetHeight-s.top-s.marginBottom}}}function E(e){for(var t=0;e;)t+=e.offsetTop,e=e.offsetParent;return t}f
|
|||
|
/*!
|
|||
|
* isobject <https://github.com/jonschlinkert/isobject>
|
|||
|
*
|
|||
|
* Copyright (c) 2014-2017, Jon Schlinkert.
|
|||
|
* Released under the MIT License.
|
|||
|
*/e.exports=function(e){return null!=e&&"object"==typeof e&&!1===Array.isArray(e)}},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";var r=function(e){};e.exports=function(e,t,n,o,i,a,s,c){if(r(t),!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,o,i,a,s,c],p=0;(l=new Error(t.replace(/%s/g,function(){return u[p++]}))).name="Invariant Violation"}throw l.framesToPop=1,l}}},function(e,t,n){"use strict";var r=n(72),o=n(241),i=n(240);e.exports=function(){function e(e,t,n,r,a,s){s!==i&&o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports=function(e){var t=(e?e.ownerDocument||e:document).defaultView||window;return!(!e||!("function"==typeof t.Node?e instanceof t.Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}},function(e,t,n){"use strict";var r=n(243);e.exports=function(e){return r(e)&&3==e.nodeType}},function(e,t,n){"use strict";var r=n(244);e.exports=function e(t,n){return!(!t||!n)&&(t===n||!r(t)&&(r(n)?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty;function o(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}e.exports=function(e,t){if(o(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(var a=0;a<n.length;a++)if(!r.call(t,n[a])||!o(e[n[a]],t[n[a]]))return!1;return!0}},function(e,t,n){"use strict";e.exports=function(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}},function(e,t,n){"use strict";var r=!("undefined"==typeof window||!window.document||!window.document.createElement),o={canUseDOM:r,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen,isInWorker:!r};e.exports=o},function(e,t,n){"use strict";
|
|||
|
/** @license React v16.3.0-alpha.2
|
|||
|
* react-dom.production.min.js
|
|||
|
*
|
|||
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|||
|
*
|
|||
|
* This source code is licensed under the MIT license found in the
|
|||
|
* LICENSE file in the root directory of this source tree.
|
|||
|
*/var r=n(0),o=n(248),i=n(120),a=n(72),s=n(247),c=n(246),l=n(245),u=n(119);function p(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);throw(t=Error(n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.")).name="Invariant Violation",t.framesToPop=1,t}r||p("227");var f={_caughtError:null,_hasCaughtError:!1,_rethrowError:null,_hasRethrowError:!1,invokeGuardedCallback:function(e,t,n,r,o,i,a,s,c){(function(e,t,n,r,o,i,a,s,c){this._hasCaughtError=!1,this._caughtError=null;var l=Array.prototype.slice.call(arguments,3);try{t.apply(n,l)}catch(e){this._caughtError=e,this._hasCaughtError=!0}}).apply(f,arguments)},invokeGuardedCallbackAndCatchFirstError:function(e,t,n,r,o,i,a,s,c){if(f.invokeGuardedCallback.apply(this,arguments),f.hasCaughtError()){var l=f.clearCaughtError();f._hasRethrowError||(f._hasRethrowError=!0,f._rethrowError=l)}},rethrowCaughtError:function(){return function(){if(f._hasRethrowError){var e=f._rethrowError;throw f._rethrowError=null,f._hasRethrowError=!1,e}}.apply(f,arguments)},hasCaughtError:function(){return f._hasCaughtError},clearCaughtError:function(){if(f._hasCaughtError){var e=f._caughtError;return f._caughtError=null,f._hasCaughtError=!1,e}p("198")}};var d=null,h={};function m(){if(d)for(var e in h){var t=h[e],n=d.indexOf(e);if(-1<n||p("96",e),!y[n])for(var r in t.extractEvents||p("97",e),y[n]=t,n=t.eventTypes){var o=void 0,i=n[r],a=t,s=r;v.hasOwnProperty(s)&&p("99",s),v[s]=i;var c=i.phasedRegistrationNames;if(c){for(o in c)c.hasOwnProperty(o)&&g(c[o],a,s);o=!0}else i.registrationName?(g(i.registrationName,a,s),o=!0):o=!1;o||p("98",r,e)}}}function g(e,t,n){b[e]&&p("100",e),b[e]=t,w[e]=t.eventTypes[n].dependencies}var y=[],v={},b={},w={};function x(e){d&&p("101"),d=Array.prototype.slice.call(e),m()}function k(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];h.hasOwnProperty(t)&&h[t]===r||(h[t]&&p("102",t),h[t]=r,n=!0)}n&&m()}var O=Object.freeze({plugins:y,eventNameDispatchConfigs:v,registrationNameModules:b,registrationNameDependencies:w,possibleRegistrationNames:null,injectEventPluginOrder:x,injectEventPluginsByName:k}),_=null,E=null,S=null;function C(e,t,n,r){t=e.type||"unknown-event",e.currentTarget=S(r),f.invokeGuardedCallbackAndCatchFirstError(t,n,void 0,e),e.currentTarget=null}function A(e,t){return null==t&&p("30"),null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function T(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var j=null;function P(e,t){if(e){var n=e._dispatchListeners,r=e._dispatchInstances;if(Array.isArray(n))for(var o=0;o<n.length&&!e.isPropagationStopped();o++)C(e,t,n[o],r[o]);else n&&C(e,t,n,r);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function I(e){return P(e,!0)}function R(e){return P(e,!1)}var N={injectEventPluginOrder:x,injectEventPluginsByName:k};function F(e,t){var n=e.stateNode;if(!n)return null;var r=_(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}return e?null:(n&&"function"!=typeof n&&p("231",t,typeof n),n)}function L(e,t){null!==e&&(j=A(j,e)),e=j,j=null,e&&(T(e,t?I:R),j&&p("95"),f.rethrowCaughtError())}function M(e,t,n,r){for(var o=null,i=0;i<y.length;i++){var a=y[i];a&&(a=a.extractEvents(e,t,n,r))&&(o=A(o,a))}L(o,!1)}var D=Object.freeze({injection:N,getListener:F,runEventsInBatch:L,runExtractedEventsInBatch:M}),B=Math.random().toString(36).slice(2),U="__reactInternalInstance$"+B,z="__reactEventHandlers$"+B;function $(e){if(e[U])return e[U];for(;!e[U];){if(!e.parentNode)return null;e=e.parentNode}return 5===(e=e[
|
|||
|
/** @license React v16.3.0-alpha.2
|
|||
|
* react.production.min.js
|
|||
|
*
|
|||
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|||
|
*
|
|||
|
* This source code is licensed under the MIT license found in the
|
|||
|
* LICENSE file in the root directory of this source tree.
|
|||
|
*/var r=n(120),o=n(119),i=n(72),a="function"==typeof Symbol&&Symbol.for,s=a?Symbol.for("react.element"):60103,c=a?Symbol.for("react.portal"):60106,l=a?Symbol.for("react.fragment"):60107,u=a?Symbol.for("react.strict_mode"):60108,p=a?Symbol.for("react.provider"):60109,f=a?Symbol.for("react.context"):60110,d=a?Symbol.for("react.async_mode"):60111,h=a?Symbol.for("react.forward_ref"):60112,m="function"==typeof Symbol&&Symbol.iterator;function g(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);throw(t=Error(n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.")).name="Invariant Violation",t.framesToPop=1,t}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}};function v(e,t,n){this.props=e,this.context=t,this.refs=o,this.updater=n||y}function b(){}function w(e,t,n){this.props=e,this.context=t,this.refs=o,this.updater=n||y}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&g("85"),this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=v.prototype;var x=w.prototype=new b;x.constructor=w,r(x,v.prototype),x.isPureReactComponent=!0;var k={current:null},O=Object.prototype.hasOwnProperty,_={key:!0,ref:!0,__self:!0,__source:!0};function E(e,t,n){var r=void 0,o={},i=null,a=null;if(null!=t)for(r in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(i=""+t.key),t)O.call(t,r)&&!_.hasOwnProperty(r)&&(o[r]=t[r]);var c=arguments.length-2;if(1===c)o.children=n;else if(1<c){for(var l=Array(c),u=0;u<c;u++)l[u]=arguments[u+2];o.children=l}if(e&&e.defaultProps)for(r in c=e.defaultProps)void 0===o[r]&&(o[r]=c[r]);return{$$typeof:s,type:e,key:i,ref:a,props:o,_owner:k.current}}function S(e){return"object"==typeof e&&null!==e&&e.$$typeof===s}var C=/\/+/g,A=[];function T(e,t,n,r){if(A.length){var o=A.pop();return o.result=e,o.keyPrefix=t,o.func=n,o.context=r,o.count=0,o}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function j(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>A.length&&A.push(e)}function P(e,t,n,r){var o=typeof e;"undefined"!==o&&"boolean"!==o||(e=null);var i=!1;if(null===e)i=!0;else switch(o){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case s:case c:i=!0}}if(i)return n(r,e,""===t?"."+I(e,0):t),1;if(i=0,t=""===t?".":t+":",Array.isArray(e))for(var a=0;a<e.length;a++){var l=t+I(o=e[a],a);i+=P(o,l,n,r)}else if(null===e||void 0===e?l=null:l="function"==typeof(l=m&&e[m]||e["@@iterator"])?l:null,"function"==typeof l)for(e=l.call(e),a=0;!(o=e.next()).done;)i+=P(o=o.value,l=t+I(o,a++),n,r);else"object"===o&&g("31","[object Object]"===(n=""+e)?"object with keys {"+Object.keys(e).join(", ")+"}":n,"");return i}function I(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}(e.key):t.toString(36)}function R(e,t){e.func.call(e.context,t,e.count++)}function N(e,t,n){var r=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?F(e,r,n,i.thatReturnsArgument):null!=e&&(S(e)&&(t=o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(C,"$&/")+"/")+n,e={$$typeof:s,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}),r.push(e))}function F(e,t,n,r,o){var i="";null!=n&&(i=(""+n).replace(C,"$&/")+"/"),t=T(t,i,r,o),null==e||P(e,"",N,t),j(t)}var L={Children:{map:function(e,t,n){if(null==e)return e;var r=[];return F(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;t=T(null,null,t,n),null==e||P(e,"",R,t),j(t)},count:function(e){return null==e?0:P(e,"",i.thatReturnsNull,null)},toArray:function(e){var t=[];return F(e,t,null,i.thatReturnsArgument),t},only:function(e){return S(e)||g("143"),e}},createRef:function(){return{current:null}},C
|
|||
|
<link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,700|Roboto:300,400,700" rel="stylesheet">
|
|||
|
<style data-styled-components="koagqx jmbRjy gpiYEH bhewGY dNauuw eGjUZe bwMttw hNjDfa jxxQpd bMoiKd dzBiMN htVweZ gnJHIw eKUEiA fUKsQP fVpvxt dbWsjV ecYUwq cWqqjj dTwlOQ euEWDD jIswnA gmEaFU dfDMmE etSsJB fnLXRS iUUkOJ bXxFir fjKjLr jYqRBb jccrdq exXevH imVfBp fgfkPc ctAfPo gUwOOz ezDBgA jnFeGP kpauqW sMszs gyYFXv hqziJB hmXDXQ cokGxg kbYuVe iKWaWx buVgxj ggTJpG fpsLBr dUapcv eyQVZA kgFZmy xSXkH fMaAjW hqbOqZ dfVEZZ kFGYSv fWVnWm cWGDGi cTkJKI dQvJei fqnLoc gzRrXM dhUdzU cWpcsB gajuhA cxwOot kXMHkQ gUIBfR dScgxX jwhtSw cTcfuA iccZbs jtThDR hPSqZA jqDDQj cQGxPn jTtHEZ exAnXh cQbnUN EWrFv ielVIU hATwyF crqdFG erecPx gTvQkb fRYbMb egdWky flyJhq irTNxB byNWen cUCetm">
|
|||
|
/* sc-component-id: sc-kfGgVZ */
|
|||
|
.koagqx{font-family:Roboto,sans-serif;font-size:14px;line-height:1.5;color:#263238;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;position:relative;text-align:left;-webkit-font-smoothing:antialiased;font-smoothing:antialiased;text-rendering:optimizeSpeed !important;tap-highlight-color:rgba(0,0,0,0);-webkit-text-size-adjust:100%;text-size-adjust:100%;} .koagqx *{box-sizing:border-box;} .koagqx .redoc-markdown h1{padding-top:80px;} .koagqx a{-webkit-text-decoration:none;text-decoration:none;color:#32329f;} .koagqx a:visited{color:#32329f;} .koagqx a:hover{color:#6868cf;}
|
|||
|
/* sc-component-id: sc-hwwEjo */
|
|||
|
.jmbRjy{width:260px;background-color:#fafafa;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-backface-visibility:hidden;backface-visibility:hidden;contain:strict;height:100vh;position:-webkit-sticky;position:sticky;position:-webkit-sticky;top:0;} @media (max-width:50rem){.jmbRjy{position:fixed;z-index:20;width:100%;background:#ffffff;display:none;}}
|
|||
|
/* sc-component-id: sc-Rmtcm */
|
|||
|
.gpiYEH{text-align:center;}
|
|||
|
/* sc-component-id: sc-bRBYWo */
|
|||
|
.bhewGY{display:inline-block;}
|
|||
|
/* sc-component-id: sc-csuQGl */
|
|||
|
.dNauuw{max-height:none;width:100%;display:block;}
|
|||
|
/* sc-component-id: sc-eXEjpC */
|
|||
|
.eGjUZe{padding:5px 0;}
|
|||
|
/* sc-component-id: sc-RefOD */
|
|||
|
.bwMttw{position:absolute;left:20px;height:1.8em;width:0.9em;} .bwMttw path{fill:#263238;}
|
|||
|
/* sc-component-id: sc-ibxdXY */
|
|||
|
.hNjDfa{width:calc(100% - 40px);box-sizing:border-box;margin:0 20px;padding:5px 10px 5px 20px;border:0;border-bottom:1px solid #e1e1e1;font-weight:bold;font-size:13px;color:#263238;background-color:transparent;outline:none;}
|
|||
|
/* sc-component-id: sc-brqgnP */
|
|||
|
.jxxQpd{position:relative;}
|
|||
|
/* sc-component-id: sc-dqBHgY */
|
|||
|
.bMoiKd{margin:0;padding:0;} .bMoiKd .bMoiKd{font-size:0.929em;}.dzBiMN{margin:0;padding:0;display:none;} .dzBiMN .dzBiMN{font-size:0.929em;}
|
|||
|
/* sc-component-id: sc-gxMtzJ */
|
|||
|
.htVweZ{list-style:none inside none;overflow:hidden;text-overflow:ellipsis;padding:0;}.gnJHIw{list-style:none inside none;overflow:hidden;text-overflow:ellipsis;padding:0;margin-top:15px;}
|
|||
|
/* sc-component-id: sc-dfVpRl */
|
|||
|
.eKUEiA{cursor:pointer;color:#263238;margin:0;padding:12.5px 20px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;font-family:Montserrat,sans-serif;font-size:0.929em;text-transform:uppercase;} .eKUEiA:hover{color:#32329f;} .eKUEiA:hover{background-color:#f0f0f0;}.fUKsQP{cursor:pointer;color:#32329f;margin:0;padding:12.5px 20px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;font-family:Montserrat,sans-serif;opacity:0.7;text-transform:uppercase;font-size:0.8em;padding-bottom:0;cursor:default;color:#263238;}.fVpvxt{cursor:pointer;color:#263238;margin:0;padding:12.5px 20px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;font-family:Montserrat,sans-serif;color:#263238;} .fVpvxt:hover{background-color:#e1e1e1;}.dbWsjV{cursor:pointer;color:#263238;margin:0;padding:12.5px 20px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;font-family:Montserrat,sans-serif;color:#263238;-webkit-text-decoration:line-through;text-decoration:line-through;color:#bdccd3;} .dbWsjV:hover{background-color:#e1e1e1;}
|
|||
|
/* sc-component-id: sc-gzOgki */
|
|||
|
.ecYUwq{display:inline-block;vertical-align:middle;width:auto;overflow:hidden;text-overflow:ellipsis;}.cWqqjj{display:inline-block;vertical-align:middle;width:calc(100% - 32px);overflow:hidden;text-overflow:ellipsis;}
|
|||
|
/* sc-component-id: sc-VigVT */
|
|||
|
.dTwlOQ{height:18px;width:18px;vertical-align:middle;float:right;-webkit-transition:-webkit-transform 0.2s ease-out;-webkit-transition:transform 0.2s ease-out;transition:transform 0.2s ease-out;-webkit-transform:rotateZ(-90deg);-ms-transform:rotateZ(-90deg);transform:rotateZ(-90deg);}.euEWDD{height:1.2em;width:1.2em;vertical-align:middle;-webkit-transition:-webkit-transform 0.2s ease-out;-webkit-transition:transform 0.2s ease-out;transition:transform 0.2s ease-out;-webkit-transform:rotateZ(-90deg);-ms-transform:rotateZ(-90deg);transform:rotateZ(-90deg);}.jIswnA{height:20px;width:20px;vertical-align:middle;float:right;-webkit-transition:-webkit-transform 0.2s ease-out;-webkit-transition:transform 0.2s ease-out;transition:transform 0.2s ease-out;-webkit-transform:rotateZ(0);-ms-transform:rotateZ(0);transform:rotateZ(0);} .jIswnA polygon{fill:white;}.gmEaFU{height:1.5em;width:1.5em;vertical-align:middle;float:left;-webkit-transition:-webkit-transform 0.2s ease-out;-webkit-transition:transform 0.2s ease-out;transition:transform 0.2s ease-out;-webkit-transform:rotateZ(0);-ms-transform:rotateZ(0);transform:rotateZ(0);} .gmEaFU polygon{fill:#00aa13;}
|
|||
|
/* sc-component-id: sc-kTUwUJ */
|
|||
|
.dfDMmE{width:26px;display:inline-block;height:13px;background-color:#333;border-radius:3px;vertical-align:top;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAACgCAYAAADuDlcXAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpFNjQ5N0JDQUE3OTYxMUU0ODNGMUE0RUM3NjRDRTQyNyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpFNjQ5N0JDQkE3OTYxMUU0ODNGMUE0RUM3NjRDRTQyNyI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOkU2NDk3QkM4QTc5NjExRTQ4M0YxQTRFQzc2NENFNDI3IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkU2NDk3QkM5QTc5NjExRTQ4M0YxQTRFQzc2NENFNDI3Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+mIrGwQAAAZ9JREFUeNrsmtuOwyAMRBmU//9lbx9208ayjQ1EarSDVFW56ARIGGZIIK/S3gWvX3X7LN3a6WxDHdPnnDBpcZHEOe3wrmLUMg2zatKykPOq1/5fK71tLIQR9jjYsaJfWdWAAcRsM2W1z9LNGcFkRlmtPhvpf7qmHAGEESZqLFr/qbHaCy4Is6oxLdvT+nWr0lLPCCPsFn+mA5e2UjLycL1o6qLMiapqRGoifVCDinrgU2mRyJthzZg3CSPs+2HhIM4YGq0a4oDgiGjYTKw20/OwUzAEuXz73YSqtdsV+F1a3eZpweFEGGG7Y3ULbJRk4nYPlEHbUi86wpNtbz4oB37PICOrLEdC9DKzFv7EkQ8tYY8Nr8tuyJrRsdpMrIJ0n4GPBmGEEUbYzRMKnFwug1B7rppmbCiyBjBrQ1vC8KW/CxrF7osNrRbxMjofWsIIuwU2vapnZfTRq4/wFXl3hG9bMzP6ZWV47LoB+Gym1/EyUleKI2GEPW8pQpu80bHLvsifSWFVAVEzo2VDTxxb9T16eO7sF0vmxPNPxPFHgAEA/rGUMXq/uWcAAAAASUVORK5CYII=");background-repeat:no-repeat;background-position:6px 4px;text-indent:-9000px;margin-right:6px;margin-top:2px;} .dfDMmE.get{background-position:8px -12px;background-color:#6bbd5b;} .dfDMmE.post{background-position:6px 4px;background-color:#248fb2;} .dfDMmE.put{background-position:8px -28px;background-color:#9b708b;} .dfDMmE.options{background-position:4px -148px;background-color:#d3ca12;} .dfDMmE.patch{background-position:4px -114px;background-color:#e09d43;} .dfDMmE.delete{background-position:4px -44px;background-color:#e27a7a;} .dfDMmE.basic{background-position:5px -79px;background-color:#999;} .dfDMmE.link{background-position:4px -131px;background-color:#31bbb6;}
|
|||
|
/* sc-component-id: sc-kPVwWT */
|
|||
|
.etSsJB{outline:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#f2f2f2;color:#32329f;display:none;cursor:pointer;position:fixed;right:20px;z-index:100;border-radius:50%;box-shadow:0 0 20px rgba(0,0,0,0.3);bottom:44px;width:60px;height:60px;padding:0 20px;} @media (max-width:50rem){.etSsJB{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}}
|
|||
|
/* sc-component-id: sc-iyvyFf */
|
|||
|
.fnLXRS{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:20px;height:20px;-webkit-align-self:center;-ms-flex-item-align:center;align-self:center;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;color:#32329f;}
|
|||
|
/* sc-component-id: sc-esjQYD */
|
|||
|
.iUUkOJ{z-index:1;position:relative;overflow:hidden;width:calc(100% - 260px);} @media (max-width:50rem){.iUUkOJ{width:100%;}}
|
|||
|
/* sc-component-id: sc-gzVnrw */
|
|||
|
.bXxFir{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:100%;} @media (max-width:85rem){.bXxFir{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}}
|
|||
|
/* sc-component-id: sc-bxivhb */
|
|||
|
.fjKjLr{width:calc(100% - 40%);padding:40px;} @media (max-width:85rem){.fjKjLr{width:100%;}}
|
|||
|
/* sc-component-id: sc-jDwBTQ */
|
|||
|
.jYqRBb{font-family:Montserrat,sans-serif;font-weight:400;font-size:1.85714em;color:#32329f;text-transform:capitalize;margin-top:0;margin-bottom:0.5em;}
|
|||
|
/* sc-component-id: sc-gPEVay */
|
|||
|
.jccrdq{border:1px solid #32329f;color:#32329f;font-weight:normal;margin-left:0.5em;padding:4px 8px 4px;display:inline-block;-webkit-text-decoration:none;text-decoration:none;}
|
|||
|
/* sc-component-id: sc-jlyJG */
|
|||
|
.exXevH{overflow:hidden;}
|
|||
|
/* sc-component-id: sc-gipzik */
|
|||
|
.imVfBp{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-left:-15px;}
|
|||
|
/* sc-component-id: sc-iRbamj */
|
|||
|
.fgfkPc::before{content:'|';display:inline-block;opacity:0.5;width:15px;text-align:center;} .fgfkPc:last-child::after{display:none;}
|
|||
|
/* sc-component-id: sc-cMljjf */
|
|||
|
.ctAfPo p:last-of-type{margin-bottom:0;} .ctAfPo.-dense p{margin:0;} .ctAfPo.-inline p{display:inline-block;} .ctAfPo h1{font-family:Montserrat,sans-serif;font-weight:400;font-size:1.85714em;color:#32329f;margin-top:0;} .ctAfPo code{color:#e53935;background-color:rgba(38,50,56,0.04);font-family:Courier,monospace;border-radius:2px;border:1px solid rgba(38,50,56,0.1);padding:0.1em 0.25em 0.2em;font-size:13px;} .ctAfPo pre{font-family:Courier,monospace;white-space:pre-wrap;background-color:#263238;color:white;padding:12px 14px 15px 14px;overflow-x:auto;line-height:normal;border-radius:0px;border:1px solid rgba(38,50,56,0.1);} .ctAfPo pre code{background-color:transparent;color:white;} .ctAfPo pre code:before,.ctAfPo pre code:after{content:none;} .ctAfPo blockquote{margin:0;margin-bottom:1em;padding:0 15px;color:#777;border-left:4px solid #ddd;} .ctAfPo img{max-width:100%;box-sizing:content-box;} .ctAfPo ul,.ctAfPo ol{padding-left:2em;margin:0;margin-bottom:1em;font-family:Roboto,sans-serif;font-weight:300;line-height:1.5;} .ctAfPo ul > li,.ctAfPo ol > li{margin:1em 0;} .ctAfPo table{display:block;width:100%;overflow:auto;word-break:normal;word-break:keep-all;border-collapse:collapse;border-spacing:0;margin-top:1.5em;margin-bottom:1.5em;} .ctAfPo table tr{background-color:#fff;border-top:1px solid #ccc;} .ctAfPo table tr:nth-child(2n){background-color:#f8f8f8;} .ctAfPo table th,.ctAfPo table td{padding:6px 13px;border:1px solid #ddd;} .ctAfPo table th{text-align:left;font-weight:bold;} .ctAfPo .share-link{cursor:pointer;margin-left:-20px;padding:0;line-height:1;width:20px;display:inline-block;} .ctAfPo .share-link:before{content:'';width:15px;height:15px;background-size:contain;background-image:url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeD0iMCIgeT0iMCIgd2lkdGg9IjUxMiIgaGVpZ2h0PSI1MTIiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA1MTIgNTEyIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBmaWxsPSIjMDEwMTAxIiBkPSJNNDU5LjcgMjMzLjRsLTkwLjUgOTAuNWMtNTAgNTAtMTMxIDUwLTE4MSAwIC03LjktNy44LTE0LTE2LjctMTkuNC0yNS44bDQyLjEtNDIuMWMyLTIgNC41LTMuMiA2LjgtNC41IDIuOSA5LjkgOCAxOS4zIDE1LjggMjcuMiAyNSAyNSA2NS42IDI0LjkgOTAuNSAwbDkwLjUtOTAuNWMyNS0yNSAyNS02NS42IDAtOTAuNSAtMjQuOS0yNS02NS41LTI1LTkwLjUgMGwtMzIuMiAzMi4yYy0yNi4xLTEwLjItNTQuMi0xMi45LTgxLjYtOC45bDY4LjYtNjguNmM1MC01MCAxMzEtNTAgMTgxIDBDNTA5LjYgMTAyLjMgNTA5LjYgMTgzLjQgNDU5LjcgMjMzLjR6TTIyMC4zIDM4Mi4ybC0zMi4yIDMyLjJjLTI1IDI0LjktNjUuNiAyNC45LTkwLjUgMCAtMjUtMjUtMjUtNjUuNiAwLTkwLjVsOTAuNS05MC41YzI1LTI1IDY1LjUtMjUgOTAuNSAwIDcuOCA3LjggMTIuOSAxNy4yIDE1LjggMjcuMSAyLjQtMS40IDQuOC0yLjUgNi44LTQuNWw0Mi4xLTQyYy01LjQtOS4yLTExLjYtMTgtMTkuNC0yNS44IC01MC01MC0xMzEtNTAtMTgxIDBsLTkwLjUgOTAuNWMtNTAgNTAtNTAgMTMxIDAgMTgxIDUwIDUwIDEzMSA1MCAxODEgMGw2OC42LTY4LjZDMjc0LjYgMzk1LjEgMjQ2LjQgMzkyLjMgMjIwLjMgMzgyLjJ6Ii8+PC9zdmc+Cg==');opacity:0.5;visibility:hidden;display:inline-block;vertical-align:middle;} .ctAfPo h1:hover > .share-link::before,.ctAfPo h2:hover > .share-link::before,.ctAfPo .share-link:hover::before{visibility:visible;}
|
|||
|
/* sc-component-id: sc-dnqmqq */
|
|||
|
.gUwOOz{font-family:Montserrat,sans-serif;font-weight:400;font-size:1.57143em;color:black;}
|
|||
|
/* sc-component-id: sc-gqjmRU */
|
|||
|
.ezDBgA{cursor:pointer;margin-left:-20px;padding:0;line-height:1;width:20px;display:inline-block;} .ezDBgA:before{content:'';width:15px;height:15px;background-size:contain;background-image:url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeD0iMCIgeT0iMCIgd2lkdGg9IjUxMiIgaGVpZ2h0PSI1MTIiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA1MTIgNTEyIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBmaWxsPSIjMDEwMTAxIiBkPSJNNDU5LjcgMjMzLjRsLTkwLjUgOTAuNWMtNTAgNTAtMTMxIDUwLTE4MSAwIC03LjktNy44LTE0LTE2LjctMTkuNC0yNS44bDQyLjEtNDIuMWMyLTIgNC41LTMuMiA2LjgtNC41IDIuOSA5LjkgOCAxOS4zIDE1LjggMjcuMiAyNSAyNSA2NS42IDI0LjkgOTAuNSAwbDkwLjUtOTAuNWMyNS0yNSAyNS02NS42IDAtOTAuNSAtMjQuOS0yNS02NS41LTI1LTkwLjUgMGwtMzIuMiAzMi4yYy0yNi4xLTEwLjItNTQuMi0xMi45LTgxLjYtOC45bDY4LjYtNjguNmM1MC01MCAxMzEtNTAgMTgxIDBDNTA5LjYgMTAyLjMgNTA5LjYgMTgzLjQgNDU5LjcgMjMzLjR6TTIyMC4zIDM4Mi4ybC0zMi4yIDMyLjJjLTI1IDI0LjktNjUuNiAyNC45LTkwLjUgMCAtMjUtMjUtMjUtNjUuNiAwLTkwLjVsOTAuNS05MC41YzI1LTI1IDY1LjUtMjUgOTAuNSAwIDcuOCA3LjggMTIuOSAxNy4yIDE1LjggMjcuMSAyLjQtMS40IDQuOC0yLjUgNi44LTQuNWw0Mi4xLTQyYy01LjQtOS4yLTExLjYtMTgtMTkuNC0yNS44IC01MC01MC0xMzEtNTAtMTgxIDBsLTkwLjUgOTAuNWMtNTAgNTAtNTAgMTMxIDAgMTgxIDUwIDUwIDEzMSA1MCAxODEgMGw2OC42LTY4LjZDMjc0LjYgMzk1LjEgMjQ2LjQgMzkyLjMgMjIwLjMgMzgyLjJ6Ii8+PC9zdmc+Cg==');opacity:0.5;visibility:hidden;display:inline-block;vertical-align:middle;} h1:hover > .ezDBgA::before,h2:hover > .ezDBgA::before,.ezDBgA:hover::before{visibility:visible;}
|
|||
|
/* sc-component-id: sc-jAaTju */
|
|||
|
.jnFeGP ul > li{margin:0.5em 0 !important;} .jnFeGP th{text-transform:capitalize;}
|
|||
|
/* sc-component-id: sc-bZQynM */
|
|||
|
.kpauqW{width:40%;color:#fafbfc;background-color:#263238;padding:40px;background-color:#263238;} @media (max-width:85rem){.kpauqW{width:100%;}} @media (max-width:85rem){.kpauqW{padding:0;}}
|
|||
|
/* sc-component-id: sc-htoDjs */
|
|||
|
.sMszs{font-family:Montserrat,sans-serif;font-weight:400;font-size:1.85714em;color:#32329f;text-transform:capitalize;}
|
|||
|
/* sc-component-id: sc-jtRfpW */
|
|||
|
.gyYFXv{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:100%;-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden;position:relative;} @media (max-width:85rem){.gyYFXv{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}} .gyYFXv:after{position:absolute;bottom:0;width:100%;display:block;content:'';border-bottom:1px solid rgba(0,0,0,0.2);}
|
|||
|
/* sc-component-id: sc-dVhcbM */
|
|||
|
.hqziJB{width:100%;}
|
|||
|
/* sc-component-id: sc-fMiknA */
|
|||
|
.cokGxg{border-bottom:1px solid rgba(38,50,56,0.3);margin:1em 0 1em 0;color:rgba(38,50,56,0.5);font-weight:normal;text-transform:uppercase;font-size:0.929em;line-height:20px;display:inline-block;}
|
|||
|
/* sc-component-id: sc-fBuWsC */
|
|||
|
.kbYuVe{width:75%;}
|
|||
|
/* sc-component-id: sc-hzDkRC */
|
|||
|
.iKWaWx{font-size:13px;font-family:Courier,monospace;border:1px solid rgba(38,50,56,0.15);margin:0 3px;padding:0.2em;display:inline-block;line-height:1;}
|
|||
|
/* sc-component-id: sc-gZMcBi */
|
|||
|
.buVgxj{border-bottom:1px solid rgba(38,50,56,0.3);margin:1em 0 1em 0;color:rgba(38,50,56,0.5);font-weight:normal;text-transform:uppercase;font-size:0.929em;line-height:20px;}
|
|||
|
/* sc-component-id: sc-kpOJdX */
|
|||
|
.ggTJpG{border-collapse:collapse;border-radius:3px;border-spacing:0;width:100%;} .ggTJpG > tr{vertical-align:middle;} .ggTJpG .sc-kGXeez,.ggTJpG .sc-kGXeez .sc-kGXeez .sc-kGXeez,.ggTJpG .sc-kGXeez .sc-kGXeez .sc-kGXeez .sc-kGXeez .sc-kGXeez{margin:1em 0 1em 1em;background:#f0f0f0;} .ggTJpG .sc-kGXeez .sc-kGXeez,.ggTJpG .sc-kGXeez .sc-kGXeez .sc-kGXeez .sc-kGXeez,.ggTJpG .sc-kGXeez .sc-kGXeez .sc-kGXeez .sc-kGXeez .sc-kGXeez .sc-kGXeez{background:#ffffff;}
|
|||
|
/* sc-component-id: sc-kAzzGY */
|
|||
|
.fpsLBr{border-left:1px solid #7f99cf;box-sizing:border-box;position:relative;padding:10px 10px 10px 0;vertical-align:top;line-height:20px;white-space:nowrap;font-size:0.929em;font-weight:300;font-family:Montserrat,sans-serif;} tr:first-of-type > .fpsLBr,tr.last > .fpsLBr{border-left-width:0;background-position:top left;background-repeat:no-repeat;background-size:1px 100%;} tr:first-of-type > .fpsLBr{background-image:linear-gradient( to bottom, transparent 0%, transparent 21px, #7f99cf 21px, #7f99cf 100% );} tr.last > .fpsLBr{background-image:linear-gradient( to bottom, #7f99cf 0%, #7f99cf 21px, transparent 21px, transparent 100% );} tr.last + tr > .fpsLBr{border-left-color:transparent;} tr:only-child > .fpsLBr{background:none;border-left-color:transparent;} .fpsLBr.deprecated{-webkit-text-decoration:line-through;text-decoration:line-through;color:#bdccd3;}
|
|||
|
/* sc-component-id: sc-kgoBCf */
|
|||
|
.dUapcv{color:#7f99cf;font-family:Courier,monospace;margin-right:10px;} .dUapcv::before{content:'';display:inline-block;vertical-align:middle;width:10px;height:1px;background:#7f99cf;} .dUapcv::after{content:'';display:inline-block;vertical-align:middle;width:1px;background:#7f99cf;height:7px;}
|
|||
|
/* sc-component-id: sc-hqyNC */
|
|||
|
.eyQVZA{vertical-align:middle;font-size:0.929em;line-height:20px;color:#e53935;font-size:11px;font-weight:normal;margin-left:20px;line-height:1;font-weight:normal;}
|
|||
|
/* sc-component-id: sc-chPdSV */
|
|||
|
.kgFZmy{border-bottom:1px solid #9fb4be;padding:10px 0;width:75%;box-sizing:border-box;} tr.expanded .kgFZmy{border-bottom:none;}
|
|||
|
/* sc-component-id: sc-ksYbfQ */
|
|||
|
.xSXkH{vertical-align:middle;font-size:0.929em;line-height:20px;color:rgba(38,50,56,0.6);}
|
|||
|
/* sc-component-id: sc-hmzhuo */
|
|||
|
.fMaAjW{vertical-align:middle;font-size:0.929em;line-height:20px;color:rgba(38,50,56,0.2);}
|
|||
|
/* sc-component-id: sc-kkGfuU */
|
|||
|
.hqbOqZ{min-width:100px;display:inline-block;position:relative;width:auto;font-family:Montserrat,sans-serif;margin-left:10px;text-transform:none;font-size:0.929em;} .hqbOqZ .Dropdown-control{font-family:Montserrat,sans-serif;position:relative;font-size:.929em;width:100%;line-height:1.5em;vertical-align:middle;cursor:pointer;border-color:rgba(38,50,56,0.5);color:#263238;outline:none;padding:0.15em 1.5em 0.2em 0.5em;border-radius:2px;border-width:1px;border-style:solid;margin-top:5px;background:white;} .hqbOqZ .Dropdown-control:hover{border-color:#32329f;color:#32329f;box-shadow:0px 2px 4px 0px rgba(34,36,38,0.12);} .hqbOqZ .Dropdown-arrow{border-color:#32329f transparent transparent;border-style:solid;border-width:0.35em 0.35em 0;content:' ';display:block;height:0;position:absolute;right:0.35em;top:50%;margin-top:-0.125em;width:0;} .hqbOqZ .Dropdown-menu{position:absolute;margin-top:2px;left:0;right:0;z-index:10;min-width:100px;background:white;border:1px solid rgba(38,50,56,0.2);box-shadow:0px 2px 4px 0px rgba(34,36,38,0.12),0px 2px 10px 0px rgba(34,36,38,0.08);} .hqbOqZ .Dropdown-option{font-size:0.9em;color:#263238;cursor:pointer;padding:0.4em;} .hqbOqZ .Dropdown-option.is-selected{background-color:rgba(0,0,0,0.05);} .hqbOqZ .Dropdown-option:hover{background-color:rgba(38,50,56,0.12);} .hqbOqZ .Dropdown-control{font-size:1em;border:none;padding:0 1.2em 0 0;background:transparent;} .hqbOqZ .Dropdown-control:hover{color:#32329f;box-shadow:none;}
|
|||
|
/* sc-component-id: sc-kgAjT */
|
|||
|
.dfVEZZ{border-left:1px solid #7f99cf;box-sizing:border-box;position:relative;padding:10px 10px 10px 0;vertical-align:top;line-height:20px;white-space:nowrap;font-size:0.929em;font-weight:300;font-family:Montserrat,sans-serif;cursor:pointer;} tr:first-of-type > .dfVEZZ,tr.last > .dfVEZZ{border-left-width:0;background-position:top left;background-repeat:no-repeat;background-size:1px 100%;} tr:first-of-type > .dfVEZZ{background-image:linear-gradient( to bottom, transparent 0%, transparent 21px, #7f99cf 21px, #7f99cf 100% );} tr.last > .dfVEZZ{background-image:linear-gradient( to bottom, #7f99cf 0%, #7f99cf 21px, transparent 21px, transparent 100% );} tr.last + tr > .dfVEZZ{border-left-color:transparent;} tr:only-child > .dfVEZZ{background:none;border-left-color:transparent;} .dfVEZZ.deprecated{-webkit-text-decoration:line-through;text-decoration:line-through;color:#bdccd3;}
|
|||
|
/* sc-component-id: sc-frDJqD */
|
|||
|
.kFGYSv{vertical-align:middle;font-size:0.929em;line-height:20px;color:rgba(38,50,56,0.5);}
|
|||
|
/* sc-component-id: sc-jbKcbu */
|
|||
|
.fWVnWm{vertical-align:middle;font-size:0.929em;line-height:20px;color:#dd9900;font-size:13px;}
|
|||
|
/* sc-component-id: sc-cJSrbW */
|
|||
|
.cWGDGi{vertical-align:middle;font-size:0.929em;line-height:20px;}
|
|||
|
/* sc-component-id: sc-uJMKN */
|
|||
|
.cTkJKI{font-family:Courier,monospace;background-color:rgba(38,50,56,0.02);border:1px solid rgba(38,50,56,0.15);margin:0 3px;padding:0.4em 0.2em 0.2em;font-size:0.8em;border-radius:2px;color:rgba(38,50,56,0.9);display:inline-block;min-width:20px;text-align:center;line-height:1;vertical-align:middle;}
|
|||
|
/* sc-component-id: sc-kEYyzF */
|
|||
|
.dQvJei{min-width:100px;display:inline-block;position:relative;width:auto;font-family:Montserrat,sans-serif;} .dQvJei .Dropdown-control{font-family:Montserrat,sans-serif;position:relative;font-size:.929em;width:100%;line-height:1.5em;vertical-align:middle;cursor:pointer;border-color:rgba(38,50,56,0.5);color:#263238;outline:none;padding:0.15em 1.5em 0.2em 0.5em;border-radius:2px;border-width:1px;border-style:solid;margin-top:5px;background:white;} .dQvJei .Dropdown-control:hover{border-color:#32329f;color:#32329f;box-shadow:0px 2px 4px 0px rgba(34,36,38,0.12);} .dQvJei .Dropdown-arrow{border-color:#32329f transparent transparent;border-style:solid;border-width:0.35em 0.35em 0;content:' ';display:block;height:0;position:absolute;right:0.35em;top:50%;margin-top:-0.125em;width:0;} .dQvJei .Dropdown-menu{position:absolute;margin-top:2px;left:0;right:0;z-index:10;min-width:100px;background:white;border:1px solid rgba(38,50,56,0.2);box-shadow:0px 2px 4px 0px rgba(34,36,38,0.12),0px 2px 10px 0px rgba(34,36,38,0.08);} .dQvJei .Dropdown-option{font-size:0.9em;color:#263238;cursor:pointer;padding:0.4em;} .dQvJei .Dropdown-option.is-selected{background-color:rgba(0,0,0,0.05);} .dQvJei .Dropdown-option:hover{background-color:rgba(38,50,56,0.12);}
|
|||
|
/* sc-component-id: sc-elJkPf */
|
|||
|
.fqnLoc{font-size:18px;padding:0.2em 0;margin:3em 0 1.1em;color:#253137;font-weight:normal;}
|
|||
|
/* sc-component-id: sc-jwKygS */
|
|||
|
.gzRrXM{padding:10px;border-radius:2px;margin-bottom:4px;line-height:1.5em;background-color:#f2f2f2;cursor:pointer;color:#e53935;background-color:rgba(229,57,53,0.08);cursor:default;} .gzRrXM::before{content:"—";font-weight:bold;width:1.5em;text-align:center;display:inline-block;}.dhUdzU{padding:10px;border-radius:2px;margin-bottom:4px;line-height:1.5em;background-color:#f2f2f2;cursor:pointer;color:#00aa13;background-color:rgba(0,170,19,0.08);}.cWpcsB{padding:10px;border-radius:2px;margin-bottom:4px;line-height:1.5em;background-color:#f2f2f2;cursor:pointer;color:#00aa13;background-color:rgba(0,170,19,0.08);cursor:default;} .cWpcsB::before{content:"—";font-weight:bold;width:1.5em;text-align:center;display:inline-block;}
|
|||
|
/* sc-component-id: sc-EHOje */
|
|||
|
.gajuhA{width:40%;color:#fafbfc;background-color:#263238;padding:40px;background-color:#263238;} @media (max-width:85rem){.gajuhA{width:100%;}}
|
|||
|
/* sc-component-id: sc-eqIVtm */
|
|||
|
.cxwOot{cursor:pointer;position:relative;margin-bottom:5px;}
|
|||
|
/* sc-component-id: sc-caSCKo */
|
|||
|
.kXMHkQ{padding:10px 30px 10px 20px;border-radius:4px 4px 0 0;background-color:#222d32;display:block;font-weight:300;white-space:nowrap;overflow-x:hidden;text-overflow:ellipsis;border:1px solid transparent;border-bottom:0;-webkit-transition:border-color 0.25s ease;transition:border-color 0.25s ease;} .kXMHkQ ..sc-fAjcbJ{color:#ffffff;}
|
|||
|
/* sc-component-id: sc-gisBJw */
|
|||
|
.gUIBfR{font-size:0.929em;line-height:20px;background-color:#248fb2;color:#ffffff;padding:3px 10px;text-transform:uppercase;font-family:Montserrat,sans-serif;margin:0;}.dScgxX{font-size:0.929em;line-height:20px;background-color:#9b708b;color:#ffffff;padding:3px 10px;text-transform:uppercase;font-family:Montserrat,sans-serif;margin:0;}.jwhtSw{font-size:0.929em;line-height:20px;background-color:#6bbd5b;color:#ffffff;padding:3px 10px;text-transform:uppercase;font-family:Montserrat,sans-serif;margin:0;}.cTcfuA{font-size:0.929em;line-height:20px;background-color:#e27a7a;color:#ffffff;padding:3px 10px;text-transform:uppercase;font-family:Montserrat,sans-serif;margin:0;}
|
|||
|
/* sc-component-id: sc-fAjcbJ */
|
|||
|
.iccZbs{font-family:Montserrat,sans-serif;margin-left:10px;}
|
|||
|
/* sc-component-id: sc-kjoXOD */
|
|||
|
.jtThDR{position:absolute;width:100%;z-index:100;background:#fafafa;color:#263238;box-sizing:border-box;box-shadow:0px 0px 6px rgba(0,0,0,0.33);overflow:hidden;border-bottom-left-radius:4px;border-bottom-right-radius:4px;-webkit-transition:all 0.25s ease;transition:all 0.25s ease;-webkit-transform:translateY(-50%) scaleY(0);-ms-transform:translateY(-50%) scaleY(0);transform:translateY(-50%) scaleY(0);}
|
|||
|
/* sc-component-id: sc-cHGsZl */
|
|||
|
.hPSqZA{padding:10px;}
|
|||
|
/* sc-component-id: sc-TOsTZ */
|
|||
|
.jqDDQj{padding:5px;border:1px solid #ccc;background:#fff;word-break:break-all;color:#32329f;} .jqDDQj > span{color:#263238;}
|
|||
|
/* sc-component-id: sc-hSdWYo */
|
|||
|
.cQGxPn > ul{list-style:none;padding:0;margin:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;} .cQGxPn > ul > li{padding:5px 10px;display:inline-block;-webkit-flex:1;-ms-flex:1;flex:1;background-color:rgba(0,0,0,0.2);border-bottom:1px solid rgba(0,0,0,0.5);cursor:pointer;text-align:center;outline:none;color:#ccc;} .cQGxPn > ul > li.react-tabs__tab--selected{color:#fff;background:rgba(0,0,0,0.5);border-bottom:1px solid #7f99cf;} .cQGxPn > ul > li:only-child{-webkit-flex:none;-ms-flex:none;flex:none;min-width:100px;} .cQGxPn > ul > li.tab-success{color:#00aa13;} .cQGxPn > ul > li.tab-redirect{color:#ffa500;} .cQGxPn > ul > li.tab-info{color:#87ceeb;} .cQGxPn > ul > li.tab-error{color:#e53935;} .cQGxPn > .react-tabs__tab-panel{background:#171e21;} .cQGxPn > .react-tabs__tab-panel > div,.cQGxPn > .react-tabs__tab-panel > pre{padding:20px;margin:0;}
|
|||
|
/* sc-component-id: sc-iELTvK */
|
|||
|
.jTtHEZ{min-width:100px;display:inline-block;position:relative;width:auto;font-family:Montserrat,sans-serif;margin-left:10px;text-transform:none;font-size:0.929em;border-bottom:1px solid rgba(255,255,255,0.9);margin:0 0 10px 0;display:block;} .jTtHEZ .Dropdown-control{font-family:Montserrat,sans-serif;position:relative;font-size:.929em;width:100%;line-height:1.5em;vertical-align:middle;cursor:pointer;border-color:rgba(38,50,56,0.5);color:#263238;outline:none;padding:0.15em 1.5em 0.2em 0.5em;border-radius:2px;border-width:1px;border-style:solid;margin-top:5px;background:white;} .jTtHEZ .Dropdown-control:hover{border-color:#32329f;color:#32329f;box-shadow:0px 2px 4px 0px rgba(34,36,38,0.12);} .jTtHEZ .Dropdown-arrow{border-color:#32329f transparent transparent;border-style:solid;border-width:0.35em 0.35em 0;content:' ';display:block;height:0;position:absolute;right:0.35em;top:50%;margin-top:-0.125em;width:0;} .jTtHEZ .Dropdown-menu{position:absolute;margin-top:2px;left:0;right:0;z-index:10;min-width:100px;background:white;border:1px solid rgba(38,50,56,0.2);box-shadow:0px 2px 4px 0px rgba(34,36,38,0.12),0px 2px 10px 0px rgba(34,36,38,0.08);} .jTtHEZ .Dropdown-option{font-size:0.9em;color:#263238;cursor:pointer;padding:0.4em;} .jTtHEZ .Dropdown-option.is-selected{background-color:rgba(0,0,0,0.05);} .jTtHEZ .Dropdown-option:hover{background-color:rgba(38,50,56,0.12);} .jTtHEZ .Dropdown-control,.jTtHEZ .Dropdown-control:hover{font-size:1em;border:none;padding:0 1.2em 0 0;background:transparent;color:rgba(255,255,255,0.9);box-shadow:none;} .jTtHEZ .Dropdown-control .Dropdown-arrow,.jTtHEZ .Dropdown-control:hover .Dropdown-arrow{border-top-color:rgba(255,255,255,0.9);} .jTtHEZ .Dropdown-menu{margin:0;}
|
|||
|
/* sc-component-id: sc-eHgmQL */
|
|||
|
.exAnXh > ul{list-style:none;padding:0;margin:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;} .exAnXh > ul > li{padding:5px 10px;display:inline-block;-webkit-flex:1;-ms-flex:1;flex:1;background-color:rgba(0,0,0,0.2);border-bottom:1px solid rgba(0,0,0,0.5);cursor:pointer;text-align:center;outline:none;color:#ccc;} .exAnXh > ul > li.react-tabs__tab--selected{color:#fff;background:rgba(0,0,0,0.5);border-bottom:1px solid #7f99cf;} .exAnXh > ul > li:only-child{-webkit-flex:none;-ms-flex:none;flex:none;min-width:100px;} .exAnXh > ul > li.tab-success{color:#00aa13;} .exAnXh > ul > li.tab-redirect{color:#ffa500;} .exAnXh > ul > li.tab-info{color:#87ceeb;} .exAnXh > ul > li.tab-error{color:#e53935;} .exAnXh > .react-tabs__tab-panel{background:#171e21;} .exAnXh > .react-tabs__tab-panel > div,.exAnXh > .react-tabs__tab-panel > pre{padding:20px;margin:0;} .exAnXh > ul{display:block;} .exAnXh > ul > li{padding:0;margin-right:20px;font-size:12px;padding:2px 0;border-bottom:1px dashed;color:#787b7d;backgrond:none;} .exAnXh > ul > li:last-child{margin-right:0;} .exAnXh > ul > li.react-tabs__tab--selected{backgrond:none;color:#babcbf;} .exAnXh > .react-tabs__tab-panel > div,.exAnXh > .react-tabs__tab-panel > pre{padding:10px 0;margin:0;}
|
|||
|
/* sc-component-id: sc-cIShpX */
|
|||
|
.cQbnUN{font-family:Courier,monospace;font-size:13px;word-break:break-all;word-wrap:break-word;white-space:pre-wrap;} .cQbnUN .redoc-json > .collapser{display:none;} .cQbnUN .type-null{color:gray;} .cQbnUN .type-boolean{color:firebrick;} .cQbnUN .type-number{color:#4a8bb3;} .cQbnUN .type-string{color:#66b16e;} .cQbnUN .type-string + a{color:#66b16e;-webkit-text-decoration:underline;text-decoration:underline;} .cQbnUN .callback-function{color:gray;} .cQbnUN .collapser:after{content:'-';cursor:pointer;} .cQbnUN .collapsed > .collapser:after{content:'+';cursor:pointer;} .cQbnUN .ellipsis:after{content:' … ';} .cQbnUN .collapsible{margin-left:2em;} .cQbnUN .hoverable{padding-top:1px;padding-bottom:1px;padding-left:2px;padding-right:2px;border-radius:2px;} .cQbnUN .hovered{background-color:rgba(235,238,249,1);} .cQbnUN .collapser{padding-right:6px;padding-left:6px;} .cQbnUN ul{list-style-type:none;padding:0px;margin:0px 0px 0px 26px;} .cQbnUN li{position:relative;display:block;} .cQbnUN .hoverable{display:inline-block;} .cQbnUN .selected{outline-style:solid;outline-width:1px;outline-style:dotted;} .cQbnUN .collapsed > .collapsible{display:none;} .cQbnUN .ellipsis{display:none;} .cQbnUN .collapsed > .ellipsis{display:inherit;} .cQbnUN .collapser{position:absolute;top:1px;left:-1.5em;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none;}
|
|||
|
/* sc-component-id: sc-ktHwxA */
|
|||
|
.EWrFv:hover > .sc-cvbbAY{opacity:1;}
|
|||
|
/* sc-component-id: sc-cvbbAY */
|
|||
|
.ielVIU{opacity:0.4;-webkit-transition:opacity 0.3s ease;transition:opacity 0.3s ease;text-align:right;} .ielVIU > span{display:inline-block;padding:2px 10px;cursor:pointer;} .ielVIU > span:hover{background:rgba(255,255,255,0.1);}
|
|||
|
/* sc-component-id: sc-gGBfsJ */
|
|||
|
.hATwyF{position:relative;}
|
|||
|
/* sc-component-id: sc-jTzLTM */
|
|||
|
.crqdFG{display:inline-block;padding:0 5px;margin:0;background-color:#f1c400;color:white;font-size:13px;vertical-align:text-top;}
|
|||
|
/* sc-component-id: sc-iAyFgw */
|
|||
|
.erecPx{margin-left:10px;text-transform:none;font-size:0.929em;color:black;}
|
|||
|
/* sc-component-id: sc-feJyhm */
|
|||
|
.gTvQkb{border-bottom:1px solid rgba(255,255,255,0.9);margin:0 0 10px 0;display:block;color:rgba(255,255,255,0.8);}
|
|||
|
/* sc-component-id: sc-bbmXgH */
|
|||
|
.fRYbMb{vertical-align:middle;font-size:0.929em;line-height:20px;background-color:rgba(50,50,159,0.15);color:rgba(50,50,159,0.6);margin-right:6px;margin-left:6px;border-radius:2px;padding:0 4px;}
|
|||
|
/* sc-component-id: sc-jqCOkK */
|
|||
|
.egdWky{vertical-align:middle;font-size:0.929em;line-height:20px;color:#3195a6;} .egdWky::before,.egdWky::after{content:'/';font-weight:bold;}
|
|||
|
/* sc-component-id: sc-dNLxif */
|
|||
|
.flyJhq{vertical-align:middle;font-size:0.929em;line-height:20px;color:#3195a6;font-size:13px;}
|
|||
|
/* sc-component-id: sc-eNQAEJ */
|
|||
|
.irTNxB{font-size:0.9em;font-family:Courier,monospace;} .irTNxB::after{content:' [';}
|
|||
|
/* sc-component-id: sc-hMqMXs */
|
|||
|
.byNWen{font-size:0.9em;font-family:Courier,monospace;} .byNWen::after{content:']';}
|
|||
|
/* sc-component-id: sc-kIPQKe */
|
|||
|
.cUCetm{background:#263238;position:absolute;top:0;bottom:0;right:0;width:calc((100% - 260px) * 0.4);} @media (max-width:85rem){.cUCetm{display:none;}}</style>
|
|||
|
</head>
|
|||
|
<body>
|
|||
|
<script>
|
|||
|
document.addEventListener('DOMContentLoaded', function() {
|
|||
|
const state = {"menu":{"activeItemIdx":-1},"spec":{"url":"../demo/openapi.yaml","data":{"openapi":"3.0.0","servers":[{"url":"//petstore.swagger.io/v2","description":"Default server"},{"url":"//petstore.swagger.io/sandbox","description":"Sandbox server"}],"info":{"description":"This is a sample server Petstore server.\nYou can find out more about Swagger at\n[http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/).\nFor this sample, you can use the api key `special-key` to test the authorization filters.\n# Introduction\nThis API is documented in **OpenAPI format** and is based on\n[Petstore sample](http://petstore.swagger.io/) provided by [swagger.io](http://swagger.io) team.\nIt was **extended** to illustrate features of [generator-openapi-repo](https://github.com/Rebilly/generator-openapi-repo)\ntool and [ReDoc](https://github.com/Rebilly/ReDoc) documentation. In addition to standard\nOpenAPI syntax we use a few [vendor extensions](https://github.com/Rebilly/ReDoc/blob/master/docs/redoc-vendor-extensions.md).\n# OpenAPI Specification\nThis API is documented in **OpenAPI format** and is based on\n[Petstore sample](http://petstore.swagger.io/) provided by [swagger.io](http://swagger.io) team.\nIt was **extended** to illustrate features of [generator-openapi-repo](https://github.com/Rebilly/generator-openapi-repo)\ntool and [ReDoc](https://github.com/Rebilly/ReDoc) documentation. In addition to standard\nOpenAPI syntax we use a few [vendor extensions](https://github.com/Rebilly/ReDoc/blob/master/docs/redoc-vendor-extensions.md).\n# Cross-Origin Resource Sharing\nThis API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/).\nAnd that allows cross-domain communication from the browser.\nAll responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site.\n# Authentication\nPetstore offers two forms of authentication:\n - API Key\n - OAuth2\n\nOAuth2 - an open protocol to allow secure authorization in a simple and standard method from web, mobile and desktop applications.\n<!-- ReDoc-Inject: <security-definitions> -->\n","version":"1.0.0","title":"Swagger Petstore","termsOfService":"http://swagger.io/terms/","contact":{"name":"API Support","email":"apiteam@swagger.io","url":"https://github.com/Rebilly/ReDoc"},"x-logo":{"url":"https://rebilly.github.io/ReDoc/petstore-logo.png"},"license":{"name":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}},"externalDocs":{"description":"Find out how to create Github repo for your OpenAPI spec.","url":"https://github.com/Rebilly/generator-openapi-repo"},"tags":[{"name":"pet","description":"Everything about your Pets"},{"name":"store","description":"Access to Petstore orders"},{"name":"user","description":"Operations about user"}],"x-tagGroups":[{"name":"General","tags":["pet","store"]},{"name":"User Management","tags":["user"]}],"paths":{"/pet":{"parameters":[{"name":"cookieParam","in":"cookie","description":"Some cookie","required":true,"schema":{"type":"integer","format":"int64"}}],"post":{"tags":["pet"],"summary":"Add a new pet to the store","description":"Add new pet to the store inventory.","operationId":"addPet","responses":{"405":{"description":"Invalid input"}},"security":[{"petstore_auth":["write:pets","read:pets"]}],"x-code-samples":[{"lang":"C#","source":"PetStore.v1.Pet pet = new PetStore.v1.Pet();\npet.setApiKey(\"your api key\");\npet.petType = PetStore.v1.Pet.TYPE_DOG;\npet.name = \"Rex\";\n// set other fields\nPetStoreResponse response = pet.create();\nif (response.statusCode == HttpStatusCode.Created)\n{\n // Successfully created\n}\nelse\n{\n // Something wrong -- check response for errors\n Console.WriteLine(response.getRawResponse());\n}\n"},{"lang":"PHP","source":"$form = new \\PetStore\\Entities\\Pet();\n$form->setPetType(\"Dog\");\n$form->setName(\"Rex\");\n// set other fields\ntry {\n $pet = $client->pets()->create($form);\n} catch (UnprocessableEntityExce
|
|||
|
var container = document.getElementById('redoc');
|
|||
|
Redoc.hydrate(state, container);;
|
|||
|
});
|
|||
|
</script>
|
|||
|
<div id="redoc"><div class="redoc-wrap sc-kfGgVZ koagqx"><div class="menu-content sc-hwwEjo jmbRjy" style="top:0px;height:calc(100vh - 0px)"><div class="sc-Rmtcm gpiYEH"><a class="sc-bRBYWo bhewGY" href="https://github.com/Rebilly/ReDoc"><img class="sc-csuQGl dNauuw" src="https://rebilly.github.io/ReDoc/petstore-logo.png"/></a> </div><div class="sc-eXEjpC eGjUZe"><svg class="sc-RefOD search-icon bwMttw" version="1.1" viewBox="0 0 1000 1000" x="0px" xmlns="http://www.w3.org/2000/svg" y="0px"><path d="M968.2,849.4L667.3,549c83.9-136.5,66.7-317.4-51.7-435.6C477.1-25,252.5-25,113.9,113.4c-138.5,138.3-138.5,362.6,0,501C219.2,730.1,413.2,743,547.6,666.5l301.9,301.4c43.6,43.6,76.9,14.9,104.2-12.4C981,928.3,1011.8,893,968.2,849.4z M524.5,522c-88.9,88.7-233,88.7-321.8,0c-88.9-88.7-88.9-232.6,0-321.3c88.9-88.7,233-88.7,321.8,0C613.4,289.4,613.4,433.3,524.5,522z"></path></svg><input type="text" class="sc-ibxdXY search-input hNjDfa" value="" placeholder="Search..."/></div><div class="scrollbar-container undefined sc-brqgnP jxxQpd"><ul class="sc-dqBHgY bMoiKd"><li class="sc-gxMtzJ htVweZ"><label class="sc-dfVpRl menu-item -depth1 eKUEiA"><span class="sc-gzOgki menu-item-title ecYUwq" title="Introduction">Introduction</span></label></li><li class="sc-gxMtzJ htVweZ"><label class="sc-dfVpRl menu-item -depth1 eKUEiA"><span class="sc-gzOgki menu-item-title ecYUwq" title="OpenAPI Specification">OpenAPI Specification</span></label></li><li class="sc-gxMtzJ htVweZ"><label class="sc-dfVpRl menu-item -depth1 eKUEiA"><span class="sc-gzOgki menu-item-title ecYUwq" title="Cross-Origin Resource Sharing">Cross-Origin Resource Sharing</span></label></li><li class="sc-gxMtzJ htVweZ"><label class="sc-dfVpRl menu-item -depth1 eKUEiA"><span class="sc-gzOgki menu-item-title ecYUwq" title="Authentication">Authentication</span></label></li><li class="sc-gxMtzJ gnJHIw"><label class="sc-dfVpRl menu-item -depth0 active fUKsQP"><span class="sc-gzOgki menu-item-title ecYUwq" title="General">General</span></label><ul class="sc-dqBHgY bMoiKd"><li class="sc-gxMtzJ htVweZ"><label class="sc-dfVpRl menu-item -depth1 eKUEiA"><span class="sc-gzOgki menu-item-title ecYUwq" title="pet">pet</span><svg class="sc-VigVT dTwlOQ" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></label><ul class="sc-dqBHgY dzBiMN"><li class="sc-gxMtzJ htVweZ"><label class="sc-dfVpRl menu-item -depth2 fVpvxt"><span class="sc-kTUwUJ operation-type post dfDMmE" type="post"></span><span class="sc-gzOgki menu-item-title cWqqjj" width="calc(100% - 32px)">Add a new pet to the store</span></label></li><li class="sc-gxMtzJ htVweZ"><label class="sc-dfVpRl menu-item -depth2 fVpvxt"><span class="sc-kTUwUJ operation-type put dfDMmE" type="put"></span><span class="sc-gzOgki menu-item-title cWqqjj" width="calc(100% - 32px)">Update an existing pet</span></label></li><li class="sc-gxMtzJ htVweZ"><label class="sc-dfVpRl menu-item -depth2 fVpvxt"><span class="sc-kTUwUJ operation-type get dfDMmE" type="get"></span><span class="sc-gzOgki menu-item-title cWqqjj" width="calc(100% - 32px)">Find pet by ID</span></label></li><li class="sc-gxMtzJ htVweZ"><label class="sc-dfVpRl menu-item -depth2 fVpvxt"><span class="sc-kTUwUJ operation-type post dfDMmE" type="post"></span><span class="sc-gzOgki menu-item-title cWqqjj" width="calc(100% - 32px)">Updates a pet in the store with form data</span></label></li><li class="sc-gxMtzJ htVweZ"><label class="sc-dfVpRl menu-item -depth2 fVpvxt"><span class="sc-kTUwUJ operation-type delete dfDMmE" type="delete"></span><span class="sc-gzOgki menu-item-title cWqqjj" width="calc(100% - 32px)">Deletes a pet</span></label></li><li class="sc-gxMtzJ htVweZ"><label class="sc-dfVpRl menu-item -depth2 fVpvxt"><span class="sc-kTUwUJ operation-type post dfDMmE" type="post"></span><span class="sc-gzOgki menu-item-title cWqqjj" width="calc(100% - 32px)">uploads an image</span></label></li><li class="sc-gxMtzJ htVweZ"><label class="sc-dfVpRl menu-item -depth2 fVpvxt"><span class=
|
|||
|
m -673.67664,1221.6502 -231.2455,-231.24803 55.6165,
|
|||
|
-55.627 c 30.5891,-30.59485 56.1806,-55.627 56.8701,-55.627 0.6894,
|
|||
|
0 79.8637,78.60862 175.9427,174.68583 l 174.6892,174.6858 174.6892,
|
|||
|
-174.6858 c 96.079,-96.07721 175.253196,-174.68583 175.942696,
|
|||
|
-174.68583 0.6895,0 26.281,25.03215 56.8701,
|
|||
|
55.627 l 55.6165,55.627 -231.245496,231.24803 c -127.185,127.1864
|
|||
|
-231.5279,231.248 -231.873,231.248 -0.3451,0 -104.688,
|
|||
|
-104.0616 -231.873,-231.248 z
|
|||
|
" fill="currentColor"></path></g></svg><svg class="" style="transform:translate(2px, 4px);transition:transform 0.2s ease" viewBox="0 0 926.23699 573.74994" version="1.1" x="0px" y="0px" width="15" height="15"><g transform="translate(904.92214,-879.1482)"><path d="
|
|||
|
m -673.67664,1221.6502 -231.2455,-231.24803 55.6165,
|
|||
|
-55.627 c 30.5891,-30.59485 56.1806,-55.627 56.8701,-55.627 0.6894,
|
|||
|
0 79.8637,78.60862 175.9427,174.68583 l 174.6892,174.6858 174.6892,
|
|||
|
-174.6858 c 96.079,-96.07721 175.253196,-174.68583 175.942696,
|
|||
|
-174.68583 0.6895,0 26.281,25.03215 56.8701,
|
|||
|
55.627 l 55.6165,55.627 -231.245496,231.24803 c -127.185,127.1864
|
|||
|
-231.5279,231.248 -231.873,231.248 -0.3451,0 -104.688,
|
|||
|
-104.0616 -231.873,-231.248 z
|
|||
|
" fill="currentColor"></path></g></svg></div></div><div class="api-content sc-esjQYD iUUkOJ"><div class="sc-gzVnrw bXxFir"><div class="api-info sc-bxivhb fjKjLr"><h1 class="sc-jDwBTQ jYqRBb">Swagger Petstore<!-- --> <span>(<!-- -->1.0.0<!-- -->)</span></h1><p>Download OpenAPI specification:<a class="sc-gPEVay jccrdq" target="_blank" href="../demo/openapi.yaml">Download</a></p><div class="sc-jlyJG exXevH"><div class="sc-gipzik imVfBp"><span class="sc-iRbamj fgfkPc">API Support<!-- -->:<!-- --> <a href="mailto:apiteam@swagger.io">apiteam@swagger.io</a></span> <span class="sc-iRbamj fgfkPc">URL: <a href="https://github.com/Rebilly/ReDoc">https://github.com/Rebilly/ReDoc</a></span> <span class="sc-iRbamj fgfkPc">License: <a href="http://www.apache.org/licenses/LICENSE-2.0.html">Apache 2.0</a></span> <span class="sc-iRbamj fgfkPc"><a href="http://swagger.io/terms/">Terms of Service</a></span></div></div><p><a href="https://github.com/Rebilly/generator-openapi-repo">Find out how to create Github repo for your OpenAPI spec.</a></p><div><div class="sc-cMljjf ctAfPo redoc-markdown"><div><p>This is a sample server Petstore server.
|
|||
|
You can find out more about Swagger at
|
|||
|
<a href="http://swagger.io">http://swagger.io</a> or on <a href="http://swagger.io/irc/">irc.freenode.net, #swagger</a>.
|
|||
|
For this sample, you can use the api key <code>special-key</code> to test the authorization filters.</p>
|
|||
|
<a name="section/Introduction"></a><h1 data-section-id="section/Introduction" id="section/Introduction"><a class="share-link" href="#section/Introduction"></a>Introduction</h1><p>This API is documented in <strong>OpenAPI format</strong> and is based on
|
|||
|
<a href="http://petstore.swagger.io/">Petstore sample</a> provided by <a href="http://swagger.io">swagger.io</a> team.
|
|||
|
It was <strong>extended</strong> to illustrate features of <a href="https://github.com/Rebilly/generator-openapi-repo">generator-openapi-repo</a>
|
|||
|
tool and <a href="https://github.com/Rebilly/ReDoc">ReDoc</a> documentation. In addition to standard
|
|||
|
OpenAPI syntax we use a few <a href="https://github.com/Rebilly/ReDoc/blob/master/docs/redoc-vendor-extensions.md">vendor extensions</a>.</p>
|
|||
|
<a name="section/OpenAPI-Specification"></a><h1 data-section-id="section/OpenAPI-Specification" id="section/OpenAPI-Specification"><a class="share-link" href="#section/OpenAPI-Specification"></a>OpenAPI Specification</h1><p>This API is documented in <strong>OpenAPI format</strong> and is based on
|
|||
|
<a href="http://petstore.swagger.io/">Petstore sample</a> provided by <a href="http://swagger.io">swagger.io</a> team.
|
|||
|
It was <strong>extended</strong> to illustrate features of <a href="https://github.com/Rebilly/generator-openapi-repo">generator-openapi-repo</a>
|
|||
|
tool and <a href="https://github.com/Rebilly/ReDoc">ReDoc</a> documentation. In addition to standard
|
|||
|
OpenAPI syntax we use a few <a href="https://github.com/Rebilly/ReDoc/blob/master/docs/redoc-vendor-extensions.md">vendor extensions</a>.</p>
|
|||
|
<a name="section/Cross-Origin-Resource-Sharing"></a><h1 data-section-id="section/Cross-Origin-Resource-Sharing" id="section/Cross-Origin-Resource-Sharing"><a class="share-link" href="#section/Cross-Origin-Resource-Sharing"></a>Cross-Origin Resource Sharing</h1><p>This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with <a href="https://www.w3.org/TR/cors/">W3C spec</a>.
|
|||
|
And that allows cross-domain communication from the browser.
|
|||
|
All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site.</p>
|
|||
|
<a name="section/Authentication"></a><h1 data-section-id="section/Authentication" id="section/Authentication"><a class="share-link" href="#section/Authentication"></a>Authentication</h1><p>Petstore offers two forms of authentication:</p>
|
|||
|
<ul>
|
|||
|
<li>API Key</li>
|
|||
|
<li>OAuth2</li>
|
|||
|
</ul>
|
|||
|
<p>OAuth2 - an open protocol to allow secure authorization in a simple and standard method from web, mobile and desktop applications.</p>
|
|||
|
</div><div><div data-section-id="section/Authentication/petstore_auth"><h2 class="sc-dnqmqq gUwOOz"><a class="sc-gqjmRU ezDBgA" href="#section/Authentication/petstore_auth"></a>petstore_auth</h2><div class="sc-cMljjf ctAfPo redoc-markdown"><div><p>Get access to data while protecting your account credentials.
|
|||
|
OAuth2 is also a safer and more secure way to give you access.</p>
|
|||
|
</div></div><table class="security-details sc-jAaTju jnFeGP"><tbody><tr><th> Security scheme type: </th><td> <!-- -->OAuth2<!-- --> </td></tr><tr><th> <!-- -->implicit<!-- --> OAuth Flow </th><td><div><strong> Authorization URL: </strong>http://petstore.swagger.io/api/oauth/dialog</div><div><strong> Scopes: </strong></div><ul><li><code>write:pets</code> - <!-- -->modify pets in your account</li><li><code>read:pets</code> - <!-- -->read your pets</li></ul></td></tr></tbody></table></div><div data-section-id="section/Authentication/api_key"><h2 class="sc-dnqmqq gUwOOz"><a class="sc-gqjmRU ezDBgA" href="#section/Authentication/api_key"></a>api_key</h2><div class="sc-cMljjf ctAfPo redoc-markdown"><div><p>For this sample, you can use the api key <code>special-key</code> to test the authorization filters.</p>
|
|||
|
</div></div><table class="security-details sc-jAaTju jnFeGP"><tbody><tr><th> Security scheme type: </th><td> <!-- -->API Key<!-- --> </td></tr><tr><th> <!-- -->header<!-- --> parameter name:</th><td> <!-- -->api_key<!-- --> </td></tr></tbody></table></div></div></div></div></div><div class="sc-bZQynM kpauqW"></div></div><div data-section-id="group/General"></div><div data-section-id="tag/pet"><div class="sc-gzVnrw bXxFir"><div class="sc-bxivhb fjKjLr"><h1 class="sc-htoDjs sMszs"><a class="sc-gqjmRU ezDBgA" href="#tag/pet"></a>pet</h1><div class="sc-cMljjf ctAfPo redoc-markdown"><div><p>Everything about your Pets</p>
|
|||
|
</div></div></div><div class="sc-bZQynM kpauqW"></div></div></div><div data-section-id="/paths/~1pet/post"><div class="sc-jtRfpW gyYFXv"><div class="sc-bxivhb fjKjLr"><h2 class="sc-dnqmqq gUwOOz"><a class="sc-gqjmRU ezDBgA" href="#operation/addPet"></a>Add a new pet to the store<!-- --> </h2><div class="sc-cMljjf ctAfPo redoc-markdown"><div><p>Add new pet to the store inventory.</p>
|
|||
|
</div></div><table class="sc-dVhcbM hqziJB"><tbody><tr><td class="sc-jhAzac hmXDXQ"><h5 class="sc-fMiknA cokGxg">Authorizations: </h5></td><td class="sc-fBuWsC kbYuVe"><div><a href="#section/Authentication/petstore_auth">petstore_auth</a> (<code class="sc-hzDkRC iKWaWx">write:pets</code><code class="sc-hzDkRC iKWaWx">read:pets</code>) </div></td></tr></tbody></table><div><div><h5 class="sc-gZMcBi buVgxj">cookie<!-- --> Parameters</h5><table class="sc-kpOJdX ggTJpG"><tbody><tr class="last undefined"><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>cookieParam<div class="sc-hqyNC eyQVZA"> required </div></td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">integer</span><span class="sc-hmzhuo fMaAjW"> <<!-- -->int64<!-- -->></span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>Some cookie</p>
|
|||
|
</div></div></div></div></td></tr></tbody></table></div><div><h5 class="sc-gZMcBi buVgxj">Request Body schema: <div class="Dropdown-root sc-kkGfuU hqbOqZ"><div class="Dropdown-control "><div class="Dropdown-placeholder">application/json</div><span class="Dropdown-arrow"></span></div></div></h5><table class="sc-kpOJdX ggTJpG"><tbody><tr><td class="sc-kgAjT dfVEZZ"><span class="sc-kgoBCf dUapcv"></span>category<svg class="sc-VigVT euEWDD" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">object</span><span class="sc-frDJqD kFGYSv"> (<!-- -->Category<!-- -->) </span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>Categories this pet belongs to</p>
|
|||
|
</div></div></div></div></td></tr><tr><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>name<div class="sc-hqyNC eyQVZA"> required </div></td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">string</span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>The name given to a pet</p>
|
|||
|
</div></div></div></div></td></tr><tr><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>photoUrls<div class="sc-hqyNC eyQVZA"> required </div></td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH">Array of </span><span class="sc-hmzhuo fMaAjW">string</span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>The list of URL to a cute photos featuring pet</p>
|
|||
|
</div></div></div></div></td></tr><tr><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>friend</td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">object</span><span class="sc-frDJqD kFGYSv"> (<!-- -->Pet<!-- -->) </span><span class="sc-jbKcbu fWVnWm"> Recursive </span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div></div></div></div></div></td></tr><tr><td class="sc-kgAjT dfVEZZ"><span class="sc-kgoBCf dUapcv"></span>tags<svg class="sc-VigVT euEWDD" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH">Array of </span><span class="sc-hmzhuo fMaAjW">object</span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>Tags attached to the pet</p>
|
|||
|
</div></div></div></div></td></tr><tr><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>status</td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">string</span></div><div><span class="sc-cJSrbW cWGDGi"> Enum:</span><span class="sc-uJMKN cTkJKI">"available"<!-- --> </span><span class="sc-uJMKN cTkJKI">"pending"<!-- --> </span><span class="sc-uJMKN cTkJKI">"sold"<!-- --> </span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>Pet status in the store</p>
|
|||
|
</div></div></div></div></td></tr><tr><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>petType</td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">string</span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>Type of a pet</p>
|
|||
|
</div></div></div><div class="Dropdown-root sc-kEYyzF dQvJei"><div class="Dropdown-control "><div class="Dropdown-placeholder">cat</div><span class="Dropdown-arrow"></span></div></div></div></td></tr><tr class="last undefined"><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>huntingSkill<div class="sc-hqyNC eyQVZA"> required </div></td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">string</span></div><div><span class="sc-cJSrbW cWGDGi"> <!-- -->Default:<!-- --> </span> <span class="sc-uJMKN cTkJKI"> <!-- -->"lazy"<!-- --> </span></div><div><span class="sc-cJSrbW cWGDGi"> Enum:</span><span class="sc-uJMKN cTkJKI">"clueless"<!-- --> </span><span class="sc-uJMKN cTkJKI">"lazy"<!-- --> </span><span class="sc-uJMKN cTkJKI">"adventurous"<!-- --> </span><span class="sc-uJMKN cTkJKI">"aggressive"<!-- --> </span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>The measured skill for hunting</p>
|
|||
|
</div></div></div></div></td></tr></tbody></table></div></div><div><h3 class="sc-elJkPf fqnLoc"> Responses </h3><div><div class="sc-jwKygS gzRrXM"><strong>405<!-- --> </strong><span class="sc-cMljjf ctAfPo redoc-markdown -dense -inline"><p>Invalid input</p>
|
|||
|
</span></div></div></div></div><div class="sc-EHOje gajuhA"><div class="sc-eqIVtm cxwOot"><div class="sc-caSCKo kXMHkQ"><span class="sc-gisBJw http-verb post gUIBfR" type="post"> <!-- -->post</span> <span class="sc-fAjcbJ iccZbs">/pet</span><svg class="sc-VigVT jIswnA" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-kjoXOD jtThDR"><div class="sc-cHGsZl hPSqZA"><div>Default server</div><div><div class="sc-TOsTZ jqDDQj"><span>null//petstore.swagger.io/v2</span>/pet</div></div></div><div class="sc-cHGsZl hPSqZA"><div>Sandbox server</div><div><div class="sc-TOsTZ jqDDQj"><span>null//petstore.swagger.io/sandbox</span>/pet</div></div></div></div></div><div><h3> Request samples </h3><div class="sc-hSdWYo cQGxPn" data-tabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="react-tabs__tab react-tabs__tab--selected" role="tab" id="react-tabs-0" aria-selected="true" aria-disabled="false" aria-controls="react-tabs-1" tabindex="0"> Payload </li><li class="react-tabs__tab" role="tab" id="react-tabs-2" aria-selected="false" aria-disabled="false" aria-controls="react-tabs-3">C#</li><li class="react-tabs__tab" role="tab" id="react-tabs-4" aria-selected="false" aria-disabled="false" aria-controls="react-tabs-5">PHP</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="react-tabs-1" aria-labelledby="react-tabs-0"><div><div class="Dropdown-root sc-iELTvK jTtHEZ"><div class="Dropdown-control "><div class="Dropdown-placeholder">application/json</div><span class="Dropdown-arrow"></span></div></div><div class="sc-eHgmQL exAnXh" data-tabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="react-tabs__tab react-tabs__tab--selected" role="tab" id="react-tabs-6" aria-selected="true" aria-disabled="false" aria-controls="react-tabs-7" tabindex="0"> <!-- -->cat<!-- --> </li><li class="react-tabs__tab" role="tab" id="react-tabs-8" aria-selected="false" aria-disabled="false" aria-controls="react-tabs-9"> <!-- -->dog<!-- --> </li><li class="react-tabs__tab" role="tab" id="react-tabs-10" aria-selected="false" aria-disabled="false" aria-controls="react-tabs-11"> <!-- -->bee<!-- --> </li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="react-tabs-7" aria-labelledby="react-tabs-6"><div class="sc-ktHwxA EWrFv"><div class="sc-cvbbAY ielVIU"><span><div class="sc-gGBfsJ hATwyF">Copy</div></span><span> Expand all </span><span> Collapse all </span></div><div class="sc-cIShpX cQbnUN"><div class="redoc-json"><div class="collapser"></div>{<span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property">"category"</span>: <div class="collapser"></div>{<span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property">"name"</span>: <span class="type-string">"string"</span>,</div></li><li><div class="hoverable collapsed"><span class="property">"sub"</span>: <div class="collapser"></div>{<span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property">"prop1"</span>: <span class="type-string">"string"</span></div></li></ul>}</div></li></ul>},</div></li><li><div class="hoverable "><span class="property">"name"</span>: <span class="type-string">"Guru"</span>,</div></li><li><div class="hoverable "><span class="property">"photoUrls"</span>: <div class="collapser"></div>[<span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable collapsed"><span class="type-string">"string"</span></div></li></ul>],</div></li><li><div class="hoverable "><span class="property">"friend"</span>: { },</div></li><li><div class="hoverable "><span class="property">"tags"</span>: <div class="collapser"></div>[<span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable collapsed"><div cl
|
|||
|
</div></div></div></div></td></tr></tbody></table></div><div><h5 class="sc-gZMcBi buVgxj">Request Body schema: <div class="Dropdown-root sc-kkGfuU hqbOqZ"><div class="Dropdown-control "><div class="Dropdown-placeholder">application/json</div><span class="Dropdown-arrow"></span></div></div></h5><table class="sc-kpOJdX ggTJpG"><tbody><tr><td class="sc-kgAjT dfVEZZ"><span class="sc-kgoBCf dUapcv"></span>category<svg class="sc-VigVT euEWDD" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">object</span><span class="sc-frDJqD kFGYSv"> (<!-- -->Category<!-- -->) </span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>Categories this pet belongs to</p>
|
|||
|
</div></div></div></div></td></tr><tr><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>name<div class="sc-hqyNC eyQVZA"> required </div></td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">string</span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>The name given to a pet</p>
|
|||
|
</div></div></div></div></td></tr><tr><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>photoUrls<div class="sc-hqyNC eyQVZA"> required </div></td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH">Array of </span><span class="sc-hmzhuo fMaAjW">string</span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>The list of URL to a cute photos featuring pet</p>
|
|||
|
</div></div></div></div></td></tr><tr><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>friend</td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">object</span><span class="sc-frDJqD kFGYSv"> (<!-- -->Pet<!-- -->) </span><span class="sc-jbKcbu fWVnWm"> Recursive </span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div></div></div></div></div></td></tr><tr><td class="sc-kgAjT dfVEZZ"><span class="sc-kgoBCf dUapcv"></span>tags<svg class="sc-VigVT euEWDD" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH">Array of </span><span class="sc-hmzhuo fMaAjW">object</span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>Tags attached to the pet</p>
|
|||
|
</div></div></div></div></td></tr><tr><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>status</td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">string</span></div><div><span class="sc-cJSrbW cWGDGi"> Enum:</span><span class="sc-uJMKN cTkJKI">"available"<!-- --> </span><span class="sc-uJMKN cTkJKI">"pending"<!-- --> </span><span class="sc-uJMKN cTkJKI">"sold"<!-- --> </span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>Pet status in the store</p>
|
|||
|
</div></div></div></div></td></tr><tr><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>petType</td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">string</span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>Type of a pet</p>
|
|||
|
</div></div></div><div class="Dropdown-root sc-kEYyzF dQvJei"><div class="Dropdown-control "><div class="Dropdown-placeholder">cat</div><span class="Dropdown-arrow"></span></div></div></div></td></tr><tr class="last undefined"><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>huntingSkill<div class="sc-hqyNC eyQVZA"> required </div></td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">string</span></div><div><span class="sc-cJSrbW cWGDGi"> <!-- -->Default:<!-- --> </span> <span class="sc-uJMKN cTkJKI"> <!-- -->"lazy"<!-- --> </span></div><div><span class="sc-cJSrbW cWGDGi"> Enum:</span><span class="sc-uJMKN cTkJKI">"clueless"<!-- --> </span><span class="sc-uJMKN cTkJKI">"lazy"<!-- --> </span><span class="sc-uJMKN cTkJKI">"adventurous"<!-- --> </span><span class="sc-uJMKN cTkJKI">"aggressive"<!-- --> </span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>The measured skill for hunting</p>
|
|||
|
</div></div></div></div></td></tr></tbody></table></div></div><div><h3 class="sc-elJkPf fqnLoc"> Responses </h3><div><div class="sc-jwKygS gzRrXM"><strong>400<!-- --> </strong><span class="sc-cMljjf ctAfPo redoc-markdown -dense -inline"><p>Invalid ID supplied</p>
|
|||
|
</span></div></div><div><div class="sc-jwKygS gzRrXM"><strong>404<!-- --> </strong><span class="sc-cMljjf ctAfPo redoc-markdown -dense -inline"><p>Pet not found</p>
|
|||
|
</span></div></div><div><div class="sc-jwKygS gzRrXM"><strong>405<!-- --> </strong><span class="sc-cMljjf ctAfPo redoc-markdown -dense -inline"><p>Validation exception</p>
|
|||
|
</span></div></div></div></div><div class="sc-EHOje gajuhA"><div class="sc-eqIVtm cxwOot"><div class="sc-caSCKo kXMHkQ"><span class="sc-gisBJw http-verb put dScgxX" type="put"> <!-- -->put</span> <span class="sc-fAjcbJ iccZbs">/pet</span><svg class="sc-VigVT jIswnA" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-kjoXOD jtThDR"><div class="sc-cHGsZl hPSqZA"><div>Default server</div><div><div class="sc-TOsTZ jqDDQj"><span>null//petstore.swagger.io/v2</span>/pet</div></div></div><div class="sc-cHGsZl hPSqZA"><div>Sandbox server</div><div><div class="sc-TOsTZ jqDDQj"><span>null//petstore.swagger.io/sandbox</span>/pet</div></div></div></div></div><div><h3> Request samples </h3><div class="sc-hSdWYo cQGxPn" data-tabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="react-tabs__tab react-tabs__tab--selected" role="tab" id="react-tabs-12" aria-selected="true" aria-disabled="false" aria-controls="react-tabs-13" tabindex="0"> Payload </li><li class="react-tabs__tab" role="tab" id="react-tabs-14" aria-selected="false" aria-disabled="false" aria-controls="react-tabs-15">PHP</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="react-tabs-13" aria-labelledby="react-tabs-12"><div><div class="Dropdown-root sc-iELTvK jTtHEZ"><div class="Dropdown-control "><div class="Dropdown-placeholder">application/json</div><span class="Dropdown-arrow"></span></div></div><div class="sc-eHgmQL exAnXh" data-tabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="react-tabs__tab react-tabs__tab--selected" role="tab" id="react-tabs-16" aria-selected="true" aria-disabled="false" aria-controls="react-tabs-17" tabindex="0"> <!-- -->cat<!-- --> </li><li class="react-tabs__tab" role="tab" id="react-tabs-18" aria-selected="false" aria-disabled="false" aria-controls="react-tabs-19"> <!-- -->dog<!-- --> </li><li class="react-tabs__tab" role="tab" id="react-tabs-20" aria-selected="false" aria-disabled="false" aria-controls="react-tabs-21"> <!-- -->bee<!-- --> </li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="react-tabs-17" aria-labelledby="react-tabs-16"><div class="sc-ktHwxA EWrFv"><div class="sc-cvbbAY ielVIU"><span><div class="sc-gGBfsJ hATwyF">Copy</div></span><span> Expand all </span><span> Collapse all </span></div><div class="sc-cIShpX cQbnUN"><div class="redoc-json"><div class="collapser"></div>{<span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property">"category"</span>: <div class="collapser"></div>{<span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property">"name"</span>: <span class="type-string">"string"</span>,</div></li><li><div class="hoverable collapsed"><span class="property">"sub"</span>: <div class="collapser"></div>{<span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property">"prop1"</span>: <span class="type-string">"string"</span></div></li></ul>}</div></li></ul>},</div></li><li><div class="hoverable "><span class="property">"name"</span>: <span class="type-string">"Guru"</span>,</div></li><li><div class="hoverable "><span class="property">"photoUrls"</span>: <div class="collapser"></div>[<span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable collapsed"><span class="type-string">"string"</span></div></li></ul>],</div></li><li><div class="hoverable "><span class="property">"friend"</span>: { },</div></li><li><div class="hoverable "><span class="property">"tags"</span>: <div class="collapser"></div>[<span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable collapsed"><div class="collapser"></div>{<span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span clas
|
|||
|
</div></div><table class="sc-dVhcbM hqziJB"><tbody><tr><td class="sc-jhAzac hmXDXQ"><h5 class="sc-fMiknA cokGxg">Authorizations: </h5></td><td class="sc-fBuWsC kbYuVe"><div><a href="#section/Authentication/api_key">api_key</a></div></td></tr></tbody></table><div><div><h5 class="sc-gZMcBi buVgxj">path<!-- --> Parameters</h5><table class="sc-kpOJdX ggTJpG"><tbody><tr class="last undefined"><td class="deprecated sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>petId<div class="sc-hqyNC eyQVZA"> required </div></td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">integer</span><span class="sc-hmzhuo fMaAjW"> <<!-- -->int64<!-- -->></span></div><div><span class="sc-jTzLTM crqdFG" type="warning"> Deprecated </span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>ID of pet to return</p>
|
|||
|
</div></div></div></div></td></tr></tbody></table></div></div><div><h3 class="sc-elJkPf fqnLoc"> Responses </h3><div><div class="sc-jwKygS dhUdzU"><svg class="sc-VigVT gmEaFU" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong>200<!-- --> </strong><span class="sc-cMljjf ctAfPo redoc-markdown -dense -inline"><p>successful operation</p>
|
|||
|
</span></div></div><div><div class="sc-jwKygS gzRrXM"><strong>400<!-- --> </strong><span class="sc-cMljjf ctAfPo redoc-markdown -dense -inline"><p>Invalid ID supplied</p>
|
|||
|
</span></div></div><div><div class="sc-jwKygS gzRrXM"><strong>404<!-- --> </strong><span class="sc-cMljjf ctAfPo redoc-markdown -dense -inline"><p>Pet not found</p>
|
|||
|
</span></div></div></div></div><div class="sc-EHOje gajuhA"><div class="sc-eqIVtm cxwOot"><div class="sc-caSCKo kXMHkQ"><span class="sc-gisBJw http-verb get jwhtSw" type="get"> <!-- -->get</span> <span class="sc-fAjcbJ iccZbs">/pet/{petId}</span><svg class="sc-VigVT jIswnA" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-kjoXOD jtThDR"><div class="sc-cHGsZl hPSqZA"><div>Default server</div><div><div class="sc-TOsTZ jqDDQj"><span>null//petstore.swagger.io/v2</span>/pet/{petId}</div></div></div><div class="sc-cHGsZl hPSqZA"><div>Sandbox server</div><div><div class="sc-TOsTZ jqDDQj"><span>null//petstore.swagger.io/sandbox</span>/pet/{petId}</div></div></div></div></div><div><h3> Response samples </h3><div class="sc-hSdWYo cQGxPn" data-tabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="react-tabs-22" aria-selected="true" aria-disabled="false" aria-controls="react-tabs-23" tabindex="0">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="react-tabs-23" aria-labelledby="react-tabs-22"><div><div class="Dropdown-root sc-iELTvK jTtHEZ"><div class="Dropdown-control "><div class="Dropdown-placeholder">application/json</div><span class="Dropdown-arrow"></span></div></div><div class="sc-eHgmQL exAnXh" data-tabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="react-tabs__tab react-tabs__tab--selected" role="tab" id="react-tabs-24" aria-selected="true" aria-disabled="false" aria-controls="react-tabs-25" tabindex="0"> <!-- -->cat<!-- --> </li><li class="react-tabs__tab" role="tab" id="react-tabs-26" aria-selected="false" aria-disabled="false" aria-controls="react-tabs-27"> <!-- -->dog<!-- --> </li><li class="react-tabs__tab" role="tab" id="react-tabs-28" aria-selected="false" aria-disabled="false" aria-controls="react-tabs-29"> <!-- -->bee<!-- --> </li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="react-tabs-25" aria-labelledby="react-tabs-24"><div class="sc-ktHwxA EWrFv"><div class="sc-cvbbAY ielVIU"><span><div class="sc-gGBfsJ hATwyF">Copy</div></span><span> Expand all </span><span> Collapse all </span></div><div class="sc-cIShpX cQbnUN"><div class="redoc-json"><div class="collapser"></div>{<span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property">"id"</span>: <span class="type-number">0</span>,</div></li><li><div class="hoverable "><span class="property">"category"</span>: <div class="collapser"></div>{<span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property">"id"</span>: <span class="type-number">0</span>,</div></li><li><div class="hoverable collapsed"><span class="property">"name"</span>: <span class="type-string">"string"</span>,</div></li><li><div class="hoverable collapsed"><span class="property">"sub"</span>: <div class="collapser"></div>{<span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property">"prop1"</span>: <span class="type-string">"string"</span></div></li></ul>}</div></li></ul>},</div></li><li><div class="hoverable "><span class="property">"name"</span>: <span class="type-string">"Guru"</span>,</div></li><li><div class="hoverable "><span class="property">"photoUrls"</span>: <div class="collapser"></div>[<span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable collapsed"><span class="type-string">"string"</span></div></li></ul>],</div></li><li><div class="hoverable "><span class="property">"friend"</span>: { },</div></li><li><div class="hoverable "><span class="property">"tags"</span>: <div class="collapser"></div>[<span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable collapsed"><div class="collapser"></div>{<
|
|||
|
</div></div></div></div></td></tr></tbody></table></div><div><h5 class="sc-gZMcBi buVgxj">Request Body schema: <span class="sc-iAyFgw erecPx">application/x-www-form-urlencoded</span></h5><table class="sc-kpOJdX ggTJpG"><tbody><tr><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>name</td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">string</span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>Updated name of the pet</p>
|
|||
|
</div></div></div></div></td></tr><tr class="last undefined"><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>status</td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">string</span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>Updated status of the pet</p>
|
|||
|
</div></div></div></div></td></tr></tbody></table></div></div><div><h3 class="sc-elJkPf fqnLoc"> Responses </h3><div><div class="sc-jwKygS gzRrXM"><strong>405<!-- --> </strong><span class="sc-cMljjf ctAfPo redoc-markdown -dense -inline"><p>Invalid input</p>
|
|||
|
</span></div></div></div></div><div class="sc-EHOje gajuhA"><div class="sc-eqIVtm cxwOot"><div class="sc-caSCKo kXMHkQ"><span class="sc-gisBJw http-verb post gUIBfR" type="post"> <!-- -->post</span> <span class="sc-fAjcbJ iccZbs">/pet/{petId}</span><svg class="sc-VigVT jIswnA" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-kjoXOD jtThDR"><div class="sc-cHGsZl hPSqZA"><div>Default server</div><div><div class="sc-TOsTZ jqDDQj"><span>null//petstore.swagger.io/v2</span>/pet/{petId}</div></div></div><div class="sc-cHGsZl hPSqZA"><div>Sandbox server</div><div><div class="sc-TOsTZ jqDDQj"><span>null//petstore.swagger.io/sandbox</span>/pet/{petId}</div></div></div></div></div></div></div></div><div data-section-id="/paths/~1pet~1{petId}/delete"><div class="sc-jtRfpW gyYFXv"><div class="sc-bxivhb fjKjLr"><h2 class="sc-dnqmqq gUwOOz"><a class="sc-gqjmRU ezDBgA" href="#operation/deletePet"></a>Deletes a pet<!-- --> </h2><div class="sc-cMljjf ctAfPo redoc-markdown"><div></div></div><table class="sc-dVhcbM hqziJB"><tbody><tr><td class="sc-jhAzac hmXDXQ"><h5 class="sc-fMiknA cokGxg">Authorizations: </h5></td><td class="sc-fBuWsC kbYuVe"><div><a href="#section/Authentication/petstore_auth">petstore_auth</a> (<code class="sc-hzDkRC iKWaWx">write:pets</code><code class="sc-hzDkRC iKWaWx">read:pets</code>) </div></td></tr></tbody></table><div><div><h5 class="sc-gZMcBi buVgxj">path<!-- --> Parameters</h5><table class="sc-kpOJdX ggTJpG"><tbody><tr class="last undefined"><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>petId<div class="sc-hqyNC eyQVZA"> required </div></td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">integer</span><span class="sc-hmzhuo fMaAjW"> <<!-- -->int64<!-- -->></span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>Pet id to delete</p>
|
|||
|
</div></div></div></div></td></tr></tbody></table></div><div><h5 class="sc-gZMcBi buVgxj">header<!-- --> Parameters</h5><table class="sc-kpOJdX ggTJpG"><tbody><tr class="last undefined"><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>api_key</td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">string</span></div> <div><span class="sc-cJSrbW cWGDGi"> <!-- -->Example:<!-- --> </span> <span class="sc-uJMKN cTkJKI"> <!-- -->"Bearer <TOKEN>"<!-- --> </span></div><div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div></div></div></div></div></td></tr></tbody></table></div></div><div><h3 class="sc-elJkPf fqnLoc"> Responses </h3><div><div class="sc-jwKygS gzRrXM"><strong>400<!-- --> </strong><span class="sc-cMljjf ctAfPo redoc-markdown -dense -inline"><p>Invalid pet value</p>
|
|||
|
</span></div></div></div></div><div class="sc-EHOje gajuhA"><div class="sc-eqIVtm cxwOot"><div class="sc-caSCKo kXMHkQ"><span class="sc-gisBJw http-verb delete cTcfuA" type="delete"> <!-- -->delete</span> <span class="sc-fAjcbJ iccZbs">/pet/{petId}</span><svg class="sc-VigVT jIswnA" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-kjoXOD jtThDR"><div class="sc-cHGsZl hPSqZA"><div>Default server</div><div><div class="sc-TOsTZ jqDDQj"><span>null//petstore.swagger.io/v2</span>/pet/{petId}</div></div></div><div class="sc-cHGsZl hPSqZA"><div>Sandbox server</div><div><div class="sc-TOsTZ jqDDQj"><span>null//petstore.swagger.io/sandbox</span>/pet/{petId}</div></div></div></div></div></div></div></div><div data-section-id="/paths/~1pet~1{petId}~1uploadImage/post"><div class="sc-jtRfpW gyYFXv"><div class="sc-bxivhb fjKjLr"><h2 class="sc-dnqmqq gUwOOz"><a class="sc-gqjmRU ezDBgA" href="#operation/uploadFile"></a>uploads an image<!-- --> </h2><div class="sc-cMljjf ctAfPo redoc-markdown"><div></div></div><table class="sc-dVhcbM hqziJB"><tbody><tr><td class="sc-jhAzac hmXDXQ"><h5 class="sc-fMiknA cokGxg">Authorizations: </h5></td><td class="sc-fBuWsC kbYuVe"><div><a href="#section/Authentication/petstore_auth">petstore_auth</a> (<code class="sc-hzDkRC iKWaWx">write:pets</code><code class="sc-hzDkRC iKWaWx">read:pets</code>) </div></td></tr></tbody></table><div><div><h5 class="sc-gZMcBi buVgxj">path<!-- --> Parameters</h5><table class="sc-kpOJdX ggTJpG"><tbody><tr class="last undefined"><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>petId<div class="sc-hqyNC eyQVZA"> required </div></td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">integer</span><span class="sc-hmzhuo fMaAjW"> <<!-- -->int64<!-- -->></span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>ID of pet to update</p>
|
|||
|
</div></div></div></div></td></tr></tbody></table></div><div><h5 class="sc-gZMcBi buVgxj">Request Body schema: <span class="sc-iAyFgw erecPx">application/octet-stream</span></h5><div><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">string</span><span class="sc-hmzhuo fMaAjW"> <<!-- -->binary<!-- -->></span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div></div></div></div></div></div></div></div><div><h3 class="sc-elJkPf fqnLoc"> Responses </h3><div><div class="sc-jwKygS dhUdzU"><svg class="sc-VigVT gmEaFU" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong>200<!-- --> </strong><span class="sc-cMljjf ctAfPo redoc-markdown -dense -inline"><p>successful operation</p>
|
|||
|
</span></div></div></div></div><div class="sc-EHOje gajuhA"><div class="sc-eqIVtm cxwOot"><div class="sc-caSCKo kXMHkQ"><span class="sc-gisBJw http-verb post gUIBfR" type="post"> <!-- -->post</span> <span class="sc-fAjcbJ iccZbs">/pet/{petId}/uploadImage</span><svg class="sc-VigVT jIswnA" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-kjoXOD jtThDR"><div class="sc-cHGsZl hPSqZA"><div>Default server</div><div><div class="sc-TOsTZ jqDDQj"><span>null//petstore.swagger.io/v2</span>/pet/{petId}/uploadImage</div></div></div><div class="sc-cHGsZl hPSqZA"><div>Sandbox server</div><div><div class="sc-TOsTZ jqDDQj"><span>null//petstore.swagger.io/sandbox</span>/pet/{petId}/uploadImage</div></div></div></div></div><div><h3> Response samples </h3><div class="sc-hSdWYo cQGxPn" data-tabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="react-tabs-30" aria-selected="true" aria-disabled="false" aria-controls="react-tabs-31" tabindex="0">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="react-tabs-31" aria-labelledby="react-tabs-30"><div><div class="sc-feJyhm gTvQkb">application/json</div><div><div class="sc-ktHwxA EWrFv"><div class="sc-cvbbAY ielVIU"><span><div class="sc-gGBfsJ hATwyF">Copy</div></span><span> Expand all </span><span> Collapse all </span></div><div class="sc-cIShpX cQbnUN"><div class="redoc-json"><div class="collapser"></div>{<span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property">"code"</span>: <span class="type-number">0</span>,</div></li><li><div class="hoverable "><span class="property">"type"</span>: <span class="type-string">"string"</span>,</div></li><li><div class="hoverable "><span class="property">"message"</span>: <span class="type-string">"string"</span></div></li></ul>}</div></div></div></div></div></div></div></div></div></div></div><div data-section-id="/paths/~1pet~1findByStatus/get"><div class="sc-jtRfpW gyYFXv"><div class="sc-bxivhb fjKjLr"><h2 class="sc-dnqmqq gUwOOz"><a class="sc-gqjmRU ezDBgA" href="#operation/findPetsByStatus"></a>Finds Pets by status<!-- --> </h2><div class="sc-cMljjf ctAfPo redoc-markdown"><div><p>Multiple status values can be provided with comma seperated strings</p>
|
|||
|
</div></div><table class="sc-dVhcbM hqziJB"><tbody><tr><td class="sc-jhAzac hmXDXQ"><h5 class="sc-fMiknA cokGxg">Authorizations: </h5></td><td class="sc-fBuWsC kbYuVe"><div><a href="#section/Authentication/petstore_auth">petstore_auth</a> (<code class="sc-hzDkRC iKWaWx">write:pets</code><code class="sc-hzDkRC iKWaWx">read:pets</code>) </div></td></tr></tbody></table><div><div><h5 class="sc-gZMcBi buVgxj">query<!-- --> Parameters</h5><table class="sc-kpOJdX ggTJpG"><tbody><tr class="last undefined"><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>status<div class="sc-hqyNC eyQVZA"> required </div></td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH">Array of </span><span class="sc-hmzhuo fMaAjW">string</span></div><div><span class="sc-cJSrbW cWGDGi">Items<!-- --> Enum:</span><span class="sc-uJMKN cTkJKI">"available"<!-- --> </span><span class="sc-uJMKN cTkJKI">"pending"<!-- --> </span><span class="sc-uJMKN cTkJKI">"sold"<!-- --> </span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>Status values that need to be considered for filter</p>
|
|||
|
</div></div></div></div></td></tr></tbody></table></div></div><div><h3 class="sc-elJkPf fqnLoc"> Responses </h3><div><div class="sc-jwKygS dhUdzU"><svg class="sc-VigVT gmEaFU" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong>200<!-- --> </strong><span class="sc-cMljjf ctAfPo redoc-markdown -dense -inline"><p>successful operation</p>
|
|||
|
</span></div></div><div><div class="sc-jwKygS gzRrXM"><strong>400<!-- --> </strong><span class="sc-cMljjf ctAfPo redoc-markdown -dense -inline"><p>Invalid status value</p>
|
|||
|
</span></div></div></div></div><div class="sc-EHOje gajuhA"><div class="sc-eqIVtm cxwOot"><div class="sc-caSCKo kXMHkQ"><span class="sc-gisBJw http-verb get jwhtSw" type="get"> <!-- -->get</span> <span class="sc-fAjcbJ iccZbs">/pet/findByStatus</span><svg class="sc-VigVT jIswnA" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-kjoXOD jtThDR"><div class="sc-cHGsZl hPSqZA"><div>Default server</div><div><div class="sc-TOsTZ jqDDQj"><span>null//petstore.swagger.io/v2</span>/pet/findByStatus</div></div></div><div class="sc-cHGsZl hPSqZA"><div>Sandbox server</div><div><div class="sc-TOsTZ jqDDQj"><span>null//petstore.swagger.io/sandbox</span>/pet/findByStatus</div></div></div></div></div><div><h3> Response samples </h3><div class="sc-hSdWYo cQGxPn" data-tabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="react-tabs-32" aria-selected="true" aria-disabled="false" aria-controls="react-tabs-33" tabindex="0">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="react-tabs-33" aria-labelledby="react-tabs-32"><div><div class="Dropdown-root sc-iELTvK jTtHEZ"><div class="Dropdown-control "><div class="Dropdown-placeholder">application/json</div><span class="Dropdown-arrow"></span></div></div><div><div class="sc-ktHwxA EWrFv"><div class="sc-cvbbAY ielVIU"><span><div class="sc-gGBfsJ hATwyF">Copy</div></span><span> Expand all </span><span> Collapse all </span></div><div class="sc-cIShpX cQbnUN"><div class="redoc-json"><div class="collapser"></div>[<span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable "><div class="collapser"></div>{<span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property">"id"</span>: <span class="type-number">0</span>,</div></li><li><div class="hoverable collapsed"><span class="property">"category"</span>: <div class="collapser"></div>{<span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property">"id"</span>: <span class="type-number">0</span>,</div></li><li><div class="hoverable collapsed"><span class="property">"name"</span>: <span class="type-string">"string"</span>,</div></li><li><div class="hoverable collapsed"><span class="property">"sub"</span>: <div class="collapser"></div>{<span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property">"prop1"</span>: <span class="type-string">"string"</span></div></li></ul>}</div></li></ul>},</div></li><li><div class="hoverable collapsed"><span class="property">"name"</span>: <span class="type-string">"Guru"</span>,</div></li><li><div class="hoverable collapsed"><span class="property">"photoUrls"</span>: <div class="collapser"></div>[<span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable collapsed"><span class="type-string">"string"</span></div></li></ul>],</div></li><li><div class="hoverable collapsed"><span class="property">"friend"</span>: { },</div></li><li><div class="hoverable collapsed"><span class="property">"tags"</span>: <div class="collapser"></div>[<span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable collapsed"><div class="collapser"></div>{<span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property">"id"</span>: <span class="type-number">0</span>,</div></li><li><div class="hoverable collapsed"><span class="property">"name"</span>: <span class="type-string">"string"</span></div></li></ul>}</div></li></ul>],</div></li><li><div class="hoverable collapsed"><span class="property">"status"</span>: <span class="type-string">"available"</span>,</div></li><li><div class="hoverable collapsed"><span class="property">"pe
|
|||
|
</div></div><table class="sc-dVhcbM hqziJB"><tbody><tr><td class="sc-jhAzac hmXDXQ"><h5 class="sc-fMiknA cokGxg">Authorizations: </h5></td><td class="sc-fBuWsC kbYuVe"><div><a href="#section/Authentication/petstore_auth">petstore_auth</a> (<code class="sc-hzDkRC iKWaWx">write:pets</code><code class="sc-hzDkRC iKWaWx">read:pets</code>) </div></td></tr></tbody></table><div><div><h5 class="sc-gZMcBi buVgxj">query<!-- --> Parameters</h5><table class="sc-kpOJdX ggTJpG"><tbody><tr class="last undefined"><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>tags<div class="sc-hqyNC eyQVZA"> required </div></td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH">Array of </span><span class="sc-hmzhuo fMaAjW">string</span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>Tags to filter by</p>
|
|||
|
</div></div></div></div></td></tr></tbody></table></div></div><div><h3 class="sc-elJkPf fqnLoc"> Responses </h3><div><div class="sc-jwKygS dhUdzU"><svg class="sc-VigVT gmEaFU" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong>200<!-- --> </strong><span class="sc-cMljjf ctAfPo redoc-markdown -dense -inline"><p>successful operation</p>
|
|||
|
</span></div></div><div><div class="sc-jwKygS gzRrXM"><strong>400<!-- --> </strong><span class="sc-cMljjf ctAfPo redoc-markdown -dense -inline"><p>Invalid tag value</p>
|
|||
|
</span></div></div></div></div><div class="sc-EHOje gajuhA"><div class="sc-eqIVtm cxwOot"><div class="sc-caSCKo kXMHkQ"><span class="sc-gisBJw http-verb get jwhtSw" type="get"> <!-- -->get</span> <span class="sc-fAjcbJ iccZbs">/pet/findByTags</span><svg class="sc-VigVT jIswnA" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-kjoXOD jtThDR"><div class="sc-cHGsZl hPSqZA"><div>Default server</div><div><div class="sc-TOsTZ jqDDQj"><span>null//petstore.swagger.io/v2</span>/pet/findByTags</div></div></div><div class="sc-cHGsZl hPSqZA"><div>Sandbox server</div><div><div class="sc-TOsTZ jqDDQj"><span>null//petstore.swagger.io/sandbox</span>/pet/findByTags</div></div></div></div></div><div><h3> Response samples </h3><div class="sc-hSdWYo cQGxPn" data-tabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="react-tabs-34" aria-selected="true" aria-disabled="false" aria-controls="react-tabs-35" tabindex="0">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="react-tabs-35" aria-labelledby="react-tabs-34"><div><div class="Dropdown-root sc-iELTvK jTtHEZ"><div class="Dropdown-control "><div class="Dropdown-placeholder">application/json</div><span class="Dropdown-arrow"></span></div></div><div><div class="sc-ktHwxA EWrFv"><div class="sc-cvbbAY ielVIU"><span><div class="sc-gGBfsJ hATwyF">Copy</div></span><span> Expand all </span><span> Collapse all </span></div><div class="sc-cIShpX cQbnUN"><div class="redoc-json"><div class="collapser"></div>[<span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable "><div class="collapser"></div>{<span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property">"id"</span>: <span class="type-number">0</span>,</div></li><li><div class="hoverable collapsed"><span class="property">"category"</span>: <div class="collapser"></div>{<span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property">"id"</span>: <span class="type-number">0</span>,</div></li><li><div class="hoverable collapsed"><span class="property">"name"</span>: <span class="type-string">"string"</span>,</div></li><li><div class="hoverable collapsed"><span class="property">"sub"</span>: <div class="collapser"></div>{<span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property">"prop1"</span>: <span class="type-string">"string"</span></div></li></ul>}</div></li></ul>},</div></li><li><div class="hoverable collapsed"><span class="property">"name"</span>: <span class="type-string">"Guru"</span>,</div></li><li><div class="hoverable collapsed"><span class="property">"photoUrls"</span>: <div class="collapser"></div>[<span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable collapsed"><span class="type-string">"string"</span></div></li></ul>],</div></li><li><div class="hoverable collapsed"><span class="property">"friend"</span>: { },</div></li><li><div class="hoverable collapsed"><span class="property">"tags"</span>: <div class="collapser"></div>[<span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable collapsed"><div class="collapser"></div>{<span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property">"id"</span>: <span class="type-number">0</span>,</div></li><li><div class="hoverable collapsed"><span class="property">"name"</span>: <span class="type-string">"string"</span></div></li></ul>}</div></li></ul>],</div></li><li><div class="hoverable collapsed"><span class="property">"status"</span>: <span class="type-string">"available"</span>,</div></li><li><div class="hoverable collapsed"><span class="property">"petType"
|
|||
|
</div></div></div><div class="sc-bZQynM kpauqW"></div></div></div><div data-section-id="/paths/~1store~1inventory/get"><div class="sc-jtRfpW gyYFXv"><div class="sc-bxivhb fjKjLr"><h2 class="sc-dnqmqq gUwOOz"><a class="sc-gqjmRU ezDBgA" href="#operation/getInventory"></a>Returns pet inventories by status<!-- --> </h2><div class="sc-cMljjf ctAfPo redoc-markdown"><div><p>Returns a map of status codes to quantities</p>
|
|||
|
</div></div><table class="sc-dVhcbM hqziJB"><tbody><tr><td class="sc-jhAzac hmXDXQ"><h5 class="sc-fMiknA cokGxg">Authorizations: </h5></td><td class="sc-fBuWsC kbYuVe"><div><a href="#section/Authentication/api_key">api_key</a></div></td></tr></tbody></table><div></div><div><h3 class="sc-elJkPf fqnLoc"> Responses </h3><div><div class="sc-jwKygS dhUdzU"><svg class="sc-VigVT gmEaFU" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong>200<!-- --> </strong><span class="sc-cMljjf ctAfPo redoc-markdown -dense -inline"><p>successful operation</p>
|
|||
|
</span></div></div></div></div><div class="sc-EHOje gajuhA"><div class="sc-eqIVtm cxwOot"><div class="sc-caSCKo kXMHkQ"><span class="sc-gisBJw http-verb get jwhtSw" type="get"> <!-- -->get</span> <span class="sc-fAjcbJ iccZbs">/store/inventory</span><svg class="sc-VigVT jIswnA" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-kjoXOD jtThDR"><div class="sc-cHGsZl hPSqZA"><div>Default server</div><div><div class="sc-TOsTZ jqDDQj"><span>null//petstore.swagger.io/v2</span>/store/inventory</div></div></div><div class="sc-cHGsZl hPSqZA"><div>Sandbox server</div><div><div class="sc-TOsTZ jqDDQj"><span>null//petstore.swagger.io/sandbox</span>/store/inventory</div></div></div></div></div><div><h3> Response samples </h3><div class="sc-hSdWYo cQGxPn" data-tabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="react-tabs-36" aria-selected="true" aria-disabled="false" aria-controls="react-tabs-37" tabindex="0">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="react-tabs-37" aria-labelledby="react-tabs-36"><div><div class="sc-feJyhm gTvQkb">application/json</div><div><div class="sc-ktHwxA EWrFv"><div class="sc-cvbbAY ielVIU"><span><div class="sc-gGBfsJ hATwyF">Copy</div></span><span> Expand all </span><span> Collapse all </span></div><div class="sc-cIShpX cQbnUN"><div class="redoc-json"><div class="collapser"></div>{<span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property">"property1"</span>: <span class="type-number">0</span>,</div></li><li><div class="hoverable "><span class="property">"property2"</span>: <span class="type-number">0</span></div></li></ul>}</div></div></div></div></div></div></div></div></div></div></div><div data-section-id="/paths/~1store~1order/post"><div class="sc-jtRfpW gyYFXv"><div class="sc-bxivhb fjKjLr"><h2 class="sc-dnqmqq gUwOOz"><a class="sc-gqjmRU ezDBgA" href="#operation/placeOrder"></a>Place an order for a pet<!-- --> </h2><div class="sc-cMljjf ctAfPo redoc-markdown"><div></div></div><div><div><h5 class="sc-gZMcBi buVgxj">Request Body schema: <span class="sc-iAyFgw erecPx">application/json</span></h5><table class="sc-kpOJdX ggTJpG"><tbody><tr><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>quantity</td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">integer</span><span class="sc-hmzhuo fMaAjW"> <<!-- -->int32<!-- -->></span><span> <span class="sc-bbmXgH fRYbMb"> <!-- -->>= 1<!-- --> </span></span></div><div><span class="sc-cJSrbW cWGDGi"> <!-- -->Default:<!-- --> </span> <span class="sc-uJMKN cTkJKI"> <!-- -->1<!-- --> </span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div></div></div></div></div></td></tr><tr><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>shipDate</td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">string</span><span class="sc-hmzhuo fMaAjW"> <<!-- -->date-time<!-- -->></span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>Estimated ship date</p>
|
|||
|
</div></div></div></div></td></tr><tr><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>status</td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">string</span></div><div><span class="sc-cJSrbW cWGDGi"> Enum:</span><span class="sc-uJMKN cTkJKI">"placed"<!-- --> </span><span class="sc-uJMKN cTkJKI">"approved"<!-- --> </span><span class="sc-uJMKN cTkJKI">"delivered"<!-- --> </span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>Order Status</p>
|
|||
|
</div></div></div></div></td></tr><tr class="last undefined"><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>complete</td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">boolean</span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>Indicates whenever order was completed or not</p>
|
|||
|
</div></div></div></div></td></tr></tbody></table></div></div><div><h3 class="sc-elJkPf fqnLoc"> Responses </h3><div><div class="sc-jwKygS dhUdzU"><svg class="sc-VigVT gmEaFU" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong>200<!-- --> </strong><span class="sc-cMljjf ctAfPo redoc-markdown -dense -inline"><p>successful operation</p>
|
|||
|
</span></div></div><div><div class="sc-jwKygS gzRrXM"><strong>400<!-- --> </strong><span class="sc-cMljjf ctAfPo redoc-markdown -dense -inline"><p>Invalid Order</p>
|
|||
|
</span></div></div></div></div><div class="sc-EHOje gajuhA"><div class="sc-eqIVtm cxwOot"><div class="sc-caSCKo kXMHkQ"><span class="sc-gisBJw http-verb post gUIBfR" type="post"> <!-- -->post</span> <span class="sc-fAjcbJ iccZbs">/store/order</span><svg class="sc-VigVT jIswnA" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-kjoXOD jtThDR"><div class="sc-cHGsZl hPSqZA"><div>Default server</div><div><div class="sc-TOsTZ jqDDQj"><span>null//petstore.swagger.io/v2</span>/store/order</div></div></div><div class="sc-cHGsZl hPSqZA"><div>Sandbox server</div><div><div class="sc-TOsTZ jqDDQj"><span>null//petstore.swagger.io/sandbox</span>/store/order</div></div></div></div></div><div><h3> Request samples </h3><div class="sc-hSdWYo cQGxPn" data-tabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="react-tabs__tab react-tabs__tab--selected" role="tab" id="react-tabs-38" aria-selected="true" aria-disabled="false" aria-controls="react-tabs-39" tabindex="0"> Payload </li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="react-tabs-39" aria-labelledby="react-tabs-38"><div><div class="sc-feJyhm gTvQkb">application/json</div><div><div class="sc-ktHwxA EWrFv"><div class="sc-cvbbAY ielVIU"><span><div class="sc-gGBfsJ hATwyF">Copy</div></span><span> Expand all </span><span> Collapse all </span></div><div class="sc-cIShpX cQbnUN"><div class="redoc-json"><div class="collapser"></div>{<span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property">"quantity"</span>: <span class="type-number">1</span>,</div></li><li><div class="hoverable "><span class="property">"shipDate"</span>: <span class="type-string">"2018-03-18T08:51:17Z"</span>,</div></li><li><div class="hoverable "><span class="property">"status"</span>: <span class="type-string">"placed"</span>,</div></li><li><div class="hoverable "><span class="property">"complete"</span>: <span class="type-boolean">false</span></div></li></ul>}</div></div></div></div></div></div></div></div><div><h3> Response samples </h3><div class="sc-hSdWYo cQGxPn" data-tabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="react-tabs-40" aria-selected="true" aria-disabled="false" aria-controls="react-tabs-41" tabindex="0">200</li><li class="tab-error" role="tab" id="react-tabs-42" aria-selected="false" aria-disabled="false" aria-controls="react-tabs-43">400</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="react-tabs-41" aria-labelledby="react-tabs-40"><div><div class="Dropdown-root sc-iELTvK jTtHEZ"><div class="Dropdown-control "><div class="Dropdown-placeholder">application/json</div><span class="Dropdown-arrow"></span></div></div><div><div class="sc-ktHwxA EWrFv"><div class="sc-cvbbAY ielVIU"><span><div class="sc-gGBfsJ hATwyF">Copy</div></span><span> Expand all </span><span> Collapse all </span></div><div class="sc-cIShpX cQbnUN"><div class="redoc-json"><div class="collapser"></div>{<span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property">"id"</span>: <span class="type-number">0</span>,</div></li><li><div class="hoverable "><span class="property">"petId"</span>: <span class="type-number">0</span>,</div></li><li><div class="hoverable "><span class="property">"quantity"</span>: <span class="type-number">1</span>,</div></li><li><div class="hoverable "><span class="property">"shipDate"</span>: <span class="type-string">"2018-03-18T08:51:17Z"</span>,</div></li><li><div class="hoverable "><span class="property">"status"</span>: <span class="type-string">"placed"</span>,</div></li><li><div class="hoverable "><span class="property">"complete"</span>: <span class="type-boolean">false</span></div></li></ul>}</div></div></div></div></div></div><div c
|
|||
|
</div></div><div><div><h5 class="sc-gZMcBi buVgxj">path<!-- --> Parameters</h5><table class="sc-kpOJdX ggTJpG"><tbody><tr class="last undefined"><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>orderId<div class="sc-hqyNC eyQVZA"> required </div></td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">integer</span><span class="sc-hmzhuo fMaAjW"> <<!-- -->int64<!-- -->></span><span> <span class="sc-bbmXgH fRYbMb"> <!-- -->[ 1 .. 5 ]<!-- --> </span></span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>ID of pet that needs to be fetched</p>
|
|||
|
</div></div></div></div></td></tr></tbody></table></div></div><div><h3 class="sc-elJkPf fqnLoc"> Responses </h3><div><div class="sc-jwKygS dhUdzU"><svg class="sc-VigVT gmEaFU" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong>200<!-- --> </strong><span class="sc-cMljjf ctAfPo redoc-markdown -dense -inline"><p>successful operation</p>
|
|||
|
</span></div></div><div><div class="sc-jwKygS gzRrXM"><strong>400<!-- --> </strong><span class="sc-cMljjf ctAfPo redoc-markdown -dense -inline"><p>Invalid ID supplied</p>
|
|||
|
</span></div></div><div><div class="sc-jwKygS gzRrXM"><strong>404<!-- --> </strong><span class="sc-cMljjf ctAfPo redoc-markdown -dense -inline"><p>Order not found</p>
|
|||
|
</span></div></div></div></div><div class="sc-EHOje gajuhA"><div class="sc-eqIVtm cxwOot"><div class="sc-caSCKo kXMHkQ"><span class="sc-gisBJw http-verb get jwhtSw" type="get"> <!-- -->get</span> <span class="sc-fAjcbJ iccZbs">/store/order/{orderId}</span><svg class="sc-VigVT jIswnA" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-kjoXOD jtThDR"><div class="sc-cHGsZl hPSqZA"><div>Default server</div><div><div class="sc-TOsTZ jqDDQj"><span>null//petstore.swagger.io/v2</span>/store/order/{orderId}</div></div></div><div class="sc-cHGsZl hPSqZA"><div>Sandbox server</div><div><div class="sc-TOsTZ jqDDQj"><span>null//petstore.swagger.io/sandbox</span>/store/order/{orderId}</div></div></div></div></div><div><h3> Response samples </h3><div class="sc-hSdWYo cQGxPn" data-tabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="react-tabs-44" aria-selected="true" aria-disabled="false" aria-controls="react-tabs-45" tabindex="0">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="react-tabs-45" aria-labelledby="react-tabs-44"><div><div class="Dropdown-root sc-iELTvK jTtHEZ"><div class="Dropdown-control "><div class="Dropdown-placeholder">application/json</div><span class="Dropdown-arrow"></span></div></div><div><div class="sc-ktHwxA EWrFv"><div class="sc-cvbbAY ielVIU"><span><div class="sc-gGBfsJ hATwyF">Copy</div></span><span> Expand all </span><span> Collapse all </span></div><div class="sc-cIShpX cQbnUN"><div class="redoc-json"><div class="collapser"></div>{<span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property">"id"</span>: <span class="type-number">0</span>,</div></li><li><div class="hoverable "><span class="property">"petId"</span>: <span class="type-number">0</span>,</div></li><li><div class="hoverable "><span class="property">"quantity"</span>: <span class="type-number">1</span>,</div></li><li><div class="hoverable "><span class="property">"shipDate"</span>: <span class="type-string">"2018-03-18T08:51:17Z"</span>,</div></li><li><div class="hoverable "><span class="property">"status"</span>: <span class="type-string">"placed"</span>,</div></li><li><div class="hoverable "><span class="property">"complete"</span>: <span class="type-boolean">false</span></div></li></ul>}</div></div></div></div></div></div></div></div></div></div></div><div data-section-id="/paths/~1store~1order~1{orderId}/delete"><div class="sc-jtRfpW gyYFXv"><div class="sc-bxivhb fjKjLr"><h2 class="sc-dnqmqq gUwOOz"><a class="sc-gqjmRU ezDBgA" href="#operation/deleteOrder"></a>Delete purchase order by ID<!-- --> </h2><div class="sc-cMljjf ctAfPo redoc-markdown"><div><p>For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors</p>
|
|||
|
</div></div><div><div><h5 class="sc-gZMcBi buVgxj">path<!-- --> Parameters</h5><table class="sc-kpOJdX ggTJpG"><tbody><tr class="last undefined"><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>orderId<div class="sc-hqyNC eyQVZA"> required </div></td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">string</span><span> <span class="sc-bbmXgH fRYbMb"> <!-- -->>= 1<!-- --> </span></span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>ID of the order that needs to be deleted</p>
|
|||
|
</div></div></div></div></td></tr></tbody></table></div></div><div><h3 class="sc-elJkPf fqnLoc"> Responses </h3><div><div class="sc-jwKygS gzRrXM"><strong>400<!-- --> </strong><span class="sc-cMljjf ctAfPo redoc-markdown -dense -inline"><p>Invalid ID supplied</p>
|
|||
|
</span></div></div><div><div class="sc-jwKygS gzRrXM"><strong>404<!-- --> </strong><span class="sc-cMljjf ctAfPo redoc-markdown -dense -inline"><p>Order not found</p>
|
|||
|
</span></div></div></div></div><div class="sc-EHOje gajuhA"><div class="sc-eqIVtm cxwOot"><div class="sc-caSCKo kXMHkQ"><span class="sc-gisBJw http-verb delete cTcfuA" type="delete"> <!-- -->delete</span> <span class="sc-fAjcbJ iccZbs">/store/order/{orderId}</span><svg class="sc-VigVT jIswnA" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-kjoXOD jtThDR"><div class="sc-cHGsZl hPSqZA"><div>Default server</div><div><div class="sc-TOsTZ jqDDQj"><span>null//petstore.swagger.io/v2</span>/store/order/{orderId}</div></div></div><div class="sc-cHGsZl hPSqZA"><div>Sandbox server</div><div><div class="sc-TOsTZ jqDDQj"><span>null//petstore.swagger.io/sandbox</span>/store/order/{orderId}</div></div></div></div></div></div></div></div><div data-section-id="group/User-Management"></div><div data-section-id="tag/user"><div class="sc-gzVnrw bXxFir"><div class="sc-bxivhb fjKjLr"><h1 class="sc-htoDjs sMszs"><a class="sc-gqjmRU ezDBgA" href="#tag/user"></a>user</h1><div class="sc-cMljjf ctAfPo redoc-markdown"><div><p>Operations about user</p>
|
|||
|
</div></div></div><div class="sc-bZQynM kpauqW"></div></div></div><div data-section-id="/paths/~1user/post"><div class="sc-jtRfpW gyYFXv"><div class="sc-bxivhb fjKjLr"><h2 class="sc-dnqmqq gUwOOz"><a class="sc-gqjmRU ezDBgA" href="#operation/createUser"></a>Create user<!-- --> </h2><div class="sc-cMljjf ctAfPo redoc-markdown"><div><p>This can only be done by the logged in user.</p>
|
|||
|
</div></div><div><div><h5 class="sc-gZMcBi buVgxj">Request Body schema: <span class="sc-iAyFgw erecPx">application/json</span></h5><table class="sc-kpOJdX ggTJpG"><tbody><tr><td class="sc-kgAjT dfVEZZ"><span class="sc-kgoBCf dUapcv"></span>pet<svg class="sc-VigVT euEWDD" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">object or object</span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div></div></div></div></div></td></tr><tr><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>username</td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">string</span><span> <span class="sc-bbmXgH fRYbMb"> <!-- -->>= 4 characters<!-- --> </span></span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>User supplied username</p>
|
|||
|
</div></div></div></div></td></tr><tr><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>firstName</td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">string</span><span> <span class="sc-bbmXgH fRYbMb"> <!-- -->non-empty<!-- --> </span></span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>User first name</p>
|
|||
|
</div></div></div></div></td></tr><tr><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>lastName</td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">string</span><span> <span class="sc-bbmXgH fRYbMb"> <!-- -->non-empty<!-- --> </span></span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>User last name</p>
|
|||
|
</div></div></div></div></td></tr><tr><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>email</td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">string</span><span class="sc-hmzhuo fMaAjW"> <<!-- -->email<!-- -->></span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>User email address</p>
|
|||
|
</div></div></div></div></td></tr><tr><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>password</td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">string</span><span class="sc-hmzhuo fMaAjW"> <<!-- -->password<!-- -->></span><span> <span class="sc-bbmXgH fRYbMb"> <!-- -->>= 8 characters<!-- --> </span></span><span class="sc-jqCOkK egdWky">(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])</span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>User password, MUST contain a mix of upper and lower case letters, as well as digits</p>
|
|||
|
</div></div></div></div></td></tr><tr><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>phone</td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">string</span><span class="sc-dNLxif flyJhq"> Nullable </span><span class="sc-jqCOkK egdWky">^\+(?:[0-9]-?){6,14}[0-9]$</span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>User phone number in international format</p>
|
|||
|
</div></div></div></div></td></tr><tr class="last undefined"><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>userStatus</td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">integer</span><span class="sc-hmzhuo fMaAjW"> <<!-- -->int32<!-- -->></span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>User status</p>
|
|||
|
</div></div></div></div></td></tr></tbody></table></div></div><div><h3 class="sc-elJkPf fqnLoc"> Responses </h3><div><div class="sc-jwKygS cWpcsB"><strong>default<!-- --> </strong><span class="sc-cMljjf ctAfPo redoc-markdown -dense -inline"><p>successful operation</p>
|
|||
|
</span></div></div></div></div><div class="sc-EHOje gajuhA"><div class="sc-eqIVtm cxwOot"><div class="sc-caSCKo kXMHkQ"><span class="sc-gisBJw http-verb post gUIBfR" type="post"> <!-- -->post</span> <span class="sc-fAjcbJ iccZbs">/user</span><svg class="sc-VigVT jIswnA" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-kjoXOD jtThDR"><div class="sc-cHGsZl hPSqZA"><div>Default server</div><div><div class="sc-TOsTZ jqDDQj"><span>null//petstore.swagger.io/v2</span>/user</div></div></div><div class="sc-cHGsZl hPSqZA"><div>Sandbox server</div><div><div class="sc-TOsTZ jqDDQj"><span>null//petstore.swagger.io/sandbox</span>/user</div></div></div></div></div><div><h3> Request samples </h3><div class="sc-hSdWYo cQGxPn" data-tabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="react-tabs__tab react-tabs__tab--selected" role="tab" id="react-tabs-46" aria-selected="true" aria-disabled="false" aria-controls="react-tabs-47" tabindex="0"> Payload </li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="react-tabs-47" aria-labelledby="react-tabs-46"><div><div class="sc-feJyhm gTvQkb">application/json</div><div><div class="sc-ktHwxA EWrFv"><div class="sc-cvbbAY ielVIU"><span><div class="sc-gGBfsJ hATwyF">Copy</div></span><span> Expand all </span><span> Collapse all </span></div><div class="sc-cIShpX cQbnUN"><div class="redoc-json"><div class="collapser"></div>{<span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property">"pet"</span>: <div class="collapser"></div>{<span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property">"category"</span>: <div class="collapser"></div>{<span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property">"name"</span>: <span class="type-string">"string"</span>,</div></li><li><div class="hoverable collapsed"><span class="property">"sub"</span>: <div class="collapser"></div>{<span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property">"prop1"</span>: <span class="type-string">"string"</span></div></li></ul>}</div></li></ul>},</div></li><li><div class="hoverable collapsed"><span class="property">"name"</span>: <span class="type-string">"Guru"</span>,</div></li><li><div class="hoverable collapsed"><span class="property">"photoUrls"</span>: <div class="collapser"></div>[<span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable collapsed"><span class="type-string">"string"</span></div></li></ul>],</div></li><li><div class="hoverable collapsed"><span class="property">"friend"</span>: { },</div></li><li><div class="hoverable collapsed"><span class="property">"tags"</span>: <div class="collapser"></div>[<span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable collapsed"><div class="collapser"></div>{<span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property">"name"</span>: <span class="type-string">"string"</span></div></li></ul>}</div></li></ul>],</div></li><li><div class="hoverable collapsed"><span class="property">"status"</span>: <span class="type-string">"available"</span>,</div></li><li><div class="hoverable collapsed"><span class="property">"petType"</span>: <span class="type-string">"string"</span></div></li></ul>},</div></li><li><div class="hoverable "><span class="property">"username"</span>: <span class="type-string">"John78"</span>,</div></li><li><div class="hoverable "><span class="property">"firstName"</span>: <span class="type-string">"John"</span>,</div></li><li><div class="hoverable "><span class="property">"lastName"</span>: <span class="type-string">"Smith"
|
|||
|
</div></div></div></div></td></tr></tbody></table></div></div><div><h3 class="sc-elJkPf fqnLoc"> Responses </h3><div><div class="sc-jwKygS dhUdzU"><svg class="sc-VigVT gmEaFU" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong>200<!-- --> </strong><span class="sc-cMljjf ctAfPo redoc-markdown -dense -inline"><p>successful operation</p>
|
|||
|
</span></div></div><div><div class="sc-jwKygS gzRrXM"><strong>400<!-- --> </strong><span class="sc-cMljjf ctAfPo redoc-markdown -dense -inline"><p>Invalid username supplied</p>
|
|||
|
</span></div></div><div><div class="sc-jwKygS gzRrXM"><strong>404<!-- --> </strong><span class="sc-cMljjf ctAfPo redoc-markdown -dense -inline"><p>User not found</p>
|
|||
|
</span></div></div></div></div><div class="sc-EHOje gajuhA"><div class="sc-eqIVtm cxwOot"><div class="sc-caSCKo kXMHkQ"><span class="sc-gisBJw http-verb get jwhtSw" type="get"> <!-- -->get</span> <span class="sc-fAjcbJ iccZbs">/user/{username}</span><svg class="sc-VigVT jIswnA" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-kjoXOD jtThDR"><div class="sc-cHGsZl hPSqZA"><div>Default server</div><div><div class="sc-TOsTZ jqDDQj"><span>null//petstore.swagger.io/v2</span>/user/{username}</div></div></div><div class="sc-cHGsZl hPSqZA"><div>Sandbox server</div><div><div class="sc-TOsTZ jqDDQj"><span>null//petstore.swagger.io/sandbox</span>/user/{username}</div></div></div></div></div><div><h3> Response samples </h3><div class="sc-hSdWYo cQGxPn" data-tabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="react-tabs-48" aria-selected="true" aria-disabled="false" aria-controls="react-tabs-49" tabindex="0">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="react-tabs-49" aria-labelledby="react-tabs-48"><div><div class="Dropdown-root sc-iELTvK jTtHEZ"><div class="Dropdown-control "><div class="Dropdown-placeholder">application/json</div><span class="Dropdown-arrow"></span></div></div><div><div class="sc-ktHwxA EWrFv"><div class="sc-cvbbAY ielVIU"><span><div class="sc-gGBfsJ hATwyF">Copy</div></span><span> Expand all </span><span> Collapse all </span></div><div class="sc-cIShpX cQbnUN"><div class="redoc-json"><div class="collapser"></div>{<span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property">"id"</span>: <span class="type-number">0</span>,</div></li><li><div class="hoverable "><span class="property">"pet"</span>: <div class="collapser"></div>{<span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property">"id"</span>: <span class="type-number">0</span>,</div></li><li><div class="hoverable collapsed"><span class="property">"category"</span>: <div class="collapser"></div>{<span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property">"id"</span>: <span class="type-number">0</span>,</div></li><li><div class="hoverable collapsed"><span class="property">"name"</span>: <span class="type-string">"string"</span>,</div></li><li><div class="hoverable collapsed"><span class="property">"sub"</span>: <div class="collapser"></div>{<span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property">"prop1"</span>: <span class="type-string">"string"</span></div></li></ul>}</div></li></ul>},</div></li><li><div class="hoverable collapsed"><span class="property">"name"</span>: <span class="type-string">"Guru"</span>,</div></li><li><div class="hoverable collapsed"><span class="property">"photoUrls"</span>: <div class="collapser"></div>[<span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable collapsed"><span class="type-string">"string"</span></div></li></ul>],</div></li><li><div class="hoverable collapsed"><span class="property">"friend"</span>: { },</div></li><li><div class="hoverable collapsed"><span class="property">"tags"</span>: <div class="collapser"></div>[<span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable collapsed"><div class="collapser"></div>{<span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property">"id"</span>: <span class="type-number">0</span>,</div></li><li><div class="hoverable collapsed"><span class="property">"name"</span>: <span class="type-string">"string"</span></div></li></ul>}</div></li></ul>],</div></li><li><div class="hoverable collapsed"><span class="property">"sta
|
|||
|
</div></div><div><div><h5 class="sc-gZMcBi buVgxj">path<!-- --> Parameters</h5><table class="sc-kpOJdX ggTJpG"><tbody><tr class="last undefined"><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>username<div class="sc-hqyNC eyQVZA"> required </div></td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">string</span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>name that need to be deleted</p>
|
|||
|
</div></div></div></div></td></tr></tbody></table></div><div><h5 class="sc-gZMcBi buVgxj">Request Body schema: <span class="sc-iAyFgw erecPx">application/json</span></h5><table class="sc-kpOJdX ggTJpG"><tbody><tr><td class="sc-kgAjT dfVEZZ"><span class="sc-kgoBCf dUapcv"></span>pet<svg class="sc-VigVT euEWDD" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">object or object</span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div></div></div></div></div></td></tr><tr><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>username</td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">string</span><span> <span class="sc-bbmXgH fRYbMb"> <!-- -->>= 4 characters<!-- --> </span></span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>User supplied username</p>
|
|||
|
</div></div></div></div></td></tr><tr><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>firstName</td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">string</span><span> <span class="sc-bbmXgH fRYbMb"> <!-- -->non-empty<!-- --> </span></span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>User first name</p>
|
|||
|
</div></div></div></div></td></tr><tr><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>lastName</td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">string</span><span> <span class="sc-bbmXgH fRYbMb"> <!-- -->non-empty<!-- --> </span></span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>User last name</p>
|
|||
|
</div></div></div></div></td></tr><tr><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>email</td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">string</span><span class="sc-hmzhuo fMaAjW"> <<!-- -->email<!-- -->></span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>User email address</p>
|
|||
|
</div></div></div></div></td></tr><tr><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>password</td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">string</span><span class="sc-hmzhuo fMaAjW"> <<!-- -->password<!-- -->></span><span> <span class="sc-bbmXgH fRYbMb"> <!-- -->>= 8 characters<!-- --> </span></span><span class="sc-jqCOkK egdWky">(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])</span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>User password, MUST contain a mix of upper and lower case letters, as well as digits</p>
|
|||
|
</div></div></div></div></td></tr><tr><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>phone</td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">string</span><span class="sc-dNLxif flyJhq"> Nullable </span><span class="sc-jqCOkK egdWky">^\+(?:[0-9]-?){6,14}[0-9]$</span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>User phone number in international format</p>
|
|||
|
</div></div></div></div></td></tr><tr class="last undefined"><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>userStatus</td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">integer</span><span class="sc-hmzhuo fMaAjW"> <<!-- -->int32<!-- -->></span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>User status</p>
|
|||
|
</div></div></div></div></td></tr></tbody></table></div></div><div><h3 class="sc-elJkPf fqnLoc"> Responses </h3><div><div class="sc-jwKygS gzRrXM"><strong>400<!-- --> </strong><span class="sc-cMljjf ctAfPo redoc-markdown -dense -inline"><p>Invalid user supplied</p>
|
|||
|
</span></div></div><div><div class="sc-jwKygS gzRrXM"><strong>404<!-- --> </strong><span class="sc-cMljjf ctAfPo redoc-markdown -dense -inline"><p>User not found</p>
|
|||
|
</span></div></div></div></div><div class="sc-EHOje gajuhA"><div class="sc-eqIVtm cxwOot"><div class="sc-caSCKo kXMHkQ"><span class="sc-gisBJw http-verb put dScgxX" type="put"> <!-- -->put</span> <span class="sc-fAjcbJ iccZbs">/user/{username}</span><svg class="sc-VigVT jIswnA" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-kjoXOD jtThDR"><div class="sc-cHGsZl hPSqZA"><div>Default server</div><div><div class="sc-TOsTZ jqDDQj"><span>null//petstore.swagger.io/v2</span>/user/{username}</div></div></div><div class="sc-cHGsZl hPSqZA"><div>Sandbox server</div><div><div class="sc-TOsTZ jqDDQj"><span>null//petstore.swagger.io/sandbox</span>/user/{username}</div></div></div></div></div><div><h3> Request samples </h3><div class="sc-hSdWYo cQGxPn" data-tabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="react-tabs__tab react-tabs__tab--selected" role="tab" id="react-tabs-50" aria-selected="true" aria-disabled="false" aria-controls="react-tabs-51" tabindex="0"> Payload </li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="react-tabs-51" aria-labelledby="react-tabs-50"><div><div class="sc-feJyhm gTvQkb">application/json</div><div><div class="sc-ktHwxA EWrFv"><div class="sc-cvbbAY ielVIU"><span><div class="sc-gGBfsJ hATwyF">Copy</div></span><span> Expand all </span><span> Collapse all </span></div><div class="sc-cIShpX cQbnUN"><div class="redoc-json"><div class="collapser"></div>{<span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property">"pet"</span>: <div class="collapser"></div>{<span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property">"category"</span>: <div class="collapser"></div>{<span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property">"name"</span>: <span class="type-string">"string"</span>,</div></li><li><div class="hoverable collapsed"><span class="property">"sub"</span>: <div class="collapser"></div>{<span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property">"prop1"</span>: <span class="type-string">"string"</span></div></li></ul>}</div></li></ul>},</div></li><li><div class="hoverable collapsed"><span class="property">"name"</span>: <span class="type-string">"Guru"</span>,</div></li><li><div class="hoverable collapsed"><span class="property">"photoUrls"</span>: <div class="collapser"></div>[<span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable collapsed"><span class="type-string">"string"</span></div></li></ul>],</div></li><li><div class="hoverable collapsed"><span class="property">"friend"</span>: { },</div></li><li><div class="hoverable collapsed"><span class="property">"tags"</span>: <div class="collapser"></div>[<span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable collapsed"><div class="collapser"></div>{<span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property">"name"</span>: <span class="type-string">"string"</span></div></li></ul>}</div></li></ul>],</div></li><li><div class="hoverable collapsed"><span class="property">"status"</span>: <span class="type-string">"available"</span>,</div></li><li><div class="hoverable collapsed"><span class="property">"petType"</span>: <span class="type-string">"string"</span></div></li></ul>},</div></li><li><div class="hoverable "><span class="property">"username"</span>: <span class="type-string">"John78"</span>,</div></li><li><div class="hoverable "><span class="property">"firstName"</span>: <span class="type-string">"John"</span>,</div></li><li><div class="hoverable "><span class="property">"lastName"</span>: <span class="
|
|||
|
</div></div><div><div><h5 class="sc-gZMcBi buVgxj">path<!-- --> Parameters</h5><table class="sc-kpOJdX ggTJpG"><tbody><tr class="last undefined"><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>username<div class="sc-hqyNC eyQVZA"> required </div></td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">string</span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>The name that needs to be deleted</p>
|
|||
|
</div></div></div></div></td></tr></tbody></table></div></div><div><h3 class="sc-elJkPf fqnLoc"> Responses </h3><div><div class="sc-jwKygS gzRrXM"><strong>400<!-- --> </strong><span class="sc-cMljjf ctAfPo redoc-markdown -dense -inline"><p>Invalid username supplied</p>
|
|||
|
</span></div></div><div><div class="sc-jwKygS gzRrXM"><strong>404<!-- --> </strong><span class="sc-cMljjf ctAfPo redoc-markdown -dense -inline"><p>User not found</p>
|
|||
|
</span></div></div></div></div><div class="sc-EHOje gajuhA"><div class="sc-eqIVtm cxwOot"><div class="sc-caSCKo kXMHkQ"><span class="sc-gisBJw http-verb delete cTcfuA" type="delete"> <!-- -->delete</span> <span class="sc-fAjcbJ iccZbs">/user/{username}</span><svg class="sc-VigVT jIswnA" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-kjoXOD jtThDR"><div class="sc-cHGsZl hPSqZA"><div>Default server</div><div><div class="sc-TOsTZ jqDDQj"><span>null//petstore.swagger.io/v2</span>/user/{username}</div></div></div><div class="sc-cHGsZl hPSqZA"><div>Sandbox server</div><div><div class="sc-TOsTZ jqDDQj"><span>null//petstore.swagger.io/sandbox</span>/user/{username}</div></div></div></div></div></div></div></div><div data-section-id="/paths/~1user~1createWithArray/post"><div class="sc-jtRfpW gyYFXv"><div class="sc-bxivhb fjKjLr"><h2 class="sc-dnqmqq gUwOOz"><a class="sc-gqjmRU ezDBgA" href="#operation/createUsersWithArrayInput"></a>Creates list of users with given input array<!-- --> </h2><div class="sc-cMljjf ctAfPo redoc-markdown"><div></div></div><div><div><h5 class="sc-gZMcBi buVgxj">Request Body schema: <span class="sc-iAyFgw erecPx">application/json</span></h5><div><div class="sc-eNQAEJ irTNxB"> Array </div><table class="sc-kpOJdX ggTJpG"><tbody><tr><td class="sc-kgAjT dfVEZZ"><span class="sc-kgoBCf dUapcv"></span>pet<svg class="sc-VigVT euEWDD" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">object or object</span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div></div></div></div></div></td></tr><tr><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>username</td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">string</span><span> <span class="sc-bbmXgH fRYbMb"> <!-- -->>= 4 characters<!-- --> </span></span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>User supplied username</p>
|
|||
|
</div></div></div></div></td></tr><tr><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>firstName</td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">string</span><span> <span class="sc-bbmXgH fRYbMb"> <!-- -->non-empty<!-- --> </span></span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>User first name</p>
|
|||
|
</div></div></div></div></td></tr><tr><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>lastName</td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">string</span><span> <span class="sc-bbmXgH fRYbMb"> <!-- -->non-empty<!-- --> </span></span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>User last name</p>
|
|||
|
</div></div></div></div></td></tr><tr><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>email</td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">string</span><span class="sc-hmzhuo fMaAjW"> <<!-- -->email<!-- -->></span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>User email address</p>
|
|||
|
</div></div></div></div></td></tr><tr><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>password</td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">string</span><span class="sc-hmzhuo fMaAjW"> <<!-- -->password<!-- -->></span><span> <span class="sc-bbmXgH fRYbMb"> <!-- -->>= 8 characters<!-- --> </span></span><span class="sc-jqCOkK egdWky">(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])</span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>User password, MUST contain a mix of upper and lower case letters, as well as digits</p>
|
|||
|
</div></div></div></div></td></tr><tr><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>phone</td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">string</span><span class="sc-dNLxif flyJhq"> Nullable </span><span class="sc-jqCOkK egdWky">^\+(?:[0-9]-?){6,14}[0-9]$</span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>User phone number in international format</p>
|
|||
|
</div></div></div></div></td></tr><tr class="last undefined"><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>userStatus</td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">integer</span><span class="sc-hmzhuo fMaAjW"> <<!-- -->int32<!-- -->></span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>User status</p>
|
|||
|
</div></div></div></div></td></tr></tbody></table><div class="sc-hMqMXs byNWen"></div></div></div></div><div><h3 class="sc-elJkPf fqnLoc"> Responses </h3><div><div class="sc-jwKygS cWpcsB"><strong>default<!-- --> </strong><span class="sc-cMljjf ctAfPo redoc-markdown -dense -inline"><p>successful operation</p>
|
|||
|
</span></div></div></div></div><div class="sc-EHOje gajuhA"><div class="sc-eqIVtm cxwOot"><div class="sc-caSCKo kXMHkQ"><span class="sc-gisBJw http-verb post gUIBfR" type="post"> <!-- -->post</span> <span class="sc-fAjcbJ iccZbs">/user/createWithArray</span><svg class="sc-VigVT jIswnA" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-kjoXOD jtThDR"><div class="sc-cHGsZl hPSqZA"><div>Default server</div><div><div class="sc-TOsTZ jqDDQj"><span>null//petstore.swagger.io/v2</span>/user/createWithArray</div></div></div><div class="sc-cHGsZl hPSqZA"><div>Sandbox server</div><div><div class="sc-TOsTZ jqDDQj"><span>null//petstore.swagger.io/sandbox</span>/user/createWithArray</div></div></div></div></div><div><h3> Request samples </h3><div class="sc-hSdWYo cQGxPn" data-tabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="react-tabs__tab react-tabs__tab--selected" role="tab" id="react-tabs-52" aria-selected="true" aria-disabled="false" aria-controls="react-tabs-53" tabindex="0"> Payload </li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="react-tabs-53" aria-labelledby="react-tabs-52"><div><div class="sc-feJyhm gTvQkb">application/json</div><div><div class="sc-ktHwxA EWrFv"><div class="sc-cvbbAY ielVIU"><span><div class="sc-gGBfsJ hATwyF">Copy</div></span><span> Expand all </span><span> Collapse all </span></div><div class="sc-cIShpX cQbnUN"><div class="redoc-json"><div class="collapser"></div>[<span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable "><div class="collapser"></div>{<span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property">"pet"</span>: <div class="collapser"></div>{<span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property">"category"</span>: <div class="collapser"></div>{<span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property">"name"</span>: <span class="type-string">"string"</span>,</div></li><li><div class="hoverable collapsed"><span class="property">"sub"</span>: <div class="collapser"></div>{<span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property">"prop1"</span>: <span class="type-string">"string"</span></div></li></ul>}</div></li></ul>},</div></li><li><div class="hoverable collapsed"><span class="property">"name"</span>: <span class="type-string">"Guru"</span>,</div></li><li><div class="hoverable collapsed"><span class="property">"photoUrls"</span>: <div class="collapser"></div>[<span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable collapsed"><span class="type-string">"string"</span></div></li></ul>],</div></li><li><div class="hoverable collapsed"><span class="property">"friend"</span>: { },</div></li><li><div class="hoverable collapsed"><span class="property">"tags"</span>: <div class="collapser"></div>[<span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable collapsed"><div class="collapser"></div>{<span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property">"name"</span>: <span class="type-string">"string"</span></div></li></ul>}</div></li></ul>],</div></li><li><div class="hoverable collapsed"><span class="property">"status"</span>: <span class="type-string">"available"</span>,</div></li><li><div class="hoverable collapsed"><span class="property">"petType"</span>: <span class="type-string">"string"</span></div></li></ul>},</div></li><li><div class="hoverable collapsed"><span class="property">"username"</span>: <span class="type-string">"John78"</span>,</div></li><li><div class="hoverable collapsed"><span class="property">"
|
|||
|
</div></div></div></div></td></tr><tr><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>firstName</td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">string</span><span> <span class="sc-bbmXgH fRYbMb"> <!-- -->non-empty<!-- --> </span></span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>User first name</p>
|
|||
|
</div></div></div></div></td></tr><tr><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>lastName</td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">string</span><span> <span class="sc-bbmXgH fRYbMb"> <!-- -->non-empty<!-- --> </span></span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>User last name</p>
|
|||
|
</div></div></div></div></td></tr><tr><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>email</td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">string</span><span class="sc-hmzhuo fMaAjW"> <<!-- -->email<!-- -->></span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>User email address</p>
|
|||
|
</div></div></div></div></td></tr><tr><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>password</td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">string</span><span class="sc-hmzhuo fMaAjW"> <<!-- -->password<!-- -->></span><span> <span class="sc-bbmXgH fRYbMb"> <!-- -->>= 8 characters<!-- --> </span></span><span class="sc-jqCOkK egdWky">(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])</span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>User password, MUST contain a mix of upper and lower case letters, as well as digits</p>
|
|||
|
</div></div></div></div></td></tr><tr><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>phone</td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">string</span><span class="sc-dNLxif flyJhq"> Nullable </span><span class="sc-jqCOkK egdWky">^\+(?:[0-9]-?){6,14}[0-9]$</span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>User phone number in international format</p>
|
|||
|
</div></div></div></div></td></tr><tr class="last undefined"><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>userStatus</td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">integer</span><span class="sc-hmzhuo fMaAjW"> <<!-- -->int32<!-- -->></span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>User status</p>
|
|||
|
</div></div></div></div></td></tr></tbody></table><div class="sc-hMqMXs byNWen"></div></div></div></div><div><h3 class="sc-elJkPf fqnLoc"> Responses </h3><div><div class="sc-jwKygS cWpcsB"><strong>default<!-- --> </strong><span class="sc-cMljjf ctAfPo redoc-markdown -dense -inline"><p>successful operation</p>
|
|||
|
</span></div></div></div></div><div class="sc-EHOje gajuhA"><div class="sc-eqIVtm cxwOot"><div class="sc-caSCKo kXMHkQ"><span class="sc-gisBJw http-verb post gUIBfR" type="post"> <!-- -->post</span> <span class="sc-fAjcbJ iccZbs">/user/createWithList</span><svg class="sc-VigVT jIswnA" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-kjoXOD jtThDR"><div class="sc-cHGsZl hPSqZA"><div>Default server</div><div><div class="sc-TOsTZ jqDDQj"><span>null//petstore.swagger.io/v2</span>/user/createWithList</div></div></div><div class="sc-cHGsZl hPSqZA"><div>Sandbox server</div><div><div class="sc-TOsTZ jqDDQj"><span>null//petstore.swagger.io/sandbox</span>/user/createWithList</div></div></div></div></div><div><h3> Request samples </h3><div class="sc-hSdWYo cQGxPn" data-tabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="react-tabs__tab react-tabs__tab--selected" role="tab" id="react-tabs-54" aria-selected="true" aria-disabled="false" aria-controls="react-tabs-55" tabindex="0"> Payload </li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="react-tabs-55" aria-labelledby="react-tabs-54"><div><div class="sc-feJyhm gTvQkb">application/json</div><div><div class="sc-ktHwxA EWrFv"><div class="sc-cvbbAY ielVIU"><span><div class="sc-gGBfsJ hATwyF">Copy</div></span><span> Expand all </span><span> Collapse all </span></div><div class="sc-cIShpX cQbnUN"><div class="redoc-json"><div class="collapser"></div>[<span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable "><div class="collapser"></div>{<span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property">"pet"</span>: <div class="collapser"></div>{<span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property">"category"</span>: <div class="collapser"></div>{<span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property">"name"</span>: <span class="type-string">"string"</span>,</div></li><li><div class="hoverable collapsed"><span class="property">"sub"</span>: <div class="collapser"></div>{<span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property">"prop1"</span>: <span class="type-string">"string"</span></div></li></ul>}</div></li></ul>},</div></li><li><div class="hoverable collapsed"><span class="property">"name"</span>: <span class="type-string">"Guru"</span>,</div></li><li><div class="hoverable collapsed"><span class="property">"photoUrls"</span>: <div class="collapser"></div>[<span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable collapsed"><span class="type-string">"string"</span></div></li></ul>],</div></li><li><div class="hoverable collapsed"><span class="property">"friend"</span>: { },</div></li><li><div class="hoverable collapsed"><span class="property">"tags"</span>: <div class="collapser"></div>[<span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable collapsed"><div class="collapser"></div>{<span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property">"name"</span>: <span class="type-string">"string"</span></div></li></ul>}</div></li></ul>],</div></li><li><div class="hoverable collapsed"><span class="property">"status"</span>: <span class="type-string">"available"</span>,</div></li><li><div class="hoverable collapsed"><span class="property">"petType"</span>: <span class="type-string">"string"</span></div></li></ul>},</div></li><li><div class="hoverable collapsed"><span class="property">"username"</span>: <span class="type-string">"John78"</span>,</div></li><li><div class="hoverable collapsed"><span class="property">"fir
|
|||
|
</div></div></div></div></td></tr><tr class="last undefined"><td class="sc-kAzzGY fpsLBr"><span class="sc-kgoBCf dUapcv"></span>password<div class="sc-hqyNC eyQVZA"> required </div></td><td class="sc-chPdSV kgFZmy"><div><div><span class="sc-ksYbfQ xSXkH"></span><span class="sc-hmzhuo fMaAjW">string</span></div> <div><div class="sc-cMljjf ctAfPo redoc-markdown -dense"><div><p>The password for login in clear text</p>
|
|||
|
</div></div></div></div></td></tr></tbody></table></div></div><div><h3 class="sc-elJkPf fqnLoc"> Responses </h3><div><div class="sc-jwKygS dhUdzU"><svg class="sc-VigVT gmEaFU" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong>200<!-- --> </strong><span class="sc-cMljjf ctAfPo redoc-markdown -dense -inline"><p>successful operation</p>
|
|||
|
</span></div></div><div><div class="sc-jwKygS gzRrXM"><strong>400<!-- --> </strong><span class="sc-cMljjf ctAfPo redoc-markdown -dense -inline"><p>Invalid username/password supplied</p>
|
|||
|
</span></div></div></div></div><div class="sc-EHOje gajuhA"><div class="sc-eqIVtm cxwOot"><div class="sc-caSCKo kXMHkQ"><span class="sc-gisBJw http-verb get jwhtSw" type="get"> <!-- -->get</span> <span class="sc-fAjcbJ iccZbs">/user/login</span><svg class="sc-VigVT jIswnA" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-kjoXOD jtThDR"><div class="sc-cHGsZl hPSqZA"><div>Default server</div><div><div class="sc-TOsTZ jqDDQj"><span>null//petstore.swagger.io/v2</span>/user/login</div></div></div><div class="sc-cHGsZl hPSqZA"><div>Sandbox server</div><div><div class="sc-TOsTZ jqDDQj"><span>null//petstore.swagger.io/sandbox</span>/user/login</div></div></div></div></div><div><h3> Response samples </h3><div class="sc-hSdWYo cQGxPn" data-tabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="react-tabs-56" aria-selected="true" aria-disabled="false" aria-controls="react-tabs-57" tabindex="0">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="react-tabs-57" aria-labelledby="react-tabs-56"><div><div class="Dropdown-root sc-iELTvK jTtHEZ"><div class="Dropdown-control "><div class="Dropdown-placeholder">application/json</div><span class="Dropdown-arrow"></span></div></div><div><div class="sc-ktHwxA EWrFv"><div class="sc-cvbbAY ielVIU"><span><div class="sc-gGBfsJ hATwyF">Copy</div></span><span> Expand all </span><span> Collapse all </span></div><div class="sc-cIShpX cQbnUN"><div class="redoc-json"><span class="type-string">"OK"</span></div></div></div></div></div></div></div></div></div></div></div><div data-section-id="/paths/~1user~1logout/get"><div class="sc-jtRfpW gyYFXv"><div class="sc-bxivhb fjKjLr"><h2 class="sc-dnqmqq gUwOOz"><a class="sc-gqjmRU ezDBgA" href="#operation/logoutUser"></a>Logs out current logged in user session<!-- --> </h2><div class="sc-cMljjf ctAfPo redoc-markdown"><div></div></div><div></div><div><h3 class="sc-elJkPf fqnLoc"> Responses </h3><div><div class="sc-jwKygS cWpcsB"><strong>default<!-- --> </strong><span class="sc-cMljjf ctAfPo redoc-markdown -dense -inline"><p>successful operation</p>
|
|||
|
</span></div></div></div></div><div class="sc-EHOje gajuhA"><div class="sc-eqIVtm cxwOot"><div class="sc-caSCKo kXMHkQ"><span class="sc-gisBJw http-verb get jwhtSw" type="get"> <!-- -->get</span> <span class="sc-fAjcbJ iccZbs">/user/logout</span><svg class="sc-VigVT jIswnA" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-kjoXOD jtThDR"><div class="sc-cHGsZl hPSqZA"><div>Default server</div><div><div class="sc-TOsTZ jqDDQj"><span>null//petstore.swagger.io/v2</span>/user/logout</div></div></div><div class="sc-cHGsZl hPSqZA"><div>Sandbox server</div><div><div class="sc-TOsTZ jqDDQj"><span>null//petstore.swagger.io/sandbox</span>/user/logout</div></div></div></div></div></div></div></div></div><div class="sc-kIPQKe cUCetm"></div></div></div>
|
|||
|
</body>
|
|||
|
</html>
|