M api.go +1 -4
@@ 2,12 2,9 @@
// Use of this source code is governed by a BSD-Simple
// license that can be found in the LICENSE.txt file.
-/* Swagger API model
- * https://github.com/wordnik/swagger-spec/blob/master/versions/1.2.md#52-api-declaration
- * Author: Sean E. Russell
- */
package sashay
+// https://github.com/wordnik/swagger-spec/blob/master/versions/1.2.md#52-api-declaration
type ApiDecl struct {
SwaggerVersion string
ApiVersion string
M delete.go +0 -3
@@ 2,9 2,6 @@
// Use of this source code is governed by a BSD-Simple
// license that can be found in the LICENSE.txt file.
-/* Generates DELETE function code
- * Author: Sean E. Russell
- */
package sashay
func genDelete(api Api, op Operation, out chan string) {
M generator.go +0 -3
@@ 2,9 2,6 @@
// Use of this source code is governed by a BSD-Simple
// license that can be found in the LICENSE.txt file.
-/* Top-level generation functions
- * Author: Sean E. Russell
- */
package sashay
import (
M get.go +0 -3
@@ 2,9 2,6 @@
// Use of this source code is governed by a BSD-Simple
// license that can be found in the LICENSE.txt file.
-/* Code generator functions for GET requests
- * Author: Sean E. Russell
- */
package sashay
import (
M patch.go +2 -3
@@ 2,14 2,13 @@
// Use of this source code is governed by a BSD-Simple
// license that can be found in the LICENSE.txt file.
+package sashay
+
/* Code generator functions for PATCH requests
* *Note* that this does not implement http://tools.ietf.org/html/rfc5789 or
* (especially) any of http://tools.ietf.org/html/draft-pbryan-json-patch-04.
* But that's OK, because neither does go-restful.
- * Author: Sean E. Russell
*/
-package sashay
-
func genPatch(api Api, op Operation, out chan string) {
genPostBase(api, op, out)
}
M post.go +0 -3
@@ 2,9 2,6 @@
// Use of this source code is governed by a BSD-Simple
// license that can be found in the LICENSE.txt file.
-/* Code generator functions for POST requests
- * Author: Sean E. Russell
- */
package sashay
import (
M put.go +0 -3
@@ 2,9 2,6 @@
// Use of this source code is governed by a BSD-Simple
// license that can be found in the LICENSE.txt file.
-/* Code generator functions for PUT requests
- * Author: Sean E. Russell
- */
package sashay
func genPut(api Api, op Operation, out chan string) {
M resource_listing.go +1 -4
@@ 2,12 2,9 @@
// Use of this source code is governed by a BSD-Simple
// license that can be found in the LICENSE.txt file.
-/* Swagger Resource Listing model
- * https://github.com/wordnik/swagger-spec/blob/master/versions/1.2.md#51-resource-listing
- * Author: Sean E. Russell
- */
package sashay
+// https://github.com/wordnik/swagger-spec/blob/master/versions/1.2.md#51-resource-listing
type ResourceListing struct {
Info Info
Authorizations map[string]Authorization
M util.go +0 -3
@@ 2,9 2,6 @@
// Use of this source code is governed by a BSD-Simple
// license that can be found in the LICENSE.txt file.
-/* Sashay utility functions
- * Author: Sean E. Russell
- */
package sashay
import (