This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Linq; | |
using System.Text; | |
namespace Asseco.MiscUtils | |
{ | |
/* | |
* Based on Firebase ids but modified for shorter ids and base62 alphabet | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
background-color: rgba(30,30,30,1); | |
color: rgba(212,212,212,1); | |
font-size: 14px; | |
white-space: pre !important; | |
font-family: "Roboto Mono", "Source Code Pro", Menlo, "Ubuntu Mono", Monaco, Consolas, Courier, monospace; | |
padding: 30px 30px 20px; | |
} | |
.property { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.DirectoryServices.AccountManagement; | |
using System.Linq; | |
using System.Security.Claims; | |
using System.Threading.Tasks; | |
using Thinktecture.IdentityServer.Core; | |
using Thinktecture.IdentityServer.Core.Models; | |
using Thinktecture.IdentityServer.Core.Services; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Text; | |
using System.IO; | |
using Newtonsoft.Json; | |
using NodaTime; | |
using NodaTime.Serialization.JsonNet; | |
namespace FormattingUtils | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace Asseco.Rest.Models | |
{ | |
[DataContract] | |
public partial class EventRecord | |
{ | |
[JsonExtensionData] | |
internal Dictionary<string, object> udf; | |
public EventRecord(string EventKind = default(string)) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Newtonsoft.Json.Serialization; | |
namespace Asseco.JsonUtils | |
{ | |
public class KebabCaseResolver : DefaultContractResolver | |
{ | |
private Regex regex = new Regex("(?<!^)((?<=[a-zA-Z0-9])[A-Z][a-z])|((?<=[a-z])[A-Z])", RegexOptions.Compiled); | |
protected override string ResolvePropertyName(string propertyName) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Text; | |
using Newtonsoft.Json.Serialization; | |
namespace Asseco.JsonUtils | |
{ | |
// Adapted from SnakeCaseNamingStrategy from Newtonsoft.Json library | |
public class KebabCaseNamingStrategy : NamingStrategy | |
{ | |
const char HYPHEN = '-'; | |
const char UNDERSCORE = '_'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
using Microsoft.AspNetCore.Mvc; | |
using System.IO; | |
namespace Asseco.Content.Controllers | |
{ | |
[Route("api/v1/content/")] | |
public class FolderController : Controller | |
{ | |
private JsonResult GetFileByPath(string repo, string folder, string file) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
swagger: '2.0' | |
info: | |
version: '1.0.0' | |
title: PSD2 XS2A API | |
description: Uniform, interoperable and PSD2 compliant Access to Account interface | |
license: | |
name: MIT | |
url: http://github.com/gruntjs/grunt/blob/master/LICENSE-MIT | |
contact: | |
name: Aleksandar Milosevic |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openapi: 3.0.1 | |
info: | |
title: BG PSD2 API | |
version: "1.2" | |
description: | | |
# Summary | |
The **NextGenPSD2** *Framework Version 1.2* offers a modern, open, harmonised and interoperable set of | |
Application Programming Interfaces (APIs) as the safest and most efficient way to provide data securely. | |
The NextGenPSD2 Framework reduces XS2A complexity and costs, addresses the problem of multiple competing standards | |
in Europe and, aligned with the goals of the Euro Retail Payments Board, |
OlderNewer