""" Options: Date: 2024-12-03 18:25:43 Version: 8.23 Tip: To override a DTO option, remove "#" prefix before updating BaseUrl: https://api.bokamera.se #GlobalNamespace: #AddServiceStackTypes: True #AddResponseStatus: False #AddImplicitVersion: #AddDescriptionAsComments: True IncludeTypes: ApiVersionQuery.* #ExcludeTypes: #DefaultImports: datetime,decimal,marshmallow.fields:*,servicestack:*,typing:*,dataclasses:dataclass/field,dataclasses_json:dataclass_json/LetterCase/Undefined/config,enum:Enum/IntEnum #DataClass: #DataClassJson: """ import datetime import decimal from marshmallow.fields import * from servicestack import * from typing import * from dataclasses import dataclass, field from dataclasses_json import dataclass_json, LetterCase, Undefined, config from enum import Enum, IntEnum @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class ApiVersionQueryResponse: build_time: datetime.datetime = datetime.datetime(1, 1, 1) """ Timestamp when this API was built """ sha: Optional[str] = None """ The revision id from which the API was built """ informational_version: Optional[str] = None """ Full version information regarding the current running assemblies of the api """ sem_ver: Optional[str] = None """ The semantic version number of the current running api version, see www.semver.org for more information """ response_status: Optional[ResponseStatus] = None # @Route("/version", "GET") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class ApiVersionQuery(IReturn[ApiVersionQueryResponse]): pass