My Cities API
    My Cities API
    • Cities
      • create
        POST
      • getAll
        GET
      • getById
        GET
      • getCityBuildings
        GET
      • update
        PUT
      • delete
        DELETE
    • Buildings
      • findAll
        GET
      • create
        POST
      • findById
        GET
      • update
        PUT
      • delete
        DELETE
    • BuildingController
      • addPhotos
        POST
      • deletePhoto
        DELETE
    • CityController
      • getById
        GET
      • update
        PUT
    • Schemas
      • CityDto
      • MapString
      • Address
      • BuildingDto
      • GpsCoordinates
      • BuildingUpdateDto
      • CityUpdateDto

    BuildingDto

    com.domozone.mycities.building.dto.BuildingDto

    {
        "id": 0,
        "name": "string",
        "architectureType": "HOUSE",
        "architecturalElements": {},
        "address": {
            "street": "string",
            "postalCode": "string"
        },
        "gpsCoordinates": {
            "lat": 0,
            "lon": 0
        },
        "photos": [
            "string"
        ],
        "cityId": 0
    }
    Built with