{"action":"created","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/903","labels_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/903/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/903/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/903/events","html_url":"https://github.com/swagger-api/swagger-codegen/issues/903","id":90279743,"number":903,"title":"Generate Server > Spring MVC only generates the Model object","user":{"login":"mohsen1","id":543633,"avatar_url":"https://avatars.githubusercontent.com/u/543633?v=3","gravatar_id":"","url":"https://api.github.com/users/mohsen1","html_url":"https://github.com/mohsen1","followers_url":"https://api.github.com/users/mohsen1/followers","following_url":"https://api.github.com/users/mohsen1/following{/other_user}","gists_url":"https://api.github.com/users/mohsen1/gists{/gist_id}","starred_url":"https://api.github.com/users/mohsen1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mohsen1/subscriptions","organizations_url":"https://api.github.com/users/mohsen1/orgs","repos_url":"https://api.github.com/users/mohsen1/repos","events_url":"https://api.github.com/users/mohsen1/events{/privacy}","received_events_url":"https://api.github.com/users/mohsen1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-23T03:55:41Z","updated_at":"2015-06-23T05:22:59Z","closed_at":null,"body":"Moved from https://github.com/swagger-api/swagger-editor/issues/511\r\n\r\n\r\nGenerating a Spring MVC server only generates the model objects. \r\nLast week it generated a lot more for me. \r\nThe controllers, api and other plumbing code is not there anymore.\r\n\r\nHere is my swagger.yaml: \r\n\r\n````yaml\r\nswagger: '2.0'\r\ninfo:\r\n  title: Rakuten Card Linked Offer API\r\n  description: Give your customers the ability to link their credit cards to offers using the RCLON API\r\n  version: '1.0.0'\r\n  contact: \r\n    name: RCLON Affiliate Account Admin\r\n    email: rclon-admin@ebates.com\r\nhost: api.rclon.com\r\nschemes:\r\n  - https\r\nbasePath: /v1\r\nproduces:\r\n  - application/json\r\nconsumes:\r\n  - application/json\r\npaths:\r\n  /merchants:\r\n    post:\r\n      tags:\r\n        - Merchants\r\n      summary: Add a new merchant to the network\r\n      description: \"\"\r\n      operationId: addMerchant\r\n      parameters:\r\n        - in: body\r\n          name: body\r\n          description: Merchant object that needs to be added to the network\r\n          required: true\r\n          schema:\r\n            $ref: \"#/definitions/Merchant\"\r\n      responses:\r\n        \"200\":\r\n          description: Merchant added successfully\r\n        \"405\":\r\n          description: Invalid input\r\n    get: \r\n      parameters:\r\n        - name: merchantId\r\n          in: query\r\n          type: string\r\n          description: Filter by Merchant ID\r\n        - name: merchantName\r\n          in: query\r\n          type: string\r\n          description: Filter by Enterprise Name\r\n        - name: enterpriseName\r\n          in: query\r\n          type: string\r\n          description: Filter by Enterprise Name\r\n        - name: visaMerchantEnterpriseId\r\n          in: query\r\n          type: string\r\n          description: Filter by VISA Merchant Enterprise ID\r\n        - name: aquirerBin\r\n          in: query\r\n          type: string\r\n          description: Filter by Aquirer BIN\r\n        - name: acquirerMerchantId\r\n          in: query\r\n          type: string\r\n          description: Filter by Aquirer Merchant ID\r\n        - name: cardAcceptorId\r\n          in: query\r\n          type: string\r\n          description: Filter by Card Acceptor ID\r\n        - name: visaCommunityCode\r\n          in: query\r\n          type: string\r\n          description: Filter by Visa Community Code\r\n        - name: city\r\n          in: query\r\n          type: string\r\n          description: Filter by Merchant Address City\r\n        - name: state\r\n          in: query\r\n          type: string\r\n          description: Filter by Merchant Address State\r\n        - name: postalCode\r\n          in: query\r\n          type: string\r\n          description: Filter by Merchant Address Postal Code\r\n        - name: country\r\n          in: query\r\n          type: string\r\n          description: Filter by Merchant Address Country\r\n        - $ref: \"#/parameters/limitParam\"\r\n        - $ref: \"#/parameters/startingAfterParam\"\r\n        - $ref: \"#/parameters/endingBeforeParam\"\r\n        - $ref: \"#/parameters/sortByParam\"\r\n        - $ref: \"#/parameters/createdOnParam\"\r\n        - $ref: \"#/parameters/createdBeforeParam\"\r\n        - $ref: \"#/parameters/createdAfterParam\"\r\n      responses: \r\n        200:\r\n          description: List of events returned succesfully\r\n        405: \r\n          description: Invalid input\r\n  /merchants/id/{merchantId}:\r\n    put:\r\n      tags:\r\n        - Merchants\r\n      summary: Updats an existing merchant\r\n      description: \"\"\r\n      operationId: saveMerchant\r\n      parameters:\r\n        - name: merchantId\r\n          in: path\r\n          type: string\r\n          description: Unique identifier for the merchant\r\n          required: true\r\n        - name: body\r\n          in: body\r\n          description: The Merchant object state that you want to save\r\n          required: true\r\n          schema:\r\n            $ref: \"#/definitions/Merchant\"\r\n      responses:\r\n        \"200\":\r\n          description: Merchant updated successfully\r\n        \"405\":\r\n          description: Invalid input\r\n    patch: \r\n      tags:\r\n        - Merchants\r\n      summary: Updats an existing merchant by sending only the changed state rather than the entire merchant graph. Can be used for adding or removing stores without having to retreive the merchant object first.\r\n      description: \"\"\r\n      operationId: saveMerchant\r\n      parameters:\r\n        - name: merchantId\r\n          in: path\r\n          type: string\r\n          description: Unique identifier for the merchant\r\n          required: true\r\n        - name: body\r\n          in: body\r\n          description: The Merchant changes that you want to apply\r\n          required: true\r\n          schema:\r\n            $ref: \"#/definitions/Merchant\"\r\n      responses:\r\n        \"200\":\r\n          description: Merchant updated successfully\r\n        \"405\":\r\n          description: Invalid input\r\n    get: \r\n      tags:\r\n        - Merchants\r\n      summary: Retrieves a merchant by ID\r\n      description: \"\"\r\n      operationId: getMerchantById\r\n      parameters:\r\n        - name: merchantId\r\n          in: path\r\n          type: string\r\n          description: Unique identifier for the merchant\r\n          required: true\r\n        - $ref: \"#/parameters/fetchParam\"\r\n      responses:\r\n        \"200\":\r\n          description: Merchant retreived successfully\r\n        \"405\":\r\n          description: Invalid input\r\n  /offers:\r\n    post:\r\n      tags:\r\n        - Offers\r\n      summary: Add a new offer to the network\r\n      description: \"\"\r\n      operationId: addOffer\r\n      parameters:\r\n        - in: body\r\n          name: body\r\n          description: Offer object that needs to be added to the network\r\n          required: true\r\n          schema:\r\n            $ref: \"#/definitions/Offer\"\r\n      responses:\r\n        \"405\":\r\n          description: Invalid input\r\n    get: \r\n      tags:\r\n        - Offers\r\n      summary: Retrieve a list of offers in the network\r\n      operationId: getOffers\r\n      parameters:\r\n        - name: offerId\r\n          in: query\r\n          type: string\r\n          description: Filter by Offer ID\r\n        - name: visaOfferId\r\n          in: query\r\n          type: string\r\n          description: Filter by Visa Offer ID\r\n        - name: mcOfferId\r\n          in: query\r\n          type: string\r\n          description: Filter by Master Card Offer ID\r\n        - name: amexOfferId\r\n          in: query\r\n          type: string\r\n          description: Filter by American Express Offer ID\r\n        - name: lnOfferId\r\n          in: query\r\n          type: string\r\n          description: Filter by Linkable Networks Offer ID\r\n        - name: offerName\r\n          in: query\r\n          type: string\r\n          description: Filter by Offer Name\r\n        - name: offerType\r\n          in: query\r\n          type: string\r\n          description: Filter by Offer Type\r\n        - name: title\r\n          in: query\r\n          type: string\r\n          description: Filter by Offer Title\r\n        - name: status\r\n          in: query\r\n          type: string\r\n          description: Filter by Visa Offer Status\r\n        - name: merchantId\r\n          in: query\r\n          type: string\r\n          description: Filter by associated Merchant ID\r\n        - name: visaTemplateName\r\n          in: query\r\n          type: string\r\n          description: Filter by Visa Template Name\r\n        - name: awardFixed\r\n          in: query\r\n          type: number\r\n          format: double\r\n          description: Filter by Fixed Award Amount\r\n        - name: awardMax\r\n          in: query\r\n          type: number\r\n          format: double\r\n          description: Filter by the Max Award Amount\r\n        - name: awardPercent\r\n          in: query\r\n          type: string\r\n          description: Filter by Award Percentage\r\n        - name: redemptionStartDate\r\n          in: query\r\n          type: string\r\n          format: date-time\r\n          description: Filter by Redeption Start Date\r\n        - name: redemptionEndDate\r\n          in: query\r\n          type: string\r\n          format: date-time\r\n          description: Filter by Redeption End Date\r\n        - $ref: \"#/parameters/limitParam\"\r\n        - $ref: \"#/parameters/startingAfterParam\"\r\n        - $ref: \"#/parameters/endingBeforeParam\"\r\n        - $ref: \"#/parameters/sortByParam\"\r\n        - $ref: \"#/parameters/createdOnParam\"\r\n        - $ref: \"#/parameters/createdBeforeParam\"\r\n        - $ref: \"#/parameters/createdAfterParam\"\r\n      responses: \r\n        200:\r\n          description: List of offers returned succesfully\r\n        405: \r\n          description: Invalid input\r\n  /offers/id/{offerId}:\r\n    put:\r\n      tags:\r\n        - Offers\r\n      summary: Updats an existing offer\r\n      description: \"\"\r\n      operationId: saveOffer\r\n      parameters:\r\n        - name: offerId\r\n          in: path\r\n          type: string\r\n          description: Unique identifier for the offer\r\n          required: true\r\n        - in: body\r\n          name: body\r\n          description: The Offer object state that you want to save\r\n          required: true\r\n          schema:\r\n            $ref: \"#/definitions/Offer\"\r\n      responses:\r\n        \"200\":\r\n          description: Offer updated successfully\r\n        \"405\":\r\n          description: Invalid input\r\n    patch:\r\n        tags:\r\n          - Offers\r\n        summary: Updats an existing offer by passing only the changes you want to apply. Can be used to link an offer to a customer \r\n        description: \"\"\r\n        operationId: saveOffer\r\n        parameters:\r\n          - name: offerId\r\n            in: path\r\n            type: string\r\n            description: Unique identifier for the offer\r\n            required: true\r\n          - in: body\r\n            name: body\r\n            description: The Offer changes that you want to save\r\n            required: true\r\n            schema:\r\n              $ref: \"#/definitions/Offer\"\r\n        responses:\r\n          \"200\":\r\n            description: Offer updated successfully\r\n          \"405\":\r\n            description: Invalid input\r\n    get: \r\n      tags:\r\n        - Offers\r\n      summary: Retrieves an offer by ID\r\n      description: \"\"\r\n      operationId: getOfferById\r\n      parameters:\r\n        - name: offerId\r\n          in: path\r\n          type: string\r\n          description: Unique RCLON identifier for the offer\r\n          required: true\r\n      responses:\r\n        \"200\":\r\n          description: Offer retrieved successfully\r\n        \"405\":\r\n          description: Invalid input\r\n  /customers:\r\n    post:\r\n      tags:\r\n        - Customers\r\n      summary: Adds and enrolls a new customer to the network\r\n      description: \"\"\r\n      operationId: addCustomer\r\n      parameters:\r\n        - in: body\r\n          name: body\r\n          description: Customer object that needs to be added to the network\r\n          required: true\r\n          schema:\r\n            $ref: \"#/definitions/Customer\"\r\n      responses:\r\n        \"405\":\r\n          description: Invalid input\r\n    get: \r\n      tags:\r\n        - Customers\r\n      summary: Retrieve a list of customers in the network\r\n      operationId: getCustomers\r\n      parameters:\r\n        - name: customerId\r\n          in: query\r\n          type: string\r\n          description: Filter by Customer ID\r\n        - name: firstName\r\n          in: query\r\n          type: string\r\n          description: Filter by First Name\r\n        - name: lastName\r\n          in: query\r\n          type: string\r\n          description: Filter by Last Name\r\n        - name: visaProfileId\r\n          in: query\r\n          type: string\r\n          description: Filter by Visa Profile Name\r\n        - name: membershipNumber\r\n          in: query\r\n          type: string\r\n          description: Filter by Membership Number\r\n        - name: promoCode\r\n          in: query\r\n          type: string\r\n          description: Filter by Promo Code\r\n        - name: referrerId\r\n          in: query\r\n          type: string\r\n          description: Filter by Referrer ID\r\n        - name: email\r\n          in: query\r\n          type: string\r\n          description: Filter by Email\r\n        - name: phone\r\n          in: query\r\n          type: string\r\n          description: Filter by Phone\r\n        - name: isEmailPreferred\r\n          in: query\r\n          type: string\r\n          description: Filter by Customer's that prefer to be contacted by email\r\n        - name: isSMSPreferred\r\n          in: query\r\n          type: string\r\n          description: Filter by Customer's that prefer to be contacted by text message\r\n        - name: visaUserKey\r\n          in: query\r\n          type: number\r\n          description: Filter by Visa User Key\r\n        - name: visaEnrolled\r\n          in: query\r\n          type: boolean\r\n          description: Filter by customers that are enrolled to Visa's Offer Platform\r\n        - name: mcEnrolled\r\n          in: query\r\n          type: boolean\r\n          description: Filter by customers that are enrolled to MasterCards's Offer Platform\r\n        - name: amexEnrolled\r\n          in: query\r\n          type: boolean\r\n          description: Filter by customers that are enrolled to American Express' Offer Platform\r\n        - name: lnEnrolled\r\n          in: query\r\n          type: boolean\r\n          description: Filter by customers that are enrolled to Linkable Networks\r\n        - name: publisherVaultId\r\n          in: query\r\n          type: string\r\n          description: Find a customer using the publisher's card vault ID\r\n        - name: linkedOfferId\r\n          in: query\r\n          type: string\r\n          description: Find customers that are linked to a particular offer\r\n        - name: redeemedOfferId\r\n          in: query\r\n          type: string\r\n          description: Find customers that have redeemed a particular offer\r\n        - name: eventId\r\n          in: query\r\n          type: string\r\n          description: Find customers are associated to a particular event\r\n        - $ref: \"#/parameters/limitParam\"\r\n        - $ref: \"#/parameters/startingAfterParam\"\r\n        - $ref: \"#/parameters/endingBeforeParam\"\r\n        - $ref: \"#/parameters/sortByParam\"\r\n        - $ref: \"#/parameters/createdOnParam\"\r\n        - $ref: \"#/parameters/createdBeforeParam\"\r\n        - $ref: \"#/parameters/createdAfterParam\"\r\n      responses: \r\n        200:\r\n          description: List of events returned succesfully\r\n        405: \r\n          description: Invalid input  \r\n  /customers/id/{customerId}:\r\n    put:\r\n      tags:\r\n        - Customers\r\n      summary: Updates an existing customer\r\n      description: \"\"\r\n      operationId: saveCustomer\r\n      parameters:\r\n        - name: customerId\r\n          in: path\r\n          type: string\r\n          description: Unique RCLON identifier for the customer\r\n          required: true\r\n        - in: body\r\n          name: body\r\n          description: The Customer object state you want to save\r\n          required: true\r\n          schema:\r\n            $ref: \"#/definitions/Customer\"\r\n      responses:\r\n        \"200\":\r\n          description: Customer updated successfully\r\n        \"405\":\r\n          description: Invalid input\r\n    patch:\r\n      tags:\r\n        - Customers\r\n      summary: Updats an existing customer by passing only a change object\r\n      description: \"\"\r\n      operationId: saveCustomer\r\n      parameters:\r\n        - name: customerId\r\n          in: path\r\n          type: string\r\n          description: Unique RCLON identifier for the customer\r\n          required: true\r\n        - in: body\r\n          name: body\r\n          description: The Customer changes you want to apply\r\n          required: true\r\n          schema:\r\n            $ref: \"#/definitions/Customer\"\r\n      responses:\r\n        \"200\":\r\n          description: Customer updated successfully\r\n        \"405\":\r\n          description: Invalid input\r\n    get: \r\n      tags:\r\n        - Customers\r\n      summary: Retrieves a customer by ID\r\n      description: \"\"\r\n      operationId: getCustomerById\r\n      consumes:\r\n        - application/json\r\n        - application/xml\r\n      produces:\r\n        - application/json\r\n        - application/xml\r\n      parameters:\r\n        - name: customerId\r\n          in: path\r\n          type: string\r\n          description: Unique identifier for the customer\r\n          required: true\r\n      responses:\r\n        \"200\":\r\n          description: Customer retreived successfully\r\n        \"405\":\r\n          description: Invalid input\r\n  /events/customerId/{customerId}:\r\n    get:\r\n      tags: \r\n        - Events\r\n      summary: Retrieves a list of events for a given customer\r\n      description: \"\"\r\n      operationId: getEvents\r\n      parameters: \r\n        - name: customerId\r\n          in: path\r\n          type: string\r\n          description: You must specify which customer's events you want to retrieve\r\n          required: true\r\n        - name: eventType\r\n          in: query\r\n          type: string\r\n          description: Filter by Event Type. Possible values are cardauthevent, cardsettlementevent, offertimeoutevent\r\n        - $ref: \"#/parameters/limitParam\"\r\n        - $ref: \"#/parameters/startingAfterParam\"\r\n        - $ref: \"#/parameters/endingBeforeParam\"\r\n        - $ref: \"#/parameters/sortByParam\"\r\n        - $ref: \"#/parameters/createdOnParam\"\r\n        - $ref: \"#/parameters/createdBeforeParam\"\r\n        - $ref: \"#/parameters/createdAfterParam\"\r\n      responses: \r\n        200:\r\n          description: List of events returned succesfully\r\n        405: \r\n          description: Invalid input\r\n  /events/{cardAssociationCode}/type/{eventType}:\r\n    get:\r\n      operationId: getEvents\r\n      parameters:\r\n        - name: cardAssociationCode\r\n          in: path\r\n          type: string\r\n          description: The card network that published the event. Possible values are visa, mc, amex, ln\r\n          required: true\r\n        - name: eventType\r\n          in: path\r\n          type: string\r\n          description: The type of event. Possible values are cardauthevent, cardsettlementevent, offertimeoutevent\r\n          required: true\r\n        - name: merchantId\r\n          in: query\r\n          type: number\r\n          description: Filter by Merchant ID\r\n        - name: merchantStoreId\r\n          in: query\r\n          type: number\r\n          description: Filter by Merchant Store ID\r\n        - $ref: \"#/parameters/limitParam\"\r\n        - $ref: \"#/parameters/startingAfterParam\"\r\n        - $ref: \"#/parameters/endingBeforeParam\"\r\n        - $ref: \"#/parameters/sortByParam\"\r\n        - $ref: \"#/parameters/createdOnParam\"\r\n        - $ref: \"#/parameters/createdBeforeParam\"\r\n        - $ref: \"#/parameters/createdAfterParam\"\r\n      responses: \r\n        200:\r\n          description: List of events returned succesfully\r\n        405: \r\n          description: Invalid input\r\n  /events/id/{eventId}:\r\n    get:\r\n      operationId: getEventById\r\n      parameters:\r\n        - name: eventId\r\n          in: path\r\n          type: string\r\n          description: Unique RCLON identifier for the event\r\n          required: true\r\n        - $ref: \"#/parameters/limitParam\"\r\n        - $ref: \"#/parameters/startingAfterParam\"\r\n        - $ref: \"#/parameters/endingBeforeParam\"\r\n        - $ref: \"#/parameters/sortByParam\"\r\n        - $ref: \"#/parameters/createdOnParam\"\r\n        - $ref: \"#/parameters/createdBeforeParam\"\r\n        - $ref: \"#/parameters/createdAfterParam\"\r\n      responses: \r\n        200:\r\n          description: Events object returned succesfully\r\n  /events/{cardAssociationCode}/type/{eventType}/id/{eventId}:\r\n    get: \r\n      operationId: getEventByAssociationId\r\n      parameters:\r\n        - name: cardAssociationCode\r\n          in: path\r\n          type: string\r\n          description: The card network that published the event. Possible values are visa, mc, amex, ln\r\n          required: true\r\n        - name: eventType\r\n          in: path\r\n          type: string\r\n          description: The type of event. Possible values are cardauthevent, cardsettlementevent, offertimeoutevent\r\n          required: true\r\n        - name: eventId\r\n          in: path\r\n          type: string\r\n          description: The unique identifier as specified by the card association.\r\n          required: true\r\n        - $ref: \"#/parameters/limitParam\"\r\n        - $ref: \"#/parameters/startingAfterParam\"\r\n        - $ref: \"#/parameters/endingBeforeParam\"\r\n        - $ref: \"#/parameters/sortByParam\"\r\n        - $ref: \"#/parameters/createdOnParam\"\r\n        - $ref: \"#/parameters/createdBeforeParam\"\r\n        - $ref: \"#/parameters/createdAfterParam\"\r\n      responses: \r\n        200:\r\n          description: List of events returned succesfully\r\n        405: \r\n          description: Invalid input\r\ndefinitions:\r\n  Customer:\r\n    required:\r\n      - customerId\r\n      - firstName\r\n      - lastName\r\n    properties:\r\n      customerId:\r\n        type: integer\r\n        format: int32\r\n        example: '1'\r\n      firstName:\r\n        type: string\r\n        example: sample firstName\r\n      lastName:\r\n        type: string\r\n        example: sample lastName\r\n      visaProfileId:\r\n        type: string\r\n        example: sample visaProfileId\r\n      memberShipNumber:\r\n        type: string\r\n        example: sample membershipNumber\r\n      promoCode:\r\n        type: string\r\n        example: sample promoCode\r\n      referrerId:\r\n        type: string\r\n        example: sample referrerId\r\n      email:\r\n        type: string\r\n        example: sample email\r\n      phone:\r\n        type: string\r\n        example: sample phone\r\n      isEmailPreferred:\r\n        type: boolean\r\n        example: 'false'\r\n      isSMSPreferred:\r\n        type: boolean\r\n        example: 'false'\r\n      visaUserKey:\r\n        type: string\r\n        example: 234231-21342\r\n      visaEnrolled:\r\n        type: boolean\r\n        example: 'false'\r\n      mcEnrolled:\r\n        type: boolean\r\n        example: 'false'\r\n      amexEnrolled:\r\n        type: boolean\r\n        example: 'false'\r\n      lnEnrolled:\r\n        type: boolean\r\n        example: 'false'\r\n      cards:\r\n       type: array\r\n       items:\r\n        $ref: \"#/definitions/PaymentCard\"\r\n      authorizedOffers:\r\n        type: array\r\n        items:\r\n          $ref: \"#/definitions/CustomerAuthorizedOffer\"\r\n    description: \"A Customer is the end-user of a Publisher's website or mobile app. Customers enter their credit card payment information and can link offers to their credit cards to earn cash back on in-store purchases.\"\r\n    example: '{\"customerId\":1,\"firstName\":\"sample firstName\",\"lastName\":\"sample lastName\",\"visaProfileId\":\"sample visaProfileId\",\"memberShipNumber\":\"sample memberShipNumber\",\"promoCode\":\"sample promoCode\",\"referrerId\":\"sample referrerId\",\"email\":\"sample email\",\"phone\":\"sample phone\",\"isEmailPreferred\":false,\"isSMSPreferred\":false,\"visaUserKey\":\"sample visaUserKey\",\"visaEnrolled\":false,\"mcEnrolled\":false,\"lnEnrolled\":false}'\r\n  PaymentCard:\r\n    properties:\r\n      publisherVaultId:\r\n        type: string\r\n        example: sample uscVaultId\r\n      cardType:\r\n        type: string\r\n        example: VISA\r\n      visaCardId:\r\n        type: string\r\n        example: sample visaCardId\r\n      cardNumber:\r\n        type: string\r\n        example: sample cardNumber\r\n      visaProfileId:\r\n        type: string\r\n        example: sample visaProfileId\r\n      contacts:\r\n        type: array\r\n        items:\r\n          $ref: '#/definitions/CardHolderContact'\r\n      cvv2:\r\n        type: integer\r\n        format: int32\r\n        example: '1'\r\n      expMonth:\r\n        type: integer\r\n        format: int32\r\n        example: '1'\r\n    example: '{\"uscVaultId\":\"sample uscVaultId\",\"cardType\":\"VISA\",\"visaCardId\":\"sample visaCardId\",\"cardNumber\":\"sample cardNumber\",\"visaProfileId\":\"sample visaProfileId\",\"contacts\":[],\"cvv2\":1,\"expMonth\":1}'\r\n  MerchantStore:\r\n    required:\r\n      - merchantId\r\n      - storeId\r\n    properties:\r\n      merchantId:\r\n        type: integer\r\n        format: int32\r\n        example: '1'\r\n      storeId:\r\n        type: string\r\n        example: sample storeId\r\n      visaStoreId:\r\n        type: string\r\n        example: sample visaStoreId\r\n      storeName:\r\n        type: string\r\n        example: sample storeName\r\n    description: A MerchantStore is a physical redeeming location that honors an offer.\r\n    example: '{\"merchantId\":1,\"storeId\":\"sample storeId\",\"visaStoreId\":\"sample visaStoreId\",\"storeName\":\"sample storeName\"}'\r\n  Merchant:\r\n    required:\r\n      - enterpriseName\r\n    properties:\r\n      merchantId:\r\n        type: integer\r\n        format: int32\r\n        example: '1'\r\n        description: RCLON Merchant Identifier\r\n      enterpriseAddress:\r\n        $ref: '#/definitions/MerchantEnterpriseAddress'\r\n      enterpriseName:\r\n        type: string\r\n        example: sample enterpriseName\r\n      visaFranchiseId:\r\n        type: string\r\n        example: sample visaFranchiseId\r\n      visaMerchantId:\r\n        type: string\r\n        example: sample visaMerchantId\r\n      visaMerchantName:\r\n        type: string\r\n        example: sample visaMerchantName\r\n      visaMerchantEnterpriseId:\r\n        type: string\r\n        example: sample visaMerchantEnterpriseId\r\n      aquirerBin:\r\n        type: string\r\n        example: sample aquirerBin\r\n      acquirerMerchantId:\r\n        type: string\r\n        example: sample acquirerMerchantId\r\n      cardAcceptorId:\r\n        type: string\r\n        example: sample cardAcceptorId\r\n      visaCommunityCode:\r\n        type: string\r\n        example: sample visaCommunityCode\r\n      stores:\r\n        type: array\r\n        items:\r\n          $ref: '#/definitions/MerchantStore'\r\n    description: 'A merchant is a business entity who sells commodities in order to earn a profit. In RCLON, they can manage offers that customers can link their credit cards to.'\r\n    example: '{\"merchantId\":1,\"enterpriseAddress\":null,\"enterpriseName\":\"sample enterpriseName\",\"visaFranchiseId\":\"sample visaFranchiseId\",\"visaMerchantId\":\"sample visaMerchantId\",\"visaMerchantName\":\"sample visaMerchantName\",\"visaMerchantEnterpriseId\":\"sample visaMerchantEnterpriseId\",\"aquirerBin\":\"sample aquirerBin\",\"acquirerMerchantId\":\"sample acquirerMerchantId\",\"cardAcceptorId\":\"sample cardAcceptorId\",\"visaCommunityCode\":\"sample visaCommunityCode\",\"stores\":[]}'\r\n  CardHolderContact:\r\n    properties:\r\n      contactId:\r\n        type: integer\r\n        format: int32\r\n        example: '1'\r\n        description: Generated ID\r\n      confirmationCode:\r\n        type: string\r\n        example: sample confirmationCode\r\n      visaContactType:\r\n        type: string\r\n        example: sample visaContactType\r\n      verified:\r\n        type: string\r\n        example: sample verified\r\n      countryCode:\r\n        type: string\r\n        example: sample countryCode\r\n    example: '{\"contactId\":1,\"confirmationCode\":\"sample confirmationCode\",\"visaContactType\":\"sample visaContactType\",\"verified\":\"sample verified\",\"countryCode\":\"sample countryCode\"}'\r\n  MerchantEnterpriseAddress:\r\n    required:\r\n      - line1\r\n      - addressName\r\n      - city\r\n      - country\r\n      - state\r\n    properties:\r\n      addressName:\r\n        type: string\r\n        example: Executive Office\r\n      line1:\r\n        type: string\r\n        example: 101 1st. St\r\n      line2:\r\n        type: string\r\n        example: Unit 201\r\n      city:\r\n        type: string\r\n        example: San Diego\r\n      state:\r\n        type: string\r\n        example: CA\r\n      postalCode:\r\n        type: string\r\n        example: '92091'\r\n      country:\r\n        type: string\r\n        example: USA\r\n    example: '{\"addressName\":\"Executive Office\",\"addressLine1\":\"101 1st. St\",\"addressLine2\":\"Unit 201\",\"country\":\"USA\",\"city\":\"San Diego\",\"state\":\"CA\",\"postalCode\":\"92091\"}'\r\n  Offer:\r\n    required:\r\n      - merchant\r\n      - offerId\r\n      - offerName\r\n      - offerType\r\n      - redemptionStartDate\r\n      - redeptionEndDate\r\n      - status\r\n      - title\r\n    properties:\r\n      offerId:\r\n        type: integer\r\n        format: int32\r\n        example: '1'\r\n      visaOfferId:\r\n        type: string\r\n        example: sample visaOfferId\r\n      lsOfferId:\r\n        type: string\r\n        example: sample lsOfferId\r\n      mcOfferId:\r\n        type: string\r\n        example: sample mcOfferId\r\n      amexOfferId:\r\n        type: string\r\n        example: sample amexOfferId\r\n      offerName:\r\n        type: string\r\n        example: sample offerName\r\n      title:\r\n        type: string\r\n        example: sample title\r\n      status:\r\n        type: string\r\n        example: sample status\r\n      merchant:\r\n        $ref: '#/definitions/Merchant'\r\n      visaTemplateName:\r\n        type: string\r\n        example: sample visaTemplateName\r\n      awardFixed:\r\n        type: number\r\n        format: double\r\n        example: '5.99'\r\n      awardMax:\r\n        type: number\r\n        format: double\r\n        example: '99.99'\r\n      awardPercent:\r\n        type: number\r\n        format: double\r\n        example: '23.54'\r\n      redemptionStartDate:\r\n        type: string\r\n        format: date\r\n        example: '1434831820328'\r\n      redeptionEndDate:\r\n        type: string\r\n        format: date\r\n        example: '1466406000000'\r\n      offerType:\r\n        type: string\r\n        example: sample offerType\r\n    description: An Offer is a merchants way of providing their commodities to customers with a discount incentive.\r\n    example: '{\"offerId\":1,\"visaOfferId\":\"sample visaOfferId\",\"lsOfferId\":\"sample lsOfferId\",\"mcOfferId\":\"sample mcOfferId\",\"amexOfferId\":\"sample amexOfferId\",\"offerName\":\"sample offerName\",\"title\":\"sample title\",\"status\":\"sample status\",\"merchant\":null,\"visaTemplateName\":\"sample visaTemplateName\",\"awardFixed\":5.99,\"awardMax\":99.99,\"awardPercent\":23.54,\"redemptionStartDate\":1434831820328,\"redeptionEndDate\":1466406000000,\"offerType\":\"sample offerType\"}'\r\n  CustomerAuthorizedOffer: \r\n    required:\r\n      - offerId\r\n      - customerId\r\n    properties:\r\n      offerId:\r\n        type: integer\r\n        format: int32\r\n        example: '1'\r\n      customerId:\r\n        type: integer\r\n        format: int32\r\n        example: '1'\r\nparameters: \r\n  limitParam:\r\n    name: limit\r\n    in: query\r\n    description: Pagination parameter that limits the number of returned results\r\n    required: false\r\n    type: number\r\n    format: int32\r\n  startingAfterParam:\r\n    name: startingAfter\r\n    in: query\r\n    description: Pagination parameter that tells the system which record to start the fetch cursor\r\n    required: false\r\n    type: number\r\n    format: int32\r\n  endingBeforeParam:\r\n    name: endingBefore\r\n    in: query\r\n    description: Pagination parameter that tells the system when to end the fetch cursor\r\n    required: false\r\n    type: number\r\n    format: int32\r\n  fetchParam:\r\n    name: fetch\r\n    in: query\r\n    description: Tells the system to also return the objects child collection  \r\n    type: string\r\n  createdOnParam:\r\n    name: createdOn\r\n    in: query\r\n    description: Filter to return only records that were created on a certain date and time \r\n    type: string\r\n    format: date-time\r\n  createdBeforeParam:\r\n    name: createdBefore\r\n    in: query\r\n    description: Filter to return only records that were created BEFORE a certain date and time\r\n    type: string\r\n    format: date-time\r\n  createdAfterParam:\r\n    name: createdAfter\r\n    in: query\r\n    description: Filter to return only records that were created AFTER a certain date \r\n    type: string\r\n    format: date-time\r\n  sortByParam:\r\n    name: sortBy\r\n    in: query\r\n    type: string\r\n    description: Field Name and Sort Direction settings when returning a list. Each sortBy field/direction pair is seperated by comma.\r\n````"},"comment":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/comments/114362561","html_url":"https://github.com/swagger-api/swagger-codegen/issues/903#issuecomment-114362561","issue_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/903","id":114362561,"user":{"login":"cosbor11","id":4424093,"avatar_url":"https://avatars.githubusercontent.com/u/4424093?v=3","gravatar_id":"","url":"https://api.github.com/users/cosbor11","html_url":"https://github.com/cosbor11","followers_url":"https://api.github.com/users/cosbor11/followers","following_url":"https://api.github.com/users/cosbor11/following{/other_user}","gists_url":"https://api.github.com/users/cosbor11/gists{/gist_id}","starred_url":"https://api.github.com/users/cosbor11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cosbor11/subscriptions","organizations_url":"https://api.github.com/users/cosbor11/orgs","repos_url":"https://api.github.com/users/cosbor11/repos","events_url":"https://api.github.com/users/cosbor11/events{/privacy}","received_events_url":"https://api.github.com/users/cosbor11/received_events","type":"User","site_admin":false},"created_at":"2015-06-23T05:22:58Z","updated_at":"2015-06-23T05:22:58Z","body":"swagger-codegen works fine; just not working from swagger-editor"}}