Skip to content

codebarista-de/shopware-model

Repository files navigation

Shopware Model

License: MIT Maven Central

Auto-generated Java model classes for the Shopware Store API, providing type-safe access to Shopware's data structures.

Installation

Maven

<dependency>
    <groupId>de.codebarista</groupId>
    <artifactId>shopware-model</artifactId>
    <version>1.1.0</version>
</dependency>

Gradle

implementation 'de.codebarista:shopware-model:1.1.0'

Package Structure

Core Package

de.codebarista.shopware.model.core

Contains auto-generated model classes from Shopware's OpenAPI specification with minimal modifications. These classes provide direct mapping to Shopware's Store API entities.

Extension Package

de.codebarista.shopware.model.extension

Contains additional utility classes and extensions that have proven useful in real-world Shopware integrations. These are manually crafted classes that complement the generated models.

Usage

// Core generated models

import de.codebarista.shopware.model.core.*;

Product product=new Product();
        Category category=new Category();

// Extension utilities
import de.codebarista.shopware.model.extension.*;
// ... additional helper classes

Generated from OpenAPI

The core package contains model classes generated from Shopware's official OpenAPI 3 specification (version 6.5.7.3), ensuring compatibility with the Shopware Store API.

Dependencies

  • Jakarta Annotations API
  • Jackson Databind Nullable (optional)

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Auto-generated Java model classes for the Shopware Store API

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages