{"version":3,"file":"js/documentation-1ebee01bfc03488a85f0.js","mappings":"iJA2BA,MAAMA,EAAgB,CACpBC,QAAS,QACTC,KAAM,CACJC,MAAO,kBACPC,QAAS,OAEXC,QAAS,CACP,CACEC,IAAK,6CACLC,YAAa,4BAEf,CACED,IAAK,gDACLC,YAAa,+CAEf,CACED,IAAK,wDACLC,YAAa,2DAGjBC,SAAU,CACR,CAAEC,WAAY,KAEhBC,MAAO,I,ilJAOPC,WAAY,CACVC,WAAY,I,oYAIZC,UAAW,I,2YAIXC,gBAAiB,I,udAIrBC,OAAOC,qBAAuB,MAC5BC,EAAAA,EAAAA,GAAU,CAAEC,OAAQ,iBAAkBC,KAAMnB,GAAgB,C","sources":["webpack://rendez-vous/./app/javascript/packs/documentation.js"],"sourcesContent":["/* eslint max-len:0 */\n\nimport 'core-js/stable'\nimport 'regenerator-runtime/runtime'\n\n// Libraries\nimport swaggerUI from 'swagger-ui'\nimport 'swagger-ui/dist/swagger-ui.css'\n\n// Paths\nimport login from '../documentation/paths/v1/login.json'\nimport refresh from '../documentation/paths/v1/refresh.json'\nimport appointments from '../documentation/paths/v1/appointments.json'\nimport recipients from '../documentation/paths/v1/recipients.json'\nimport services from '../documentation/paths/v1/services.json'\n\n// Parameters components\nimport offsetParam from '../documentation/components/parameters/offset.json'\nimport limitParam from '../documentation/components/parameters/limit.json'\n\n// Responses components\nimport unauthorized from '../documentation/components/responses/unauthorized.json'\nimport unprocessableEntity from '../documentation/components/responses/unprocessable_entity.json'\n\n// Security Schemes components\nimport bearerAuth from '../documentation/components/security_schemes/bearer_auth.json'\n\nconst specification = {\n openapi: '3.1.0',\n info: {\n title: 'Rendez-vous API',\n version: '2.0'\n },\n servers: [\n {\n url: 'https://rendez-vous.avis-locataire.com/api',\n description: 'Main (production) server'\n },\n {\n url: 'https://rendez-vou.lab.avis-locataire.com/api',\n description: 'Internal staging server for general testing'\n },\n {\n url: 'https://rendez-vous-mobile.lab.avis-locataire.com/api',\n description: 'Internal staging server for mobile application testing'\n }\n ],\n security: [\n { bearerAuth: [] }\n ],\n paths: {\n ...login,\n ...refresh,\n ...appointments,\n ...recipients,\n ...services\n },\n components: {\n parameters: {\n ...offsetParam,\n ...limitParam\n },\n responses: {\n ...unauthorized,\n ...unprocessableEntity\n },\n securitySchemes: { ...bearerAuth }\n }\n}\n\nwindow.swaggerDocumentation = () => {\n swaggerUI({ dom_id: '#documentation', spec: specification })\n}\n"],"names":["specification","openapi","info","title","version","servers","url","description","security","bearerAuth","paths","components","parameters","responses","securitySchemes","window","swaggerDocumentation","swaggerUI","dom_id","spec"],"sourceRoot":""}