< Summary

Information
Class: /home/wethinkcode/student_work/csharp/GroupProject/super-cool-group/weshare-qa/GeneratedApiCode/src/Applications.WeShare.Swagger/Client/OpenAPIDateConverter.cs
Assembly: Default
File(s): /home/wethinkcode/student_work/csharp/GroupProject/super-cool-group/weshare-qa/GeneratedApiCode/src/Applications.WeShare.Swagger/Client/OpenAPIDateConverter.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 4
Coverable lines: 4
Total lines: 29
Line coverage: 0%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

File(s)

/home/wethinkcode/student_work/csharp/GroupProject/super-cool-group/weshare-qa/GeneratedApiCode/src/Applications.WeShare.Swagger/Client/OpenAPIDateConverter.cs

#LineLine coverage
 1/*
 2 * WeShare API
 3 *
 4 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 5 *
 6 * The version of the OpenAPI document: 1.0
 7 * Generated by: https://github.com/openapitools/openapi-generator.git
 8 */
 9
 10using Newtonsoft.Json.Converters;
 11
 12namespace Applications.WeShare.Swagger.Client
 13{
 14    /// <summary>
 15    /// Formatter for 'date' openapi formats ss defined by full-date - RFC3339
 16    /// see https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#data-types
 17    /// </summary>
 18    public class OpenAPIDateConverter : IsoDateTimeConverter
 19    {
 20        /// <summary>
 21        /// Initializes a new instance of the <see cref="OpenAPIDateConverter" /> class.
 22        /// </summary>
 023        public OpenAPIDateConverter()
 024        {
 25            // full-date   = date-fullyear "-" date-month "-" date-mday
 026            DateTimeFormat = "yyyy-MM-dd";
 027        }
 28    }
 29}