Skip to content

Commit

Permalink
move comment in encoder.mustache
Browse files Browse the repository at this point in the history
  • Loading branch information
taxpon committed Aug 31, 2017
1 parent a3e7f63 commit acc4f8c
Show file tree
Hide file tree
Showing 46 changed files with 4,250 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/*
import { QueryEncoder } from "@angular/http";

/**
* CustomQueryEncoderHelper
* Fix plus sign (+) not encoding, so sent as blank space
* See: https://github.com/angular/angular/issues/11058#issuecomment-247367318
*/
import { QueryEncoder } from "@angular/http";

export class CustomQueryEncoderHelper extends QueryEncoder {
encodeKey(k: string): string {
k = super.encodeKey(k);
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import { Http, Headers } from '@angular/http';
import { Response } from '@angular/http';
import { Observable } from 'rxjs/Observable';
import 'rxjs/add/operator/map';
import * as models from '../model/models';
import { Configuration } from '../configuration';
export declare class PetApi {
protected http: Http;
protected basePath: string;
defaultHeaders: Headers;
configuration: Configuration;
constructor(http: Http, basePath: string, configuration: Configuration);
addPet(body: models.Pet, extraHttpRequestParams?: any): Observable<{}>;
deletePet(petId: number, apiKey?: string, extraHttpRequestParams?: any): Observable<{}>;
findPetsByStatus(status: Array<string>, extraHttpRequestParams?: any): Observable<Array<models.Pet>>;
findPetsByTags(tags: Array<string>, extraHttpRequestParams?: any): Observable<Array<models.Pet>>;
getPetById(petId: number, extraHttpRequestParams?: any): Observable<models.Pet>;
updatePet(body: models.Pet, extraHttpRequestParams?: any): Observable<{}>;
updatePetWithForm(petId: number, name?: string, status?: string, extraHttpRequestParams?: any): Observable<{}>;
uploadFile(petId: number, additionalMetadata?: string, file?: any, extraHttpRequestParams?: any): Observable<models.ApiResponse>;
addPetWithHttpInfo(body: models.Pet, extraHttpRequestParams?: any): Observable<Response>;
deletePetWithHttpInfo(petId: number, apiKey?: string, extraHttpRequestParams?: any): Observable<Response>;
findPetsByStatusWithHttpInfo(status: Array<string>, extraHttpRequestParams?: any): Observable<Response>;
findPetsByTagsWithHttpInfo(tags: Array<string>, extraHttpRequestParams?: any): Observable<Response>;
getPetByIdWithHttpInfo(petId: number, extraHttpRequestParams?: any): Observable<Response>;
updatePetWithHttpInfo(body: models.Pet, extraHttpRequestParams?: any): Observable<Response>;
updatePetWithFormWithHttpInfo(petId: number, name?: string, status?: string, extraHttpRequestParams?: any): Observable<Response>;
uploadFileWithHttpInfo(petId: number, additionalMetadata?: string, file?: any, extraHttpRequestParams?: any): Observable<Response>;
}
Loading

0 comments on commit acc4f8c

Please sign in to comment.