Skip to content

Instantly share code, notes, and snippets.

@justinedelson
justinedelson / MyModelTest.java
Last active November 6, 2017 18:49
corrected model test for Jose
package com.myproject.models;
import static org.junit.Assert.*;
import org.apache.sling.api.resource.Resource;
import org.apache.sling.testing.mock.sling.servlet.MockSlingHttpServletRequest;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
@justinedelson
justinedelson / 2233.diff
Created March 25, 2020 15:46
change from #2233
Only in 4.4.2/ui.apps/META-INF/vault: nodetypes.cnd
Only in 4.4.2/ui.apps/META-INF/vault: privileges.xml
diff -r 4.4.2/ui.apps/META-INF/vault/properties.xml 4.4.3-SNAPSHOT/ui.apps/META-INF/vault/properties.xml
5c5
< <entry key="createdBy">brobert</entry>
---
> <entry key="createdBy">jedelson</entry>
8c8
< <entry key="created">2020-02-28T22:54:19.507-0800</entry>
---
@justinedelson
justinedelson / swagger.yaml
Last active September 27, 2021 13:44
Issue reproducing no descriptions on properties with referenced schemas
swagger: '2.0'
info:
description: This is a simple API
version: 1.0.0
title: Simple API
# tags are used for organizing operations
tags:
- name: admins
description: Secured Admin-only calls